Skip to content

Commit 2589515

Browse files
authored
Merge pull request #4435 from jepler/metro-m7
Fixes for Metro M7
2 parents e3c54b0 + 0b22a93 commit 2589515

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

ports/mimxrt10xx/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ SRC_SDK := \
146146
system_$(CHIP_FAMILY).c \
147147

148148
SRC_SDK := $(addprefix sdk/devices/$(CHIP_FAMILY)/, $(SRC_SDK))
149+
$(addprefix $(BUILD)/, $(SRC_SDK:.c=.o)): CFLAGS += -Wno-undef
149150

150151
SRC_C += \
151152
background.c \

ports/mimxrt10xx/boards/metro_m7_1011/mpconfigboard.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
USB_VID = 0x239A
22
USB_PID = 0x80E2
3-
USB_PRODUCT = "Metro M7 1011"
3+
USB_PRODUCT = "Metro M7 iMX RT1011"
44
USB_MANUFACTURER = "Adafruit"
55

66
CHIP_VARIANT = MIMXRT1011DAE5A
77
CHIP_FAMILY = MIMXRT1011
8-
FLASH = W25Q16JV
8+
FLASH = W25Q32JV
99

1010
# Include these Python libraries in the firmware
1111
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_ESP32SPI

ports/mimxrt10xx/mpconfigport.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ CIRCUITPY_I2CPERIPHERAL = 0
2929
CIRCUITPY_NVM = 0
3030
CIRCUITPY_ROTARYIO = 0
3131
CIRCUITPY_COUNTIO = 0
32-
CIRCUITPY_USB_MIDI = 0
32+
CIRCUITPY_USB_MIDI = 1
3333
LONGINT_IMPL = MPZ

0 commit comments

Comments
 (0)