projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sistema l'errore da me commesso in fase di conversione...
[bertos.git]
/
cfg
/
cpu_detect.h
diff --git
a/cfg/cpu_detect.h
b/cfg/cpu_detect.h
old mode 100755
(executable)
new mode 100644
(file)
index
a2248cf
..
615f952
--- a/
cfg/cpu_detect.h
+++ b/
cfg/cpu_detect.h
@@
-11,12
+11,6
@@
#ifndef CPU_DETECT_H
#define CPU_DETECT_H
#ifndef CPU_DETECT_H
#define CPU_DETECT_H
-/* sparse? */
-#ifdef __CHECKER__
- /* Any random CPU will do */
- #define __arm__
-#endif
-
#if defined(__arm__) /* GCC */ \
|| defined(__ARM4TM__) /* IAR: defined for all cores >= 4tm */
#define CPU_ARM 1
#if defined(__arm__) /* GCC */ \
|| defined(__ARM4TM__) /* IAR: defined for all cores >= 4tm */
#define CPU_ARM 1
@@
-27,6
+21,7
@@
#if (defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)) \
&& !defined(__ARM4TM__) /* IAR: if not ARM assume I196 */
#if (defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)) \
&& !defined(__ARM4TM__) /* IAR: if not ARM assume I196 */
+ #warning Assuming CPU is I196
#define CPU_I196 1
#define CPU_ID i196
#else
#define CPU_I196 1
#define CPU_ID i196
#else