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

Macros and definitions (and functions when included by non assembly code) to adapt for different compilers. More...

#include "hardware/platform_defs.h"
#include "pico/types.h"
Include dependency graph for compiler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __weak   __attribute__((weak))
#define GCC_Like_Pragma(x)
#define Clang_Pragma(x)
#define GCC_Pragma(x)
#define __isr
 Marker for an interrupt handler.
#define __packed_aligned   __packed __aligned(4)
#define __force_inline   __always_inline
 Attribute to force inlining of a function regardless of optimization level.
#define count_of(a)
 Macro to determine the number of elements in an array.
#define MAX(a, b)
 Macro to return the maximum of two comparable values.
#define MIN(a, b)
 Macro to return the minimum of two comparable values.
#define pico_default_asm(...)
#define pico_default_asm_volatile(...)
#define pico_default_asm_goto(...)
#define pico_default_asm_volatile_goto(...)
#define __check_type_compatible(type_a, type_b)
 Utility macro to assert two types are equivalent.
#define WRAPPER_FUNC(x)
#define REAL_FUNC(x)

Functions

static __always_inline void __compiler_memory_barrier (void)
 Ensure that the compiler does not move memory access across this method call.

Detailed Description

Macros and definitions (and functions when included by non assembly code) to adapt for different compilers.

This header may be included by assembly code

Macro Definition Documentation

◆ pico_default_asm

#define pico_default_asm ( ...)
Value:
__asm (__VA_ARGS__)

◆ pico_default_asm_goto

#define pico_default_asm_goto ( ...)
Value:
__asm goto (__VA_ARGS__)

◆ pico_default_asm_volatile

#define pico_default_asm_volatile ( ...)
Value:
__asm volatile (__VA_ARGS__)

◆ pico_default_asm_volatile_goto

#define pico_default_asm_volatile_goto ( ...)
Value:
__asm volatile goto (__VA_ARGS__)

◆ REAL_FUNC

#define REAL_FUNC ( x)
Value:
__real_ ## x

◆ WRAPPER_FUNC

#define WRAPPER_FUNC ( x)
Value:
__wrap_ ## x