Uploaded the library
This commit is contained in:
88
examples/Max7456Write/Visual Micro/.Max7456Write.vsarduino.h
Normal file
88
examples/Max7456Write/Visual Micro/.Max7456Write.vsarduino.h
Normal file
@ -0,0 +1,88 @@
|
||||
/*
|
||||
Editor: http://www.visualmicro.com
|
||||
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 Visual Micro sketch 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: Arduino Nano w/ ATmega328, Platform=avr, Package=arduino
|
||||
*/
|
||||
|
||||
#ifndef _VSARDUINO_H_
|
||||
#define _VSARDUINO_H_
|
||||
#define __AVR_ATmega328p__
|
||||
#define __AVR_ATmega328P__
|
||||
#define F_CPU 16000000L
|
||||
#define ARDUINO 160
|
||||
#define ARDUINO_AVR_NANO
|
||||
#define ARDUINO_ARCH_AVR
|
||||
#define __cplusplus
|
||||
#define __inline__
|
||||
#define __asm__(x)
|
||||
#define __extension__
|
||||
//#define __ATTR_PURE__
|
||||
//#define __ATTR_CONST__
|
||||
#define __inline__
|
||||
//#define __asm__
|
||||
#define __volatile__
|
||||
#define GCC_VERSION 40801
|
||||
#define volatile(va_arg)
|
||||
#define _CONST
|
||||
typedef void *__builtin_va_list;
|
||||
#define __builtin_va_start
|
||||
#define __builtin_va_end
|
||||
//#define __DOXYGEN__
|
||||
#define __attribute__(x)
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
#define prog_void
|
||||
#define PGM_VOID_P int
|
||||
#ifndef __builtin_constant_p
|
||||
#define __builtin_constant_p __attribute__((__const__))
|
||||
#endif
|
||||
#ifndef __builtin_strlen
|
||||
#define __builtin_strlen __attribute__((__const__))
|
||||
#endif
|
||||
#define NEW_H
|
||||
/*
|
||||
#ifndef __ATTR_CONST__
|
||||
#define __ATTR_CONST__ __attribute__((__const__))
|
||||
#endif
|
||||
|
||||
#ifndef __ATTR_MALLOC__
|
||||
#define __ATTR_MALLOC__ __attribute__((__malloc__))
|
||||
#endif
|
||||
|
||||
#ifndef __ATTR_NORETURN__
|
||||
#define __ATTR_NORETURN__ __attribute__((__noreturn__))
|
||||
#endif
|
||||
|
||||
#ifndef __ATTR_PURE__
|
||||
#define __ATTR_PURE__ __attribute__((__pure__))
|
||||
#endif
|
||||
*/
|
||||
typedef unsigned char byte;
|
||||
extern "C" void __cxa_pure_virtual() {;}
|
||||
|
||||
|
||||
|
||||
#include <arduino.h>
|
||||
#include <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))
|
||||
#undef cli
|
||||
#define cli()
|
||||
#define pgm_read_byte(address_short)
|
||||
#define pgm_read_word(address_short)
|
||||
#define pgm_read_word2(address_short)
|
||||
#define digitalPinToPort(P)
|
||||
#define digitalPinToBitMask(P)
|
||||
#define digitalPinToTimer(P)
|
||||
#define analogInPinToBit(P)
|
||||
#define portOutputRegister(P)
|
||||
#define portInputRegister(P)
|
||||
#define portModeRegister(P)
|
||||
#include <Max7456Write.ino>
|
||||
#include <Max7456WriteTable.h>
|
||||
#endif
|
12
examples/Max7456Write/Visual Micro/Compile.vmps.xml
Normal file
12
examples/Max7456Write/Visual Micro/Compile.vmps.xml
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user