8000 Merge pull request #3388 from jerryneedell/jerryn_rfm69 · tannewt/circuitpython@e5dd2a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit e5dd2a3

Browse files
authored
Merge pull request micropython#3388 from jerryneedell/jerryn_rfm69
freeze rfm69 and bus_device libraries into feather_m0_rfm69
2 parents 1ba28b3 + 2529ee2 commit e5dd2a3

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)
0