1 OCD
= @echo
"set OCD in project makefile"
3 OCD-jlink
:= openocd
-f interface
/jlink.cfg
-f target
/stm32f7x.cfg
4 OCD-vsllink
:= openocd
-f interface
/vsllink.cfg
-c
"transport select jtag" -f target
/stm32f7x.cfg
5 OCD-arm-usb-ocd
:= openocd
-f interface
/ftdi
/olimex-arm-usb-ocd.cfg
-f target
/stm32f7x.cfg
6 OCD-stlink
:= openocd
-f interface
/stlink-v2.cfg
-c
"transport select hla_swd" -f target
/stm32f7x.cfg
7 OCD-discovery
:= openocd
-f board
/stm32f7discovery.cfg
8 OCD-nucleo
:= openocd
-f interface
/stlink-v2-1.cfg
-c
"transport select hla_swd" -f target
/stm32f7x.cfg
10 OCD_RESET
= $(OCD
) -c init
-c
"reset run" -c shutdown
11 OCD_FLASH
= $(OCD
) -c init
-c
"reset halt" \
12 -c
"flash write_image erase "$(BIN
)" 0x08000000" \
16 OCD_ZFLASH
= $(OCD
) -c init
-c
"reset halt" \
17 -c
"flash write_image erase "$(BINZ
)" $(ZSTRT)" \
21 OCD_FFLASH
= $(OCD
) -c init
-c
"reset halt" \
22 -c
"flash write_image erase "$(BIN
)" $(FSTRT)" \
26 #OCD_GDB = $(OCD) -c "{stm32f7x}.cpu configure -rtos auto;"