QUERY · ISSUE
STM32F765 support
port-stm32
I would like to add support for STM32F765. Linker script and alternative functions for STM32F765 are compatible with STM32F767 (which is already supported in ports/stm32/boards/stm32f767{.ld,_af.csv}).
How should I add support for STM32F765: copy and rename files or create symbolic links to stm32f767{.ld,_af.csv}?
CANDIDATE · PULL REQUEST
Minimal integration of STM32F429I-disco kit
Intent
With this pull request I would like to add minimal support for the STM32F429I-Discovery kit of STM. USB-CDC and USB-MSC interface works but there is no support for the on board sensors and the LCD.
Changes in stmhal subfolder
- flash.c: Added definitions for stm32f429 which has slightly more flash. Added calculation of flash table directly from table instead using a hard coded value and therby remove a magic constant.
- storage.c: Added defintition for stm32f429 as copy of STM32F405xx configuration.
- usbd_conf.c: Added USB setup for stm32f429 as copy of stm32f405/7 but on the USB_OTG_HS instance. The formatting of the code does not follow micropythons C Code conventions with respect to braces. I just did the minimal changes. Further the line endings are changed to unix style.
- boards/stm32f429_af.csv: Alternate pin function defines for stm32f429.
- boards/stm32f429.ld: Linkerscript for stm32f429.
- boards/STM32F429DISC/: Board defintions files for STM32F429i-Disco kit.
Changes in tools subfolder
- build-stm-latest.sh: Added build of new platform.