-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
I'm getting the following build error with the Pico 2.0.0 SDK when compiling the blink example for RP2040, and I'm not sure if this is an SDK error or something related to the current CMakeLists.txt:
pico-sdk/src/rp2_common/hardware_base/include/hardware/address_mapped.h:177:10: error: 'hardware/structs/accessctrl.h' file not found
175 | #if !PICO_RP2040
176 | // include this here to avoid the check in every other hardware/structs header that needs it
177 | #include "hardware/structs/accessctrl.h"
| `- error: 'hardware/structs/accessctrl.h' file not found
178 | #endif
179 |
Clearly, something's off: it seems that even though I'm compiling for RP2040, the #if !PICO_RP2040 fails. Does anybody else experience this?
The hardware/structs/accessctrl.h file is indirectly included by pico/stdlib.h.
Potential(?) duplicate of #49.
emileakbarzadeh, Flatout73 and lin72h
Metadata
Metadata
Assignees
Labels
No labels