-
Notifications
You must be signed in to change notification settings - Fork 7.3k
RP2040 basic support (draft) #33172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RP2040 basic support (draft) #33172
Conversation
Add basic Kconfig definitions for the Raspberry Pi RP20xx MCU line. Signed-off-by: Ioannis Glaropoulos <[email protected]>
Add basic Kconfig definitions for the RP2040 SoC: - SoC series and RP2040 Kconfig definitions - soc header and soc.c implementation Signed-off-by: Ioannis Glaropoulos <[email protected]>
Hey! I'm interested in Zephyr and helping with the port for RPi Pico. Do you have any suggestions/tasks that I might take up? I've gone through the documentation at https://docs.zephyrproject.org/1.12.0/porting/board_porting.html |
I don't think the serial driver has to be implemented. The UART peripheral is based on the ARM PL011, which is already supported by zephyr. |
Another thing that would need to happen is adding a stage 2 bootloader. This part would be responsible for initializing the XIP hardware. This how the pico sdk does this (https://github.com/raspberrypi/pico-sdk/tree/master/src/rp2_common/boot_stage2). Since this is a board specific property this should probably be placed in the pico board folder. Another option I can see to do this, is to configure this when selecting the SoC for example add this to KConfig.series:
then add configs options for all supported flash devices. Probably starting out with all devices supported by pico-sdk. |
Hello @ioannisg , I also started this but seems you've made more progress than I have! Let me know if I can be of help |
hi @ioannisg any work on the device tree support? I just bought a few chips, keen on helping out. |
Support has been merged now, closing |
Draft PR for RP2040 basic support
SoC and SoC series definition
Device tree support
Board support (pico)
Basic drivers
- timer (SysTick)
- serial
Requires HAL definition