mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-04-16 05:42:56 +00:00
35 lines
941 B
C
35 lines
941 B
C
/*
|
|
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef _PICO_H
|
|
#define _PICO_H
|
|
|
|
/** \file pico.h
|
|
* \defgroup pico_base pico_base
|
|
*
|
|
* Core types and macros for the Raspberry Pi Pico SDK. This header is intended to be included by all source code
|
|
* as it includes configuration headers and overrides in the correct order
|
|
*
|
|
* This header may be included by assembly code
|
|
*/
|
|
|
|
#define __PICO_STRING(x) #x
|
|
#define __PICO_XSTRING(x) __PICO_STRING(x)
|
|
|
|
#include "pico/types.h"
|
|
#include "pico/version.h"
|
|
|
|
// 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
|
|
#ifdef PICO_CONFIG_HEADER
|
|
#include __PICO_XSTRING(PICO_CONFIG_HEADER)
|
|
#else
|
|
#include "pico/config.h"
|
|
#endif
|
|
#include "pico/platform.h"
|
|
#include "pico/error.h"
|
|
|
|
#endif
|