130 lines
3.3 KiB
C
130 lines
3.3 KiB
C
/*
|
|
Editor: https://www.visualmicro.com/
|
|
This file is for intellisense purpose only.
|
|
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
|
|
The contents of the _vm sub folder can be deleted prior to publishing a project
|
|
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!).
|
|
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
|
|
|
|
Hardware: ESP32 Dev Module, Platform=esp32, Package=esp32
|
|
*/
|
|
|
|
#if defined(_VMICRO_INTELLISENSE)
|
|
|
|
#ifndef _VSARDUINO_H_
|
|
#define _VSARDUINO_H_
|
|
#define __ESP32_esp32__
|
|
#define __ESP32_ESP32__
|
|
#define ESP_PLATFORM
|
|
#define HAVE_CONFIG_H
|
|
#define F_CPU 240000000L
|
|
#define ARDUINO 10807
|
|
#define ARDUINO_ESP32_DEV
|
|
#define ARDUINO_ARCH_ESP32
|
|
#define ESP32
|
|
#define CORE_DEBUG_LEVEL 0
|
|
#define __cplusplus 201103L
|
|
|
|
#define _Pragma(x)
|
|
#undef __cplusplus
|
|
#define __cplusplus 201103L
|
|
|
|
#define __STDC__
|
|
#define __ARM__
|
|
#define __arm__
|
|
#define __inline__
|
|
#define __asm__(...)
|
|
#define __extension__
|
|
#define __ATTR_PURE__
|
|
#define __ATTR_CONST__
|
|
#define __volatile__
|
|
|
|
#define __ASM
|
|
#define __INLINE
|
|
#define __attribute__(noinline)
|
|
|
|
//#define _STD_BEGIN
|
|
//#define EMIT
|
|
#define WARNING
|
|
#define _Lockit
|
|
#define __CLR_OR_THIS_CALL
|
|
#define C4005
|
|
#define _NEW
|
|
|
|
typedef bool _Bool;
|
|
typedef int _read;
|
|
typedef int _seek;
|
|
typedef int _write;
|
|
typedef int _close;
|
|
typedef int __cleanup;
|
|
|
|
//#define inline
|
|
|
|
#define __builtin_clz
|
|
#define __builtin_clzl
|
|
#define __builtin_clzll
|
|
#define __builtin_labs
|
|
#define __builtin_va_list
|
|
typedef int __gnuc_va_list;
|
|
|
|
#define __ATOMIC_ACQ_REL
|
|
|
|
#define __CHAR_BIT__
|
|
#define _EXFUN()
|
|
|
|
typedef unsigned char byte;
|
|
extern "C" void __cxa_pure_virtual() {;}
|
|
|
|
typedef long __INTPTR_TYPE__ ;
|
|
typedef long __UINTPTR_TYPE__ ;
|
|
typedef long __SIZE_TYPE__ ;
|
|
typedef long __PTRDIFF_TYPE__;
|
|
|
|
typedef long pthread_t;
|
|
typedef long pthread_key_t;
|
|
typedef long pthread_once_t;
|
|
typedef long pthread_mutex_t;
|
|
typedef long pthread_mutex_t;
|
|
typedef long pthread_cond_t;
|
|
|
|
|
|
|
|
#include "arduino.h"
|
|
#include <pins_arduino.h>
|
|
|
|
//#include "..\generic\Common.h"
|
|
//#include "..\generic\pins_arduino.h"
|
|
|
|
//#undef F
|
|
//#define F(string_literal) ((const PROGMEM char *)(string_literal))
|
|
//#undef PSTR
|
|
//#define PSTR(string_literal) ((const PROGMEM char *)(string_literal))
|
|
//current vc++ does not understand this syntax so use older arduino example for intellisense
|
|
//todo:move to the new clang/gcc project types.
|
|
#define interrupts() sei()
|
|
#define noInterrupts() cli()
|
|
|
|
#include "wled00.ino"
|
|
#include "wled01_eeprom.ino"
|
|
#include "wled02_xml.ino"
|
|
#include "wled03_set.ino"
|
|
#include "wled04_file.ino"
|
|
#include "wled05_init.ino"
|
|
#include "wled06_usermod.ino"
|
|
#include "wled07_notify.ino"
|
|
#include "wled08_led.ino"
|
|
#include "wled09_button.ino"
|
|
#include "wled10_ntp.ino"
|
|
#include "wled11_ol.ino"
|
|
#include "wled12_alexa.ino"
|
|
#include "wled13_cronixie.ino"
|
|
#include "wled14_colors.ino"
|
|
#include "wled15_hue.ino"
|
|
#include "wled16_blynk.ino"
|
|
#include "wled17_mqtt.ino"
|
|
#include "wled18_server.ino"
|
|
#include "wled19_json.ino"
|
|
#include "wled20_ir.ino"
|
|
#endif
|
|
#endif
|