Fix an ommission in compiler.h

This commit is contained in:
Gregory Nutt 2016-01-05 14:46:49 -06:00
parent 06438b0dcc
commit 670ac9fb2f
2 changed files with 8 additions and 3 deletions

@ -1 +1 @@
Subproject commit d4540c0f83378a6680ffd792ff1e4a8ca0ddd8b8
Subproject commit 16d7a0dab2c4a48583d40bcf1dbf8e9a74316e91

View File

@ -147,12 +147,17 @@
# undef CONFIG_PTR_IS_NOT_INT
#elif defined(__AVR__)
# if defined(CONFIG_AVR_HAS_MEMX_PTR)
/* I-space access qualifiers needed by Harvard architecture */
# if defined(CONFIG_AVR_HAS_MEMX_PTR)
# define IOBJ __flash
# define IPTR __memx
# else
/* No I-space access qualifiers */
# define IOBJ
# define IPTR
# endif
/* Select the small, 16-bit addressing model */