chore: sdk compiles almost w/o warnings?
This commit is contained in:
11
Makefile
11
Makefile
@@ -16,7 +16,7 @@ ifneq ($(OTA_IDX),2)
|
||||
endif
|
||||
endif
|
||||
|
||||
FLASH_ADDRESS := $(if $(OTA_IDX),0x80000,0x0B000)
|
||||
FLASH_ADDRESS := $(if $(OTA_IDX),0x0B000,0x80000)
|
||||
FLASH_FILE := $(BIN_DIR)/image2_all_ota$(OTA_IDX).bin
|
||||
|
||||
.PHONY: all
|
||||
@@ -47,6 +47,15 @@ flash:
|
||||
-c 'reset run' \
|
||||
-c 'shutdown'
|
||||
|
||||
flash_boot:
|
||||
@$(OPENOCD_BASE) \
|
||||
-c 'rtl8710_flash_auto_erase 1' \
|
||||
-c 'rtl8710_flash_auto_verify 1' \
|
||||
-c 'rtl8710_flash_write $(BUILD_DIR)/boot/boot_all.bin 0' \
|
||||
-c 'rtl8710_reboot' \
|
||||
-c 'reset run' \
|
||||
-c 'shutdown'
|
||||
|
||||
# flasher targets
|
||||
.PHONY: rtl-test rtl-mac rtl-dump rtl-full-erase rtl-restore rtl-restore-nae rtl-verify rtl-reset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user