Initial commit of source code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
13
src/simulator/pgm.h
Normal file
13
src/simulator/pgm.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __SIMU_PGM_H
|
||||
#define __SIMU_PGM_H
|
||||
// This header provides wrappers for the AVR specific "PROGMEM"
|
||||
// declarations.
|
||||
|
||||
#define PROGMEM
|
||||
#define PSTR(S) S
|
||||
#define READP(VAR) VAR
|
||||
#define vsnprintf_P(D, S, F, A) vsnprintf(D, S, F, A)
|
||||
#define strcasecmp_P(S1, S2) strcasecmp(S1, S2)
|
||||
#define memcpy_P(DST, SRC, SIZE) memcpy((DST), (SRC), (SIZE))
|
||||
|
||||
#endif // pgm.h
|
||||
Reference in New Issue
Block a user