@web-font-path: "roboto-debian.css";
Core types and macros for the Raspberry Pi Pico SDK. More...
Macros | |
| #define | pico_board_cmake_set(x, y) |
| A marker used in board headers to specify a CMake variable and value that should be set in the CMake build when the board header is used. | |
| #define | pico_board_cmake_set_default(x, y) |
| A marker used in board headers to specify a CMake variable and value that should be set in the CMake build when the board header is used, if that CMake variable has not already been set. | |
Enumerations | |
| enum | pico_error_codes { PICO_OK = 0 , PICO_ERROR_NONE = 0 , PICO_ERROR_GENERIC = -1 , PICO_ERROR_TIMEOUT = -2 , PICO_ERROR_NO_DATA = -3 , PICO_ERROR_NOT_PERMITTED = -4 , PICO_ERROR_INVALID_ARG = -5 , PICO_ERROR_IO = -6 , PICO_ERROR_BADAUTH = -7 , PICO_ERROR_CONNECT_FAILED = -8 , PICO_ERROR_INSUFFICIENT_RESOURCES = -9 , PICO_ERROR_INVALID_ADDRESS = -10 , PICO_ERROR_BAD_ALIGNMENT = -11 , PICO_ERROR_INVALID_STATE = -12 , PICO_ERROR_BUFFER_TOO_SMALL = -13 , PICO_ERROR_PRECONDITION_NOT_MET = -14 , PICO_ERROR_MODIFIED_DATA = -15 , PICO_ERROR_INVALID_DATA = -16 , PICO_ERROR_NOT_FOUND = -17 , PICO_ERROR_UNSUPPORTED_MODIFICATION = -18 , PICO_ERROR_LOCK_REQUIRED = -19 , PICO_ERROR_VERSION_MISMATCH = -20 , PICO_ERROR_RESOURCE_IN_USE = -21 } |
| Common return codes from pico_sdk methods that return a status. More... | |
Core types and macros for the Raspberry Pi Pico SDK.
This header is intended to be included by all source code as it includes configuration headers and overrides in the correct order
This header may be included by assembly code
| #define pico_board_cmake_set | ( | x, | |
| y ) |
A marker used in board headers to specify a CMake variable and value that should be set in the CMake build when the board header is used.
Based on the PICO_BOARD CMake variable, the build will scan the board header for pico_board_cmake_set(var, value) and set these variables very early in the build configuration process. This allows setting CMake variables like PICO_PLATFORM from the board header, and thus affecting, for example, the choice of compiler made by the build
| #define pico_board_cmake_set_default | ( | x, | |
| y ) |
A marker used in board headers to specify a CMake variable and value that should be set in the CMake build when the board header is used, if that CMake variable has not already been set.
Based on the PICO_BOARD CMake variable, the build will scan the board header for pico_board_cmake_set_default(var, value) and set these variables very early in the build configuration process. This allows setting CMake variables like PICO_PLATFORM from the board header, and thus affecting, for example, the choice of compiler made by the build
| enum pico_error_codes |
Common return codes from pico_sdk methods that return a status.
All PICO_ERROR_ values are negative so they can be returned from functions that also want to return a zero or positive value on success.
Note these error codes may be returned via bootrom functions too.