chore: sdk compiles almost w/o warnings?

This commit is contained in:
2024-12-17 03:13:08 +06:00
parent 31efbc726f
commit 7c7b36a6b3
55 changed files with 658 additions and 514 deletions

View File

@@ -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