It looks like that STM32F7508-DK board is supported (STM32F7508-DK — PlatformIO latest documentation). I customized cmis-blink
example (given here http://github.com/platformio/platform/raw/master/examples/cmsis-blink/platformio.ini) and ran pio run
but ran into the following:
[dilawars@chutki cmsis-blink (develop)]$ pio run
Processing disco_f750n8 (platform: ststm32; board: disco_f750n8; framework: cmsis)
-----------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/disco_f750n8.html
PLATFORM: ST STM32 (11.0.0) > STM32F7508-DK
HARDWARE: STM32F750N8H6 216MHz, 340KB RAM, 64KB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, cmsis-dap, jlink)
PACKAGES:
- framework-cmsis 2.50501.200527 (5.5.1)
- framework-cmsis-stm32f7 1.2.5
- tool-ldscripts-ststm32 0.1.0
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio/build/disco_f750n8/FrameworkCMSIS/gcc/startup_stm32f750xx.o
Compiling .pio/build/disco_f750n8/FrameworkCMSIS/system_stm32f7xx.o
Compiling .pio/build/disco_f750n8/src/main.o
src/main.c: In function 'main':
src/main.c:107:5: error: 'ENABLE_GPIO_CLOCK' undeclared (first use in this function)
ENABLE_GPIO_CLOCK; // enable the clock to GPIO
^~~~~~~~~~~~~~~~~
src/main.c:107:5: note: each undeclared identifier is reported only once for each function it appears in
src/main.c:108:5: error: 'LEDPORT' undeclared (first use in this function)
LEDPORT->_MODER |= GPIOMODER; // set pins to be general purpose output
^~~~~~~
src/main.c:108:24: error: 'GPIOMODER' undeclared (first use in this function)
LEDPORT->_MODER |= GPIOMODER; // set pins to be general purpose output
^~~~~~~~~
src/main.c:111:25: error: 'LED1' undeclared (first use in this function)
LEDPORT->ODR ^= (1<<LED1); // toggle diodes
^~~~
*** [.pio/build/disco_f750n8/src/main.o] Error 1
My platformio.ini
is following
[env:disco_f750n8]
platform = ststm32
board = disco_f750n8
framework = cmsis
Any pointers?
best,
Dilawar