7#ifndef _PICO_PLATFORM_COMMON_H
8#define _PICO_PLATFORM_COMMON_H
22#ifndef PICO_MINIMAL_STORED_VECTOR_TABLE
23#define PICO_MINIMAL_STORED_VECTOR_TABLE 0
26#if PICO_MINIMAL_STORED_VECTOR_TABLE && (PICO_NO_FLASH && !defined(__riscv))
27#if PICO_NUM_VTABLE_IRQS
28#warning PICO_NUM_VTABLE_IRQS is specied with PICO_MINIMAL_STORED_VECTOR_TABLE for NO_FLASH Arm binary; ignored
29#undef PICO_NUM_VTABLE_IRQS
31#define PICO_NUM_VTABLE_IRQS 0
34#ifndef PICO_NUM_VTABLE_IRQS
35#define PICO_NUM_VTABLE_IRQS NUM_IRQS
42#ifndef PICO_NO_FPGA_CHECK
43#define PICO_NO_FPGA_CHECK 1
47#ifndef PICO_NO_SIM_CHECK
48#define PICO_NO_SIM_CHECK 1
56static inline bool running_on_fpga(
void) {
return false;}
58bool running_on_fpga(
void);
62static inline bool running_in_sim(
void) {
return false;}
64bool running_in_sim(
void);
76#define host_safe_hw_ptr(x) ((uintptr_t)(x))
77#define native_safe_hw_ptr(x) host_safe_hw_ptr(x)