[En-Nut-Discussion] branches\devnut_m3n and STM32F2 devices

Henrik Maier hmnews at proconx.com
Fri Dec 2 18:32:33 CET 2011


Hi STM32 developers,

Finally I have a STM3220G-EVAL board on my desk and started playing with 
the current STM32 port of Nut/OS.

Toolchain is yagarto-20110429 and I managed to compile Nut/OS for the 
stm3210e-eval board. The next step will be to port the current driver 
set across from the STM32F1xx CPUs to STM32F2xx.

This is not as straightforward as I hoped as ST uses a different 
standard peripheral library for the STM32F2xx devices and not all 
peripherals are compatible between the F1 and F2 series (Reference: 
AN3427 Migrating a microcontroller application
from STM32F1 to STM32F2 series)

What I thought I do for now is to create an new subdir under 
branches\devnut_m3n\arch\cm3\dev called stm32f2 which temporarily holds 
the drivers I ported across from the stm directory. Once that becomes 
all stable and working I can work with the other STM32F1 developers to 
maybe merge those files into one driver set suitable for F1, F2 and 
maybe even F4 devices. I like to avoid as much code duplication as possible.

Cheers

Henrik



More information about the En-Nut-Discussion mailing list