Fix iMX and zero_w build extension

This commit is contained in:
Scott Shawcroft 2022-01-06 10:24:02 -08:00
parent 2a2f94df15
commit fa272f5a70
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
2 changed files with 4 additions and 1 deletions

View File

@ -156,7 +156,7 @@ SRC_C += \
boards/$(BOARD)/flash_config.c \
boards/$(BOARD)/pins.c \
fatfs_port.c \
lib/tinyusb/src/portable/nxp/transdimension/dcd_transdimension.c \
lib/tinyusb/src/portable/chipidea/ci_hs/dcd_ci_hs.c \
mphalport.c \
peripherals/mimxrt10xx/$(CHIP_FAMILY)/clocks.c \
peripherals/mimxrt10xx/$(CHIP_FAMILY)/periph.c \

View File

@ -32,6 +32,7 @@ DFU = ("dfu",)
BIN_DFU = ("bin", "dfu")
COMBINED_HEX = ("combined.hex",)
KERNEL8_IMG = ("disk.img.zip", "kernel8.img")
KERNEL_IMG = ("disk.img.zip", "kernel.img")
# Default extensions
extension_by_port = {
@ -70,6 +71,8 @@ extension_by_board = {
# esp32c3
"ai_thinker_esp32-c3s": BIN,
"microdev_micro_c3": BIN,
# broadcom
"raspberrypi_zero_w": KERNEL_IMG,
}
language_allow_list = set(