@web-font-path: "roboto-debian.css";
Loading...
Searching...
No Matches
common.h File Reference

Macros and definitions common to all rp2 platforms but not specific to any library. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PICO_MINIMAL_STORED_VECTOR_TABLE   0
#define PICO_NUM_VTABLE_IRQS   NUM_IRQS
#define PICO_NO_FPGA_CHECK   1
#define PICO_NO_SIM_CHECK   1
#define host_safe_hw_ptr(x)
#define native_safe_hw_ptr(x)

Functions

static bool running_on_fpga (void)
static bool running_in_sim (void)
static __force_inline void tight_loop_contents (void)
 No-op function for the body of tight loops.

Detailed Description

Macros and definitions common to all rp2 platforms but not specific to any library.

This header may be included by assembly code

Note certain library specific defines are defined here when they are interdpedent across libraries, but making an explicit library dependency does not make sense.

Macro Definition Documentation

◆ host_safe_hw_ptr

#define host_safe_hw_ptr ( x)
Value:
((uintptr_t)(x))

◆ native_safe_hw_ptr

#define native_safe_hw_ptr ( x)
Value:
host_safe_hw_ptr(x)