@web-font-path: "roboto-debian.css";
Loading...
Searching...
No Matches
platform.h File Reference
#include "pico/platform/compiler.h"
#include "pico/platform/sections.h"
#include "pico/platform/panic.h"
#include "pico/platform/common.h"
#include "hardware/regs/addressmap.h"
#include "hardware/regs/sio.h"
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PICO_STACK_SIZE   _u(0x800)
#define PICO_HEAP_SIZE   _u(0x800)
#define PICO_NO_RAM_VECTOR_TABLE   0
#define PICO_RP2040_B0_SUPPORTED   1
#define PICO_FLOAT_SUPPORT_ROM_V1   1
#define PICO_DOUBLE_SUPPORT_ROM_V1   1
#define PICO_RP2040_B1_SUPPORTED   1
#define PICO_RP2040_B2_SUPPORTED   1
#define PICO_CLKDIV_ROUND_NEAREST   1
#define __fast_mul(a, b)
 multiply two integer values using the fastest method possible

Functions

static void busy_wait_at_least_cycles (uint32_t minimum_cycles)
 Helper method to busy-wait for at least the given number of cycles.
static __force_inline void __breakpoint (void)
 Execute a breakpoint instruction.
static __force_inline uint get_core_num (void)
 Get the current core number.
static __force_inline uint __get_current_exception (void)
 Get the current exception level on this core.
uint8_t rp2040_chip_version (void)
 Returns the RP2040 chip revision number.
static uint8_t rp2040_rom_version (void)
 Returns the RP2040 rom version number.
static __force_inline int32_t __mul_instruction (int32_t a, int32_t b)
 Multiply two integers using an assembly MUL instruction.