From e49ce1e6d726ba7d3e6f80a9608d80cab316df32 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 6 Dec 2017 13:49:32 +0100 Subject: Add support for arduino-like loop function + blinky on esp8266 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 468b153..656686a 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,10 @@ CXXFLAGS = -std=c++14 TARGETS = src/os/main.cc +ifeq (${arduino}, 1) + COMMON_FLAGS += -DWITH_LOOP +endif + include src/arch/${arch}/Makefile.inc clean: arch_clean -- cgit v1.2.3