Skip to content

Commit 54a3fcc

Browse files
authored
Remove make file targets related to flashing via stm32flash/dfu-util: (#24)
Firmware is loaded via bit-banged SWD from inside IMX8, see openocy_script-imx_gpio.cfg.
1 parent 8fb6a44 commit 54a3fcc

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Makefile

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ AS = $(CROSS_COMPILE)gcc
2020
OBJCOPY = $(CROSS_COMPILE)objcopy
2121
SIZE = $(CROSS_COMPILE)size
2222

23-
FLASH = stm32flash
24-
FLASHFLAGS = --reset --format ihex
25-
BOOTLOADER = dfu-util
26-
BOOTLOADER_FLAGS = -a 0 -s 0x08000000:leave
27-
2823
LINKER_SCRIPT = linker/STM32H747AIIX_FLASH.ld
2924

3025
CFLAGS = -O2 -Wall -Werror -pedantic -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -std=gnu11 -g3 -ffunction-sections -fdata-sections -fstack-usage
@@ -227,13 +222,3 @@ $(BUILDDIR)/%.o: %.s
227222
$(MKDEP)
228223

229224
-include $(OBJS:.o=.d)
230-
231-
# ----- Programming and device control ----------------------------------------
232-
233-
.PHONY: load boot
234-
235-
load: $(NAME).hex
236-
$(FLASH) $(FLASHFLAGS) write $(NAME).hex
237-
238-
boot: $(NAME).bin
239-
$(BOOTLOADER) $(BOOTLOADER_FLAGS) -D $(NAME).bin

0 commit comments

Comments
 (0)