Commit c02e8eb
committed
rp2: Add mp_hal_is_pin_reserved.
As cyw43 pins might be dynamic, add a function that returns if a pin is
reserved. This is used by MICROPY_HW_PIN_RESERVED
Signed-off-by: Peter Harper <peter.harper@raspberrypi.com>1 parent 3c2c427 commit c02e8eb
File tree
3 files changed
+12
-1
lines changed- ports/rp2
- boards/RPI_PICO_W
3 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
0 commit comments