mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Fix an ommission in compiler.h
This commit is contained in:
+1
-1
Submodule configs updated: d4540c0f83...16d7a0dab2
@@ -147,12 +147,17 @@
|
|||||||
# undef CONFIG_PTR_IS_NOT_INT
|
# undef CONFIG_PTR_IS_NOT_INT
|
||||||
|
|
||||||
#elif defined(__AVR__)
|
#elif defined(__AVR__)
|
||||||
|
# if defined(CONFIG_AVR_HAS_MEMX_PTR)
|
||||||
/* I-space access qualifiers needed by Harvard architecture */
|
/* I-space access qualifiers needed by Harvard architecture */
|
||||||
|
|
||||||
# if defined(CONFIG_AVR_HAS_MEMX_PTR)
|
|
||||||
# define IOBJ __flash
|
# define IOBJ __flash
|
||||||
# define IPTR __memx
|
# define IPTR __memx
|
||||||
|
|
||||||
|
# else
|
||||||
|
/* No I-space access qualifiers */
|
||||||
|
|
||||||
|
# define IOBJ
|
||||||
|
# define IPTR
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/* Select the small, 16-bit addressing model */
|
/* Select the small, 16-bit addressing model */
|
||||||
|
|||||||
Reference in New Issue
Block a user