From: Nathan Hartman <hartman.nat...@gmail.com>
Sent: Wednesday, April 15, 2020 7:07 AM

>How do you know whether the IP is the same? By which, I mean: Is there a
> better way than to study both datasheets and manually look for differences?

Unfortunately that is the only really reliable way. Sometimes there are very 
minor differences like switching some bits in single peripheral register even 
when the IP blocks otherwise are the same.

>> STM32L1 is supported in that directory and, in that case, I think it was
>> a mistake.  The L1 is far too different from the other members supported
>> there (F1, F2, F3, F4).  If I had it to do over, I would put L1, F1+F3,
>> and L2+L4 in three directories.  That is, I admit, my fault.  I did all
>> of those ports (at least initially) except for the L1.
>
> It might be worthwhile to refactor that, if it will make supporting other
> P/Ns easier and simplify the code. I haven't studied it in detail yet but
> as I get further into this, I'll keep that possibility in mind.

I agree STM32L1 in stm32 directory is a mistake, but I think it is too late to 
really refactor it. Nobody is using it for new designs anymore, has not for 
many years , so it is only kept for existing users. I hope both F1 and L1 could 
be retired in say five to ten years. L2 does not exist and L0, L1 and L4 are 
too different  to really fit together (for any pair of the three). I assume 
F2+F4 was intended, don't know how compatible they are.

Best Regards,
   Juha

Reply via email to