JM9 XRCU Board 0.1.2
Libraries API Reference
Loading...
Searching...
No Matches
Arduino.h
1/*
2 Arduino.h - Main include file for the Arduino SDK
3 Copyright (c) 2005-2013 Arduino Team. All right reserved.
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18*/
19
20#ifndef Arduino_h
21#define Arduino_h
22
23#ifndef GCC_VERSION
24#define GCC_VERSION (__GNUC__ * 10000 \
25 + __GNUC_MINOR__ * 100 \
26 + __GNUC_PATCHLEVEL__)
27#endif
28#if GCC_VERSION < 60300
29 #error "GCC version 6.3 or higher is required"
30#endif
31
32#ifdef __IN_ECLIPSE__
33 #include "SrcWrapper.h"
34#endif
35
36#include "wiring.h"
37
38/* sketch */
39
40#ifdef __cplusplus
41extern "C" {
42#endif // __cplusplus
43// Weak empty variant initialization function.
44// May be redefined by variant files.
45extern void initVariant() __attribute__((weak));
46
47extern void setup(void) ;
48extern void loop(void) ;
49
50void yield(void);
51#ifdef __cplusplus
52} // extern "C"
53#endif // __cplusplus
54
55// Include pins variant
56#include "pins_arduino.h"
57
58#endif // Arduino_h