diff options
| author | Brent Rubell <brentru@users.noreply.github.com> | 2020-08-17 17:11:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-17 17:11:35 -0400 |
| commit | b1a8fb83fa4f003d40ecfdf288b2643b4c2daa3b (patch) | |
| tree | 87bdbb1e715140bb9ba030646540d62213909b06 | |
| parent | 6e5c2b3fe244ce4edbbc2016a1798af8ef9994d0 (diff) | |
| parent | 5f60bec85b69106fcee6d5bc9cad0c617e690c14 (diff) | |
Merge pull request #3251 from jerryneedell/jerryn_rfm9x
RFM9x -- freeze library into build
| -rw-r--r-- | .gitmodules | 3 | ||||
| m--------- | frozen/Adafruit_CircuitPython_RFM9x | 0 | ||||
| -rw-r--r-- | ports/atmel-samd/boards/feather_m0_rfm9x/mpconfigboard.mk | 18 |
3 files changed, 21 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index f09a1e4c6..f922aae1d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -147,3 +147,6 @@ [submodule "ports/esp32s2/esp-idf"] path = ports/esp32s2/esp-idf url = https://github.com/tannewt/esp-idf.git +[submodule "frozen/Adafruit_CircuitPython_RFM9x"] + path = frozen/Adafruit_CircuitPython_RFM9x + url = https://github.com/adafruit/Adafruit_CircuitPython_RFM9x.git diff --git a/frozen/Adafruit_CircuitPython_RFM9x b/frozen/Adafruit_CircuitPython_RFM9x new file mode 160000 +Subproject cfffc233784961929d722ea4e9acfe578679060 diff --git a/ports/atmel-samd/boards/feather_m0_rfm9x/mpconfigboard.mk b/ports/atmel-samd/boards/feather_m0_rfm9x/mpconfigboard.mk index de79638bd..512bc533c 100644 --- a/ports/atmel-samd/boards/feather_m0_rfm9x/mpconfigboard.mk +++ b/ports/atmel-samd/boards/feather_m0_rfm9x/mpconfigboard.mk @@ -10,4 +10,22 @@ INTERNAL_FLASH_FILESYSTEM = 1 LONGINT_IMPL = NONE CIRCUITPY_FULL_BUILD = 0 + +# A number of modules are removed for RFM9x 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_RFM9x |
