Conquering the STM32F4 on the discovery board step-by-step. Commit history is tutorialesque, but not clean of course.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
heck 4bec07fefb Toolchain: add .clang-format / .clang-tidy 2 years ago
.settings MX Change, add LED_GREEN (and make it blink) 2 years ago
Core MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago
Drivers MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago
Middlewares/ST/STM32_USB_Device_Library MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago
USB_DEVICE MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago
.clang-format Toolchain: add .clang-format / .clang-tidy 2 years ago
.clang-tidy Toolchain: add .clang-format / .clang-tidy 2 years ago
.cproject MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago
.gitignore Build: Fix the linker bug file in CMakeLists_template.txt 2 years ago
.mxproject MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago
.project init from CUBE c++ project raw 407 no peripherals configured 2 years ago
CMakeLists_template.txt Build: Fix the linker bug file in CMakeLists_template.txt 2 years ago
Makefile Build: Makefile add clean 2 years ago
README.md doc 2 years ago
STM32F407VGTX_FLASH.ld init from CUBE c++ project raw 407 no peripherals configured 2 years ago
STM32F407VGTX_RAM.ld init from CUBE c++ project raw 407 no peripherals configured 2 years ago
raw407cxx Debug.launch MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago
raw407cxx.ioc MX: set clock to 168MHz / enable USB as device only as serial port, send "hello heck". works. 2 years ago

README.md

The CMake linker line is broken, put this into link.txt /opt/local/bin/arm-none-eabi-gcc -g -Wl,-gc-sections,--print-memory-usage,-Map=/Users/heck/src/STM32CubeIDE/workspace1/raw407cxx/cmake-build-debug/raw407cxx.map -mcpu=cortex-m4 -mthumb -mthumb-interwork -T /Users/heck/src/STM32CubeIDE/workspace1/raw407cxx/STM32F407VGTX_FLASH.ld CMakeFiles/raw407cxx.elf.dir/Core/Src/main.c.obj CMakeFiles/raw407cxx.elf.dir/Core/Src/stm32f4xx_hal_msp.c.obj CMakeFiles/raw407cxx.elf.dir/Core/Src/stm32f4xx_it.c.obj CMakeFiles/raw407cxx.elf.dir/Core/Src/syscalls.c.obj CMakeFiles/raw407cxx.elf.dir/Core/Src/sysmem.c.obj CMakeFiles/raw407cxx.elf.dir/Core/Src/system_stm32f4xx.c.obj CMakeFiles/raw407cxx.elf.dir/Core/Startup/startup_stm32f407vgtx.s.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c.obj CMakeFiles/raw407cxx.elf.dir/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c.obj -o raw407cxx.elf NOT needed anymore, tentative fix in CMakeLists_template.txt