Skip to content

Commit 2529ee2

Browse files
committed
freeze rfm69 and bus_device libraries int feather_m0_rfm69
1 parent 66cf6c4 commit 2529ee2

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,6 @@
150150
[submodule "frozen/Adafruit_CircuitPython_RFM9x"]
151151
path = frozen/Adafruit_CircuitPython_RFM9x
152152
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM9x.git
153+
[submodule "frozen/Adafruit_CircuitPython_RFM69"]
154+
path = frozen/Adafruit_CircuitPython_RFM69
155+
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git

ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.mk

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,21 @@ INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

13+
# A number of modules are removed for RFM69 to make room for frozen libraries.
14+
# Many I/O functions are not available.
15+
CIRCUITPY_ANALOGIO = 0
16+
CIRCUITPY_PULSEIO = 0
17+
CIRCUITPY_NEOPIXEL_WRITE = 1
18+
CIRCUITPY_ROTARYIO = 0
19+
CIRCUITPY_RTC = 0
20+
CIRCUITPY_SAMD = 0
21+
CIRCUITPY_USB_MIDI = 0
22+
CIRCUITPY_USB_HID = 0
23+
CIRCUITPY_TOUCHIO = 0
24+
CFLAGS_INLINE_LIMIT = 35
25+
# Make more room.
1326
SUPEROPT_GC = 0
27+
28+
# Include these Python libraries in firmware.
29+
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
30+
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_RFM69

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy