Hi, I was wondering if there's been any work on supporting the STM32L
device family?
Looking at the migration guide, it doesn't look too different but some
parts are.
From a quick look - a lot of peripherals are the same, some are
backwards compatible but have new features, however others need work.
Looks like RCC, ADC, RTC, flash and GPIO have changed enough to not be
compatible.
Now, what is the best way to add support? Should it be split out so that
under /include/libopencm3/ there would be:
stm32/ (common)
stm32f/
stm32l/
As opposed to the current, only stm32.
Or is it better to stick support for both in the individual include
files, and have a makefile define the MCU type or so..?
thanks,
mark
|