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 
19 #define __PICO_STRING(x) #x
20 #define __PICO_XSTRING(x) __PICO_STRING(x)
21 
22 #include "pico/types.h"
23 #include "pico/version.h"
24 
25 // 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
26 #ifdef PICO_CONFIG_HEADER
27 #include __PICO_XSTRING(PICO_CONFIG_HEADER)
28 #else
29 #include "pico/config.h"
30 #endif
31 #include "pico/platform.h"
32 #include "pico/error.h"
33 
34 #endif