Skip to content

Commit 13a9505

Browse files
authored
Merge pull request #10917 from tannewt/zephyr_picos
Add Zephyr board defs for Raspberry Pi Picos
2 parents c2a5730 + 57a07fd commit 13a9505

26 files changed

+1048
-75
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Ports
226226

227227
Ports include the code unique to a microcontroller line.
228228

229-
The following ports are available: ``atmel-samd``, ``cxd56``, ``espressif``, ``litex``, ``mimxrt10xx``, ``nordic``, ``raspberrypi``, ``renode``, ``silabs`` (``efr32``), ``stm``, ``unix``.
229+
The following ports are available: ``atmel-samd``, ``cxd56``, ``espressif``, ``litex``, ``mimxrt10xx``, ``nordic``, ``raspberrypi``, ``renode``, ``silabs`` (``efr32``), ``stm``, ``unix``, and ``zephyr-cp``.
230230

231231
However, not all ports are fully functional. Some have limited functionality and known serious bugs.
232232
For details, refer to the **Port status** section in the `latest release <https://github.com/adafruit/circuitpython/releases/latest>`__ notes.

ports/zephyr-cp/boards/board_aliases.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ cp_board_alias(st_stm32h7b3i_dk stm32h7b3i_dk)
4444
cp_board_alias(st_stm32h750b_dk stm32h750b_dk/stm32h750xx/ext_flash_app)
4545
cp_board_alias(st_stm32wba65i_dk1 stm32wba65i_dk1)
4646
cp_board_alias(st_nucleo_u575zi_q nucleo_u575zi_q/stm32u575xx)
47+
cp_board_alias(raspberrypi_rpi_pico_zephyr rpi_pico/rp2040)
48+
cp_board_alias(raspberrypi_rpi_pico_w_zephyr rpi_pico/rp2040/w)
49+
cp_board_alias(raspberrypi_rpi_pico2_zephyr rpi_pico2/rp2350a/m33)
50+
cp_board_alias(raspberrypi_rpi_pico2_w_zephyr rpi_pico2/rp2350a/m33/w)
4751
cp_board_alias(st_nucleo_n657x0_q nucleo_n657x0_q/stm32n657xx)

ports/zephyr-cp/boards/frdm_rw612.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ CONFIG_MBEDTLS_RSA_C=y
1818
CONFIG_MBEDTLS_PKCS1_V15=y
1919
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED=y
2020
CONFIG_MBEDTLS_ENTROPY_C=y
21+
CONFIG_MBEDTLS_CIPHER_AES_ENABLED=y
2122
CONFIG_MBEDTLS_CTR_DRBG_C=y
2223
CONFIG_MBEDTLS_SHA1=y
2324
CONFIG_MBEDTLS_USE_PSA_CRYPTO=n
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# This file is autogenerated when a board is built. Do not edit. Do commit it to git. Other scripts use its info.
2+
name = "Raspberry Pi Foundation Raspberry Pi Pico 2"
3+
4+
[modules]
5+
__future__ = true
6+
_bleio = false
7+
_eve = false
8+
_pew = false
9+
_pixelmap = false
10+
_stage = false
11+
adafruit_bus_device = false
12+
adafruit_pixelbuf = false
13+
aesio = false
14+
alarm = false
15+
analogbufio = false
16+
analogio = false
17+
atexit = false
18+
audiobusio = false
19+
audiocore = false
20+
audiodelays = false
21+
audiofilters = false
22+
audiofreeverb = false
23+
audioio = false
24+
audiomixer = false
25+
audiomp3 = false
26+
audiopwmio = false
27+
aurora_epaper = false
28+
bitbangio = false
29+
bitmapfilter = true # Zephyr board has busio
30+
bitmaptools = true # Zephyr board has busio
31+
bitops = false
32+
board = false
33+
busdisplay = true # Zephyr board has busio
34+
busio = true # Zephyr board has busio
35+
camera = false
36+
canio = false
37+
codeop = false
38+
countio = false
39+
digitalio = true
40+
displayio = true # Zephyr board has busio
41+
dotclockframebuffer = false
42+
dualbank = false
43+
epaperdisplay = true # Zephyr board has busio
44+
floppyio = false
45+
fontio = true # Zephyr board has busio
46+
fourwire = true # Zephyr board has busio
47+
framebufferio = true # Zephyr board has busio
48+
frequencyio = false
49+
getpass = false
50+
gifio = false
51+
gnss = false
52+
hashlib = true # Zephyr networking enabled
53+
hostnetwork = false
54+
i2cdisplaybus = true # Zephyr board has busio
55+
i2cioexpander = false
56+
i2ctarget = false
57+
imagecapture = false
58+
ipaddress = true # Zephyr networking enabled
59+
is31fl3741 = false
60+
jpegio = false
61+
keypad = false
62+
keypad_demux = false
63+
locale = false
64+
lvfontio = true # Zephyr board has busio
65+
math = false
66+
max3421e = false
67+
mcp4822 = false
68+
mdns = false
69+
memorymap = false
70+
memorymonitor = false
71+
microcontroller = true
72+
mipidsi = false
73+
msgpack = false
74+
neopixel_write = false
75+
nvm = false
76+
onewireio = false
77+
os = true
78+
paralleldisplaybus = false
79+
ps2io = false
80+
pulseio = false
81+
pwmio = false
82+
qrio = false
83+
qspibus = false
84+
rainbowio = true
85+
random = true
86+
rclcpy = false
87+
rgbmatrix = false
88+
rotaryio = true # Zephyr board has rotaryio
89+
rtc = false
90+
sdcardio = true # Zephyr board has busio
91+
sdioio = false
92+
sharpdisplay = true # Zephyr board has busio
93+
socketpool = true # Zephyr networking enabled
94+
spitarget = false
95+
ssl = true # Zephyr networking enabled
96+
storage = false
97+
struct = true
98+
supervisor = true
99+
synthio = false
100+
terminalio = true # Zephyr board has busio
101+
tilepalettemapper = true # Zephyr board has busio
102+
time = true
103+
touchio = false
104+
traceback = true
105+
uheap = false
106+
usb = false
107+
usb_cdc = true
108+
usb_hid = false
109+
usb_host = false
110+
usb_midi = false
111+
usb_video = false
112+
ustack = false
113+
vectorio = true # Zephyr board has busio
114+
warnings = true
115+
watchdog = false
116+
wifi = true # Zephyr board has wifi
117+
zephyr_display = false
118+
zephyr_kernel = false
119+
zlib = false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CIRCUITPY_BUILD_EXTENSIONS = ["elf", "uf2"]
2+
BLOBS=["hal_infineon"]
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# This file is autogenerated when a board is built. Do not edit. Do commit it to git. Other scripts use its info.
2+
name = "Raspberry Pi Foundation Raspberry Pi Pico 2"
3+
4+
[modules]
5+
__future__ = true
6+
_bleio = false
7+
_eve = false
8+
_pew = false
9+
_pixelmap = false
10+
_stage = false
11+
adafruit_bus_device = false
12+
adafruit_pixelbuf = false
13+
aesio = false
14+
alarm = false
15+
analogbufio = false
16+
analogio = false
17+
atexit = false
18+
audiobusio = false
19+
audiocore = false
20+
audiodelays = false
21+
audiofilters = false
22+
audiofreeverb = false
23+
audioio = false
24+
audiomixer = false
25+
audiomp3 = false
26+
audiopwmio = false
27+
aurora_epaper = false
28+
bitbangio = false
29+
bitmapfilter = true # Zephyr board has busio
30+
bitmaptools = true # Zephyr board has busio
31+
bitops = false
32+
board = false
33+
busdisplay = true # Zephyr board has busio
34+
busio = true # Zephyr board has busio
35+
camera = false
36+
canio = false
37+
codeop = false
38+
countio = false
39+
digitalio = true
40+
displayio = true # Zephyr board has busio
41+
dotclockframebuffer = false
42+
dualbank = false
43+
epaperdisplay = true # Zephyr board has busio
44+
floppyio = false
45+
fontio = true # Zephyr board has busio
46+
fourwire = true # Zephyr board has busio
47+
framebufferio = true # Zephyr board has busio
48+
frequencyio = false
49+
getpass = false
50+
gifio = false
51+
gnss = false
52+
hashlib = false
53+
hostnetwork = false
54+
i2cdisplaybus = true # Zephyr board has busio
55+
i2cioexpander = false
56+
i2ctarget = false
57+
imagecapture = false
58+
ipaddress = false
59+
is31fl3741 = false
60+
jpegio = false
61+
keypad = false
62+
keypad_demux = false
63+
locale = false
64+
lvfontio = true # Zephyr board has busio
65+
math = false
66+
max3421e = false
67+
mcp4822 = false
68+
mdns = false
69+
memorymap = false
70+
memorymonitor = false
71+
microcontroller = true
72+
mipidsi = false
73+
msgpack = false
74+
neopixel_write = false
75+
nvm = false
76+
onewireio = false
77+
os = true
78+
paralleldisplaybus = false
79+
ps2io = false
80+
pulseio = false
81+
pwmio = false
82+
qrio = false
83+
qspibus = false
84+
rainbowio = true
85+
random = true
86+
rclcpy = false
87+
rgbmatrix = false
88+
rotaryio = true # Zephyr board has rotaryio
89+
rtc = false
90+
sdcardio = true # Zephyr board has busio
91+
sdioio = false
92+
sharpdisplay = true # Zephyr board has busio
93+
socketpool = false
94+
spitarget = false
95+
ssl = false
96+
storage = false
97+
struct = true
98+
supervisor = true
99+
synthio = false
100+
terminalio = true # Zephyr board has busio
101+
tilepalettemapper = true # Zephyr board has busio
102+
time = true
103+
touchio = false
104+
traceback = true
105+
uheap = false
106+
usb = false
107+
usb_cdc = true
108+
usb_hid = false
109+
usb_host = false
110+
usb_midi = false
111+
usb_video = false
112+
ustack = false
113+
vectorio = true # Zephyr board has busio
114+
warnings = true
115+
watchdog = false
116+
wifi = false
117+
zephyr_display = false
118+
zephyr_kernel = false
119+
zlib = false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CIRCUITPY_BUILD_EXTENSIONS = ["elf", "uf2"]
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# This file is autogenerated when a board is built. Do not edit. Do commit it to git. Other scripts use its info.
2+
name = "Raspberry Pi Foundation Raspberry Pi Pico"
3+
4+
[modules]
5+
__future__ = true
6+
_bleio = false
7+
_eve = false
8+
_pew = false
9+
_pixelmap = false
10+
_stage = false
11+
adafruit_bus_device = false
12+
adafruit_pixelbuf = false
13+
aesio = false
14+
alarm = false
15+
analogbufio = false
16+
analogio = false
17+
atexit = false
18+
audiobusio = false
19+
audiocore = false
20+
audiodelays = false
21+
audiofilters = false
22+
audiofreeverb = false
23+
audioio = false
24+
audiomixer = false
25+
audiomp3 = false
26+
audiopwmio = false
27+
aurora_epaper = false
28+
bitbangio = false
29+
bitmapfilter = true # Zephyr board has busio
30+
bitmaptools = true # Zephyr board has busio
31+
bitops = false
32+
board = false
33+
busdisplay = true # Zephyr board has busio
34+
busio = true # Zephyr board has busio
35+
camera = false
36+
canio = false
37+
codeop = false
38+
countio = false
39+
digitalio = true
40+
displayio = true # Zephyr board has busio
41+
dotclockframebuffer = false
42+
dualbank = false
43+
epaperdisplay = true # Zephyr board has busio
44+
floppyio = false
45+
fontio = true # Zephyr board has busio
46+
fourwire = true # Zephyr board has busio
47+
framebufferio = true # Zephyr board has busio
48+
frequencyio = false
49+
getpass = false
50+
gifio = false
51+
gnss = false
52+
hashlib = true # Zephyr networking enabled
53+
hostnetwork = false
54+
i2cdisplaybus = true # Zephyr board has busio
55+
i2cioexpander = false
56+
i2ctarget = false
57+
imagecapture = false
58+
ipaddress = true # Zephyr networking enabled
59+
is31fl3741 = false
60+
jpegio = false
61+
keypad = false
62+
keypad_demux = false
63+
locale = false
64+
lvfontio = true # Zephyr board has busio
65+
math = false
66+
max3421e = false
67+
mcp4822 = false
68+
mdns = false
69+
memorymap = false
70+
memorymonitor = false
71+
microcontroller = true
72+
mipidsi = false
73+
msgpack = false
74+
neopixel_write = false
75+
nvm = false
76+
onewireio = false
77+
os = true
78+
paralleldisplaybus = false
79+
ps2io = false
80+
pulseio = false
81+
pwmio = false
82+
qrio = false
83+
qspibus = false
84+
rainbowio = true
85+
random = true
86+
rclcpy = false
87+
rgbmatrix = false
88+
rotaryio = true # Zephyr board has rotaryio
89+
rtc = false
90+
sdcardio = true # Zephyr board has busio
91+
sdioio = false
92+
sharpdisplay = true # Zephyr board has busio
93+
socketpool = true # Zephyr networking enabled
94+
spitarget = false
95+
ssl = true # Zephyr networking enabled
96+
storage = false
97+
struct = true
98+
supervisor = true
99+
synthio = false
100+
terminalio = true # Zephyr board has busio
101+
tilepalettemapper = true # Zephyr board has busio
102+
time = true
103+
touchio = false
104+
traceback = true
105+
uheap = false
106+
usb = false
107+
usb_cdc = true
108+
usb_hid = false
109+
usb_host = false
110+
usb_midi = false
111+
usb_video = false
112+
ustack = false
113+
vectorio = true # Zephyr board has busio
114+
warnings = true
115+
watchdog = false
116+
wifi = true # Zephyr board has wifi
117+
zephyr_display = false
118+
zephyr_kernel = false
119+
zlib = false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CIRCUITPY_BUILD_EXTENSIONS = ["elf", "uf2"]
2+
BLOBS=["hal_infineon"]

0 commit comments

Comments
 (0)