You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,15 @@ however certain examples that use chip-specific functionality will only build on
12
12
Similarly, Wi-Fi and Bluetooth examples will only build on a board that includes Wi-Fi and Bluetooth support.
13
13
14
14
Platform and board information are passed to the CMake build via the `PICO_PLATFORM` and `PICO_BOARD` variables.
15
+
16
+
By default, the Pico SDK targets builds for RP2040 (`PICO_PLATFORM=rp2040`). To build for RP2350 instead, pass
17
+
`-DPICO_PLATFORM=rp2350` to CMake (or `-DPICO_PLATFORM=rp2350-riscv` for RISC-V). Alternatively, in many cases, you can rely
18
+
on the board configuration to set the platform for you. For example, passing `-DPICO_BOARD=pico2` will automatically select `PICO_PLATFORM=rp2350`.
19
+
15
20
For more information see the "Platform and Board Configuration" chapter of
16
-
the [Raspberry Pi Pico-series C/C++ SDK](https://rptl.io/pico-c-sdk) book
21
+
the [Raspberry Pi Pico-series C/C++ SDK](https://rptl.io/pico-c-sdk) book.
17
22
18
-
Information on which examples are not being built is output during the CMake configuration step.
23
+
Information on which examples are not being built is displayed during the CMake configuration step.
19
24
20
25
### First Examples
21
26
@@ -46,7 +51,7 @@ App|Description
46
51
[blink_any](binary_info/blink_any) | Uses `bi_ptr` variables to create a configurable blink binary - see the separate [README](binary_info/README.md) for more details
47
52
[hello_anything](binary_info/hello_anything) | Uses `bi_ptr` variables to create a configurable hello_world binary - see the separate [README](binary_info/README.md) for more details
48
53
49
-
### Bootloaders (RP2350 Only)
54
+
### Bootloaders (RP235x Only)
50
55
App|Description
51
56
---|---
52
57
[enc_bootloader](bootloaders/encrypted) | A bootloader which decrypts binaries from flash into SRAM. See the separate [README](bootloaders/encrypted/README.md) for more information
@@ -66,7 +71,7 @@ App|Description
66
71
---|---
67
72
[build_variants](cmake/build_variants) | Builds two version of the same app with different configurations
68
73
69
-
### DCP
74
+
### DCP (RP235x Only)
70
75
71
76
App|Description
72
77
---|---
@@ -81,11 +86,11 @@ App|Description
81
86
[channel_irq](dma/channel_irq) | Use an IRQ handler to reconfigure a DMA channel, in order to continuously drive data through a PIO state machine.
82
87
[sniff_crc](dma/sniff_crc) | Use the DMA engine's 'sniff' capability to calculate a CRC32 on a data buffer.
83
88
84
-
### HSTX
89
+
### HSTX (RP235x Only)
85
90
86
91
App|Description
87
92
---|---
88
-
[dvi_out_hstx_encoder](dvi_out_hstx_encoder)`RP2350`| Use the HSTX to output a DVI signal with 3:3:2 RGB
93
+
[dvi_out_hstx_encoder](hstx/dvi_out_hstx_encoder) | Use the HSTX to output a DVI signal with 3:3:2 RGB
89
94
90
95
### Flash
91
96
@@ -156,11 +161,11 @@ App|Description
156
161
[multicore_runner](multicore/multicore_runner) | Set up the second core to accept, and run, any function pointer pushed into its mailbox FIFO. Push in a few pieces of code and get answers back.
157
162
[multicore_doorbell](multicore/multicore_doorbell) | Claims two doorbells for signaling between the cores. Counts how many doorbell IRQs occur on the second core and uses doorbells to coordinate exit.
158
163
159
-
### OTP
164
+
### OTP (RP235x Only)
160
165
161
166
App|Description
162
167
---|---
163
-
[hello_otp](otp/hello_otp) | Demonstrate reading and writing from the OTP on RP2350, along with some of the features of OTP (error correction and page locking).
168
+
[hello_otp](otp/hello_otp) | Demonstrate reading and writing from the OTP on RP235x, along with some of the features of OTP (error correction and page locking).
164
169
165
170
### Pico Board
166
171
@@ -328,7 +333,7 @@ App|Description
328
333
[rtc_alarm](rtc/rtc_alarm) | Set an alarm on the RTC to trigger an interrupt at a date/time 5 seconds into the future.
329
334
[rtc_alarm_repeat](rtc/rtc_alarm_repeat) | Trigger an RTC interrupt once per minute.
0 commit comments