summaryrefslogtreecommitdiff
path: root/src/arch/esp8266/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-06 13:49:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-06 13:49:32 +0100
commite49ce1e6d726ba7d3e6f80a9608d80cab316df32 (patch)
tree3c60defa36fc6ba7c1bfa106e57eae6209f5122c /src/arch/esp8266/Makefile.inc
parent82b779944d2c733d1db7a63a87452d9a5654a554 (diff)
Add support for arduino-like loop function + blinky on esp8266
Diffstat (limited to 'src/arch/esp8266/Makefile.inc')
-rw-r--r--src/arch/esp8266/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc
index 3f7f9ff..b0fc4ce 100644
--- a/src/arch/esp8266/Makefile.inc
+++ b/src/arch/esp8266/Makefile.inc
@@ -11,7 +11,7 @@ AR = ${TOOLCHAIN_BASE}/xtensa-lx106-elf-ar
LD = ${TOOLCHAIN_BASE}/xtensa-lx106-elf-gcc
INCLUDES += -Iinclude/esp8266 -I${SDK_BASE}/include
-COMMON_FLAGS += -nostdlib -mlongcalls
+COMMON_FLAGS += -nostdlib -mlongcalls -D__ets__ -DICACHE_FLASH
CXXFLAGS = -std=c++11
LDFLAGS += -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static