AWind
.VacuumPump.vsarduino.h
1 /*
2  Editor: http://www.visualmicro.com
3  visual micro and the arduino ide ignore this code during compilation. this code is automatically maintained by visualmicro, manual changes to this file will be overwritten
4  the contents of the Visual Micro sketch sub folder can be deleted prior to publishing a project
5  all non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
6  note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again
7 
8  Hardware: Arduino Due (Programming Port), Platform=sam, Package=arduino
9 */
10 
11 #ifndef _VSARDUINO_H_
12 #define _VSARDUINO_H_
13 #define printf iprintf
14 #define F_CPU 84000000L
15 #define ARDUINO 10607
16 #define ARDUINO_SAM_DUE
17 #define ARDUINO_ARCH_SAM
18 #define __SAM3X8E__
19 #define USB_VID 0x2341
20 #define USB_PID 0x003e
21 #define USBCON
22 #define __cplusplus
23 #define __ARM__
24 #define __inline__
25 #define __asm__(x)
26 #define __extension__
27 #define __ATTR_PURE__
28 #define __ATTR_CONST__
29 #define __inline__
30 #define __volatile__
31 #define __SIZE_TYPE__ long
32 
33 #define __ICCARM__
34 #define __ASM
35 #define __INLINE
36 #define __builtin_va_list void
37 //#define _GNU_SOURCE
38 //#define __GNUC__ 0
39 //#undef __ICCARM__
40 //#define __GNU__
41 
42 typedef long Pio;
43 typedef long Efc;
44 typedef long Adc;
45 typedef long Pwm;
46 typedef long Rtc;
47 typedef long Rtt;
48 typedef long pRtc;
49 typedef long Spi;
50 typedef long spi;
51 typedef long Ssc;
52 //typedef long p_scc;
53 typedef long Tc;
54 //typedef long pTc;
55 typedef long Twi;
56 typedef long Wdt;
57 //typedef long pTwi;
58 typedef long Usart;
59 typedef long Pdc;
60 typedef long Rstc;
61 
62 extern const int ADC_MR_TRGEN_DIS = 0;
63 extern const int ADC_MR_TRGSEL_ADC_TRIG0 = 0;
64 extern const int ADC_MR_TRGSEL_Pos = 0;
65 
66 extern const int ADC_MR_TRGSEL_Msk = 0;
67 extern const int ADC_MR_TRGEN = 0;
68 extern const int ADC_MR_TRGSEL_ADC_TRIG1 = 0;
69 extern const int ADC_MR_TRGSEL_ADC_TRIG2 = 0;
70 extern const int ADC_MR_TRGSEL_ADC_TRIG3 = 0;
71 
72 
73 
74 #define __ARMCC_VERSION 400678
75 #define __attribute__(noinline)
76 
77 #define prog_void
78 #define PGM_VOID_P int
79 
80 
81 typedef unsigned char byte;
82 extern "C" void __cxa_pure_virtual() {;}
83 
84 
85 
86 #include <arduino.h>
87 #include <pins_arduino.h>
88 #include <variant.h>
89 #undef F
90 #define F(string_literal) ((const PROGMEM char *)(string_literal))
91 #undef PSTR
92 #define PSTR(string_literal) ((const PROGMEM char *)(string_literal))
93 #undef cli
94 #define cli()
95 #define pgm_read_byte(address_short)
96 #define pgm_read_word(address_short)
97 #define pgm_read_word2(address_short)
98 #define digitalPinToPort(P)
99 #define digitalPinToBitMask(P)
100 #define digitalPinToTimer(P)
101 #define analogInPinToBit(P)
102 #define portOutputRegister(P)
103 #define portInputRegister(P)
104 #define portModeRegister(P)
105 #include <..\VacuumPump\VacuumPump.ino>
106 #endif