From 3f26a0b06b8822d0789b1989c4bdc6387e792e27 Mon Sep 17 00:00:00 2001 From: arturo182 Date: Sat, 29 Feb 2020 00:26:39 +0100 Subject: [PATCH 1/2] Freeze adafruit_requests and adafruit_esp32spi into feather_mimxrt1011 --- .gitmodules | 6 ++++++ frozen/Adafruit_CircuitPython_ESP32SPI | 1 + frozen/Adafruit_CircuitPython_Requests | 1 + ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk | 4 ++++ 4 files changed, 12 insertions(+) create mode 160000 frozen/Adafruit_CircuitPython_ESP32SPI create mode 160000 frozen/Adafruit_CircuitPython_Requests diff --git a/.gitmodules b/.gitmodules index 88d46f69df..74ba714b2c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -114,3 +114,9 @@ [submodule "frozen/Adafruit_CircuitPython_Register"] path = frozen/Adafruit_CircuitPython_Register url = https://github.com/adafruit/Adafruit_CircuitPython_Register.git +[submodule "frozen/Adafruit_CircuitPython_ESP32SPI"] + path = frozen/Adafruit_CircuitPython_ESP32SPI + url = https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI +[submodule "frozen/Adafruit_CircuitPython_Requests"] + path = frozen/Adafruit_CircuitPython_Requests + url = https://github.com/adafruit/Adafruit_CircuitPython_Requests diff --git a/frozen/Adafruit_CircuitPython_ESP32SPI b/frozen/Adafruit_CircuitPython_ESP32SPI new file mode 160000 index 0000000000..f523b2316b --- /dev/null +++ b/frozen/Adafruit_CircuitPython_ESP32SPI @@ -0,0 +1 @@ +Subproject commit f523b2316bc3e25220b88c5435868c6a5880dfab diff --git a/frozen/Adafruit_CircuitPython_Requests b/frozen/Adafruit_CircuitPython_Requests new file mode 160000 index 0000000000..e8a759719e --- /dev/null +++ b/frozen/Adafruit_CircuitPython_Requests @@ -0,0 +1 @@ +Subproject commit e8a759719e94c69a01f9e07d418ca6db39114db3 diff --git a/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk b/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk index 08164b140d..60eed8a80d 100644 --- a/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk +++ b/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk @@ -6,3 +6,7 @@ USB_MANUFACTURER = "arturo182" CHIP_VARIANT = MIMXRT1011DAE5A CHIP_FAMILY = MIMXRT1011 FLASH = W25Q64JV + +# Include these Python libraries in the firmware +FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_ESP32SPI +FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Requests From 0af00cf9144a1fbbe3ab30abdcb6ec8129dd5ce9 Mon Sep 17 00:00:00 2001 From: arturo182 Date: Sat, 29 Feb 2020 00:39:22 +0100 Subject: [PATCH 2/2] Freeze adafruit_requests and adafruit_esp32spi into feather_m7_1011 --- ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk b/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk index 670b48b602..fbaf5d399d 100644 --- a/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk +++ b/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk @@ -6,3 +6,7 @@ USB_MANUFACTURER = "Adafruit" CHIP_VARIANT = MIMXRT1011DAE5A CHIP_FAMILY = MIMXRT1011 FLASH = W25Q32JV + +# Include these Python libraries in the firmware +FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_ESP32SPI +FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Requests