Skip to content

Commit 0243b34

Browse files
authored
Merge pull request #10925 from FoamyGuy/zephyr_feather_rp2040_def
Zephyr board def for feather rp2040
2 parents 13a9505 + e834f0b commit 0243b34

File tree

5 files changed

+157
-0
lines changed

5 files changed

+157
-0
lines changed
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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 = "Adafruit Industries LLC Feather RP2040"
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+
audiospeed = false
28+
aurora_epaper = false
29+
bitbangio = false
30+
bitmapfilter = true # Zephyr board has busio
31+
bitmaptools = true # Zephyr board has busio
32+
bitops = false
33+
board = false
34+
busdisplay = true # Zephyr board has busio
35+
busio = true # Zephyr board has busio
36+
camera = false
37+
canio = false
38+
codeop = false
39+
countio = false
40+
digitalio = true
41+
displayio = true # Zephyr board has busio
42+
dotclockframebuffer = false
43+
dualbank = false
44+
epaperdisplay = true # Zephyr board has busio
45+
floppyio = false
46+
fontio = true # Zephyr board has busio
47+
fourwire = true # Zephyr board has busio
48+
framebufferio = true # Zephyr board has busio
49+
frequencyio = false
50+
getpass = false
51+
gifio = false
52+
gnss = false
53+
hashlib = false
54+
hostnetwork = false
55+
i2cdisplaybus = true # Zephyr board has busio
56+
i2cioexpander = false
57+
i2ctarget = false
58+
imagecapture = false
59+
ipaddress = false
60+
is31fl3741 = false
61+
jpegio = false
62+
keypad = false
63+
keypad_demux = false
64+
locale = false
65+
lvfontio = true # Zephyr board has busio
66+
math = true
67+
max3421e = false
68+
mcp4822 = false
69+
mdns = false
70+
memorymap = false
71+
memorymonitor = false
72+
microcontroller = true
73+
mipidsi = false
74+
msgpack = false
75+
neopixel_write = false
76+
nvm = true # Zephyr board has nvm
77+
onewireio = false
78+
os = true
79+
paralleldisplaybus = false
80+
ps2io = false
81+
pulseio = false
82+
pwmio = false
83+
qrio = false
84+
qspibus = false
85+
rainbowio = true
86+
random = true
87+
rclcpy = false
88+
rgbmatrix = false
89+
rotaryio = true # Zephyr board has rotaryio
90+
rtc = false
91+
sdcardio = true # Zephyr board has busio
92+
sdioio = false
93+
sharpdisplay = true # Zephyr board has busio
94+
socketpool = false
95+
spitarget = false
96+
ssl = false
97+
storage = false
98+
struct = true
99+
supervisor = true
100+
synthio = false
101+
terminalio = true # Zephyr board has busio
102+
tilepalettemapper = true # Zephyr board has busio
103+
time = true
104+
touchio = false
105+
traceback = true
106+
uheap = false
107+
usb = false
108+
usb_cdc = true
109+
usb_hid = false
110+
usb_host = false
111+
usb_midi = false
112+
usb_video = false
113+
ustack = false
114+
vectorio = true # Zephyr board has busio
115+
warnings = true
116+
watchdog = false
117+
wifi = false
118+
zephyr_display = false
119+
zephyr_kernel = false
120+
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_GPIO=y
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
&flash0 {
2+
/delete-node/ partitions;
3+
4+
partitions {
5+
compatible = "fixed-partitions";
6+
#address-cells = <1>;
7+
#size-cells = <1>;
8+
9+
/* Reserved memory for the second stage bootloader */
10+
second_stage_bootloader: partition@0 {
11+
label = "second_stage_bootloader";
12+
reg = <0x00000000 0x100>;
13+
read-only;
14+
};
15+
16+
code_partition: partition@100 {
17+
label = "code-partition";
18+
reg = <0x100 (0x180000 - 0x100)>;
19+
read-only;
20+
};
21+
22+
nvm_partition: partition@180000 {
23+
label = "nvm";
24+
reg = <0x180000 0x1000>;
25+
};
26+
27+
circuitpy_partition: partition@181000 {
28+
label = "circuitpy";
29+
reg = <0x181000 (DT_SIZE_M(2) - 0x181000)>;
30+
};
31+
};
32+
};
33+
34+
#include "../app.overlay"

ports/zephyr-cp/boards/board_aliases.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ endmacro()
2828

2929
cp_board_alias(pca10056 nrf52840dk/nrf52840)
3030
cp_board_alias(adafruit_feather_nrf52840_zephyr adafruit_feather_nrf52840/nrf52840/uf2)
31+
cp_board_alias(adafruit_feather_rp2040_zephyr adafruit_feather_rp2040/rp2040)
3132
cp_board_alias(renesas_ek_ra6m5 ek_ra6m5)
3233
cp_board_alias(renesas_ek_ra8d1 ek_ra8d1)
3334
cp_board_alias(renesas_da14695_dk_usb da14695_dk_usb)

0 commit comments

Comments
 (0)