RP2040
Created 2022-11-06 Updated 2023-03-10
Contents
IRQ
BOARD CONFIGURATION
PICO_BOARD will be defined, which you can confirm in a source file:
#ifdef PICO_BOARD
#pragma message "Compiling for Pico"
#endif
USB
Example code is available in projects:
- 75-usb-dev - a low-level device
- 77-usb-kbd - using the RP2040 as a host and a keyboard as a device
References
Medium: Plugging a keyboard into an #RP2040
RP2040 USB forum discussion
RP2040 USB (audio) sound card
USB explained
EXITS
Embedded binary patching
Gary Explains: Connect SD Card to Pico using SPI
SVC
Will Thomas: Baremetal Assembly Yourutbe channel