@web-font-path: "roboto-debian.css";
Menu Toggle
v2.2.0 (RP2040)
Loading...
Searching...
No Matches
pico.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
#ifndef _PICO_H
8
#define _PICO_H
9
20
21
// We may be included by assembly which can't include <cdefs.h>
22
#define __PICO_STRING(x) #x
23
#define __PICO_XSTRING(x) __PICO_STRING(x)
24
#define __PICO_CONCAT1(x, y) x ## y
25
26
#include "pico/types.h"
27
#include "pico/version.h"
28
41
#define pico_board_cmake_set(x, y)
42
56
#define pico_board_cmake_set_default(x, y)
57
58
// PICO_CONFIG: PICO_CONFIG_HEADER, Unquoted path to header include in place of the default pico/config.h which may be desirable for build systems which can't easily generate the config_autogen header, group=pico_base
59
#ifdef PICO_CONFIG_HEADER
60
#include __PICO_XSTRING(PICO_CONFIG_HEADER)
61
#else
62
#include "pico/config.h"
63
#endif
64
#include "
pico/platform.h
"
65
#include "pico/error.h"
66
67
#endif
platform.h