[libopenstm32-devel] STM32L support
Status: Inactive
Brought to you by:
uh1763
From: Marko K. <ma...@el...> - 2011-09-17 11:31:54
|
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 |