summaryrefslogtreecommitdiff
path: root/src/arch/esp8266
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-07-12 10:58:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-07-12 10:58:56 +0200
commite632d5c4a0541385c37af6ef9af3373fcc100adf (patch)
treee9b59b1039fac74662d493e67891499dc7c2fafe /src/arch/esp8266
parent68eb5f7bf403f4a8cfc42b54b6a7fea087d34960 (diff)
Only include hw i2c drivers if sw i2c is not active
Diffstat (limited to 'src/arch/esp8266')
-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 82755ce..33df2b2 100644
--- a/src/arch/esp8266/Makefile.inc
+++ b/src/arch/esp8266/Makefile.inc
@@ -16,7 +16,7 @@ ifeq (${aspectc}, 1)
endif
INCLUDES += -Iinclude/esp8266 -I${SDK_BASE}/include
-COMMON_FLAGS += -nostdlib -mlongcalls -D__ets__ -DICACHE_FLASH
+COMMON_FLAGS += -nostdlib -mlongcalls -D__ets__ -DICACHE_FLASH -DMULTIPASS_ARCH_esp8266
CXXFLAGS = -std=c++11
LDFLAGS += -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static