Skip to content

Commit f826c05

Browse files
committed
enable gifio and storage in zephyr port
1 parent b8e4fc6 commit f826c05

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

ports/zephyr-cp/boards/adafruit/feather_rp2040_zephyr/autogen_board_info.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fourwire = true # Zephyr board has busio
4848
framebufferio = true # Zephyr board has busio
4949
frequencyio = false
5050
getpass = true
51-
gifio = false
51+
gifio = true
5252
gnss = false
5353
hashlib = true
5454
hostnetwork = false
@@ -94,7 +94,7 @@ sharpdisplay = true # Zephyr board has busio
9494
socketpool = false
9595
spitarget = false
9696
ssl = false
97-
storage = false
97+
storage = true
9898
struct = true
9999
supervisor = true
100100
synthio = false

ports/zephyr-cp/cptools/build_circuitpython.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
"zlib",
6767
"adafruit_bus_device",
6868
"getpass",
69+
"storage",
70+
"gifio",
6971
]
7072
# Flags that don't match with with a *bindings module. Some used by adafruit_requests
7173
MPCONFIG_FLAGS = ["array", "errno", "io", "json", "math"]
@@ -119,6 +121,9 @@
119121
"lib/uzlib/adler32.c",
120122
"lib/uzlib/crc32.c",
121123
],
124+
"gifio": [
125+
"lib/AnimatedGIF/gif.c"
126+
]
122127
}
123128

124129
SHARED_MODULE_AND_COMMON_HAL = ["_bleio", "os", "rotaryio"]

0 commit comments

Comments
 (0)