Skip to content

Commit

Permalink
Update stm32.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Paciente8159 committed Oct 17, 2022
1 parent 9f1e477 commit 50bef8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uCNC/src/hal/boards/stm32/stm32.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
[common_stm32]
platform = ststm32
; debug with st-link
upload_protocol = cmsis-dap
; upload_protocol = cmsis-dap
platform_packages = platformio/tool-openocd
debug_build_flags = -Og -g3 -ggdb3 -gdwarf-2
debug_init_cmds =
target extended-remote $DEBUG_PORT
load
monitor reset init
build_flags = ${common.build_flags} -D HAL_TIM_MODULE_DISABLED -D HAL_EXTI_MODULE_DISABLED -D HAL_UART_MODULE_ONLY -D FRAMEWORK_CLOCKS_INIT -D DISABLE_ALL_CONTROLS
build_flags = ${common.build_flags} -D HAL_TIM_MODULE_DISABLED -D HAL_EXTI_MODULE_DISABLED -D HAL_UART_MODULE_ONLY -D FRAMEWORK_CLOCKS_INIT

[env:bluepill_f103c8]
extends = common_stm32
Expand Down Expand Up @@ -41,7 +41,7 @@ upload_flags = -c set CPUTAPID 0x2ba01477
[env:blackpill_f401cc]
extends = common_stm32
board = blackpill_f401cc
build_flags = ${common_stm32.build_flags} -D BOARD=BOARD_BLACKPILL -D INTERFACE=0
build_flags = ${common_stm32.build_flags} -D BOARD=BOARD_BLACKPILL -D INTERFACE=1

[env:mks_robin_nano_v1_2]
extends = common_stm32
Expand Down

0 comments on commit 50bef8e

Please sign in to comment.