Fix an ommission in compiler.h
This commit is contained in:
parent
06438b0dcc
commit
670ac9fb2f
2
configs
2
configs
@ -1 +1 @@
|
|||||||
Subproject commit d4540c0f83378a6680ffd792ff1e4a8ca0ddd8b8
|
Subproject commit 16d7a0dab2c4a48583d40bcf1dbf8e9a74316e91
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user