aboutsummaryrefslogtreecommitdiffhomepage
path: root/AT91SAM7S256/Source/stdconst.h
diff options
context:
space:
mode:
authorNicolas Schodet2023-03-06 17:36:31 +0100
committerNicolas Schodet2023-03-06 17:36:31 +0100
commitd383f2bcdb6ff13cc562fce1ff55d826035debad (patch)
treef5cd0440869b8ba823fd254b361cdefe95e153b4 /AT91SAM7S256/Source/stdconst.h
parent8fce63fda48a6593870ffd3c584c9dd0808bc2c2 (diff)
Simplify source tree
Now just use make in the root directory to build.
Diffstat (limited to 'AT91SAM7S256/Source/stdconst.h')
-rw-r--r--AT91SAM7S256/Source/stdconst.h74
1 files changed, 0 insertions, 74 deletions
diff --git a/AT91SAM7S256/Source/stdconst.h b/AT91SAM7S256/Source/stdconst.h
deleted file mode 100644
index 6c08175..0000000
--- a/AT91SAM7S256/Source/stdconst.h
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// Programmer
-//
-// Date init 14.12.2004
-//
-// Reviser $Author:: Dkandlun $
-//
-// Revision date $Date:: 14-11-07 12:40 $
-//
-// Filename $Workfile:: stdconst.h $
-//
-// Version $Revision:: 1 $
-//
-// Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/stdcon $
-//
-// Platform C
-//
-
-
-#ifndef STDCONST
-#define STDCONST
-
-#include "config.h"
-
-#ifndef NULL
-#define NULL ((void *)0)
-#endif
-
-#define TRUE 1
-#define FALSE 0
-
-typedef unsigned char UCHAR;
-typedef unsigned short USHORT;
-
-typedef unsigned char UBYTE;
-typedef signed char SBYTE;
-typedef unsigned short int UWORD;
-typedef signed short int SWORD;
-typedef unsigned long ULONG;
-typedef signed long SLONG;
-
-typedef ULONG* PULONG;
-typedef USHORT* PUSHORT;
-typedef UCHAR* PUCHAR;
-typedef char* PSZ;
-
-#define BASETYPES
-
-#ifdef __GNUC__
-#define DEFINE_DATA(type, name) \
- extern const type name ## _; \
- const type * const name = &name ## _; \
- const type name ## _
-#define BEGIN_DATA {
-#define END_DATA }
-#define POINTER_TO_DATA(name) (&name ## _)
-#define SIZEOF_DATA(name) (sizeof_ ## name)
-#else
-#define DEFINE_DATA(type, name) \
- const type name[]
-#define BEGIN_DATA
-#define END_DATA
-#define POINTER_TO_DATA(name) (name)
-#define SIZEOF_DATA(name) (sizeof (name))
-#endif
-
-#ifdef __GNUC__
-#define __ramfunc __attribute__ ((section (".fastrun"), optimize ("no-jump-tables")))
-#define __ramdata __attribute__ ((section (".data")))
-#else
-#define __ramdata
-#endif
-
-#endif