Use the right openocd version
This commit is contained in:
Родитель
3978011d18
Коммит
c10c94afca
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
S=STM32CubeG0/openocd
|
S=stm32/STM32CubeG0/openocd
|
||||||
case `uname -s` in
|
case `uname -s` in
|
||||||
Darwin* )
|
Darwin* )
|
||||||
P=$S/macOS/openocd
|
P=$S/macOS/openocd
|
||||||
|
|
|
@ -2,7 +2,8 @@ SERIES = F0
|
||||||
CFLAGS += -mcpu=cortex-m0
|
CFLAGS += -mcpu=cortex-m0
|
||||||
|
|
||||||
#OPENOCD = openocd -f interface/stlink-v2-1.cfg -f target/stm32f0x.cfg
|
#OPENOCD = openocd -f interface/stlink-v2-1.cfg -f target/stm32f0x.cfg
|
||||||
OPENOCD = ./scripts/openocd -s ./scripts -f cmsis-dap.cfg -f stm32f0x.cfg
|
#OPENOCD = ./scripts/openocd -s ./scripts -f cmsis-dap.cfg -f stm32f0x.cfg
|
||||||
|
OPENOCD = openocd -f interface/cmsis-dap.cfg -f target/stm32f0x.cfg
|
||||||
|
|
||||||
HALPREF = $(DRV)/STM32F0xx_HAL_Driver/Src
|
HALPREF = $(DRV)/STM32F0xx_HAL_Driver/Src
|
||||||
HALSRC = \
|
HALSRC = \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче