Skip to content

Commit 6efb037

Browse files
committed
arduino_api
1 parent 0af5724 commit 6efb037

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+5529
-0
lines changed

cores/arduino/api/ArduinoAPI.h

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
Arduino API main include
3+
Copyright (c) 2016 Arduino LLC. 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_API_H
21+
#define ARDUINO_API_H
22+
23+
// version 1.5.1
24+
#define ARDUINO_API_VERSION 10501
25+
26+
#include "Binary.h"
27+
28+
#ifdef __cplusplus
29+
#include "Interrupts.h"
30+
#include "IPAddress.h"
31+
#include "Print.h"
32+
#include "Printable.h"
33+
#include "PluggableUSB.h"
34+
#include "Server.h"
35+
#include "String.h"
36+
#include "Stream.h"
37+
#include "Udp.h"
38+
#include "USBAPI.h"
39+
#include "WCharacter.h"
40+
#endif
41+
42+
/* Standard C library includes */
43+
#include <stdlib.h>
44+
#include <stdint.h>
45+
#include <stdbool.h>
46+
#include <string.h>
47+
#include <math.h>
48+
49+
// Misc Arduino core functions
50+
#include "Common.h"
51+
52+
#ifdef __cplusplus
53+
// Compatibility layer for older code
54+
#include "Compat.h"
55+
#endif
56+
57+
#endif

0 commit comments

Comments
 (0)