File tree Expand file tree Collapse file tree 6 files changed +56
-1
lines changed
feather_stm32f405_express
sparkfun_stm32_thing_plus Expand file tree Collapse file tree 6 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 5252 if : inputs.toolchain != 'esp-idf'
5353 run : |
5454 if [[ ${{ inputs.build-system }} == cmake ]]; then
55- cmake -B build -G Ninja -DBOARD=${{ matrix.board }} ports/${{ inputs.port }}
55+ cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel - DBOARD=${{ matrix.board }} ports/${{ inputs.port }}
5656 cmake --build build
5757 else
5858 make -C ports/${{ inputs.port }} BOARD=${{ matrix.board }} all self-update copy-artifact
Original file line number Diff line number Diff line change 1+ set (JLINK_DEVICE stm32f405rg)
2+
3+ function (update_board TARGET )
4+ target_sources (${TARGET} PUBLIC
5+ ${ST_CMSIS} /Source /Templates/gcc/startup_stm32f405xx.s
6+ )
7+ target_compile_definitions (${TARGET} PUBLIC
8+ STM32F405xx
9+ HSE_VALUE=12000000U
10+ )
11+ endfunction ()
Original file line number Diff line number Diff line change 1+ set (JLINK_DEVICE stm32f405rg)
2+
3+ function (update_board TARGET )
4+ target_sources (${TARGET} PUBLIC
5+ ${ST_CMSIS} /Source /Templates/gcc/startup_stm32f405xx.s
6+ )
7+ target_compile_definitions (${TARGET} PUBLIC
8+ STM32F405xx
9+ HSE_VALUE=12000000U
10+ )
11+ endfunction ()
Original file line number Diff line number Diff line change 1+ set (JLINK_DEVICE stm32f405rg)
2+
3+ function (update_board TARGET )
4+ target_sources (${TARGET} PUBLIC
5+ ${ST_CMSIS} /Source /Templates/gcc/startup_stm32f405xx.s
6+ )
7+ target_compile_definitions (${TARGET} PUBLIC
8+ STM32F405xx
9+ HSE_VALUE=12000000U
10+ )
11+ endfunction ()
Original file line number Diff line number Diff line change 1+ set (JLINK_DEVICE stm32f411ce)
2+
3+ function (update_board TARGET )
4+ target_sources (${TARGET} PUBLIC
5+ ${ST_CMSIS} /Source /Templates/gcc/startup_stm32f411xe.s
6+ )
7+ target_compile_definitions (${TARGET} PUBLIC
8+ STM32F411xE
9+ HSE_VALUE=25000000U
10+ )
11+ endfunction ()
Original file line number Diff line number Diff line change 1+ set (JLINK_DEVICE stm32f401cc)
2+
3+ function (update_board TARGET )
4+ target_sources (${TARGET} PUBLIC
5+ ${ST_CMSIS} /Source /Templates/gcc/startup_stm32f401xc.s
6+ )
7+ target_compile_definitions (${TARGET} PUBLIC
8+ STM32F401xC
9+ HSE_VALUE=25000000U
10+ )
11+ endfunction ()
You can’t perform that action at this time.
0 commit comments