summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Needell <jerryneedell@gmail.com>2020-09-09 14:54:20 -0400
committerJerry Needell <jerryneedell@gmail.com>2020-09-09 14:54:20 -0400
commit2529ee2359a6402505172a0046e491d7deb32362 (patch)
tree7a105d21452c38993d6bbc4eb02a35d44c5ec641
parent66cf6c46c005cf67181e2ba58ecadc619344687d (diff)
freeze rfm69 and bus_device libraries int feather_m0_rfm69
-rw-r--r--.gitmodules3
m---------frozen/Adafruit_CircuitPython_RFM690
-rw-r--r--ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.mk17
3 files changed, 20 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index f922aae1d..3603cea69 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -150,3 +150,6 @@
[submodule "frozen/Adafruit_CircuitPython_RFM9x"]
path = frozen/Adafruit_CircuitPython_RFM9x
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM9x.git
+[submodule "frozen/Adafruit_CircuitPython_RFM69"]
+ path = frozen/Adafruit_CircuitPython_RFM69
+ url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git
diff --git a/frozen/Adafruit_CircuitPython_RFM69 b/frozen/Adafruit_CircuitPython_RFM69
new file mode 160000
+Subproject c0b9bdf22997552396abb514a6304d33460c291
diff --git a/ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.mk b/ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.mk
index 7556b9517..b589ae766 100644
--- a/ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.mk
+++ b/ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.mk
@@ -10,4 +10,21 @@ INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
+# A number of modules are removed for RFM69 to make room for frozen libraries.
+# Many I/O functions are not available.
+CIRCUITPY_ANALOGIO = 0
+CIRCUITPY_PULSEIO = 0
+CIRCUITPY_NEOPIXEL_WRITE = 1
+CIRCUITPY_ROTARYIO = 0
+CIRCUITPY_RTC = 0
+CIRCUITPY_SAMD = 0
+CIRCUITPY_USB_MIDI = 0
+CIRCUITPY_USB_HID = 0
+CIRCUITPY_TOUCHIO = 0
+CFLAGS_INLINE_LIMIT = 35
+# Make more room.
SUPEROPT_GC = 0
+
+# Include these Python libraries in firmware.
+FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
+FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_RFM69