Set EMBEDDED_TARGET=0 on config.mk for compiling the demo app
[bertos.git] / bertos / config.mk
index 05899995d381c2ee7b6a440ed22814e20302827b..b21b2c1f96210576eff3606c293eabee5a6797b3 100644 (file)
@@ -15,8 +15,8 @@ DPROG ?= -V -c stk500 -P /dev/ttyS0
 
 # Set to 1 to build for embedded devices.
 # e.g. produce target.elf instead of target and target_nostrip
-EMBEDDED_TARGET = 1
-#EMBEDDED_TARGET = 0
+#EMBEDDED_TARGET = 1
+EMBEDDED_TARGET = 0
 
 OPTCFLAGS = -ffunction-sections -fdata-sections
 #OPTCFLAGS = -funsafe-loop-optimizations
@@ -58,7 +58,7 @@ COFFCONVERT=$(OBJCOPY) \
        --change-section-address .noinit-0x800000 \
        --change-section-address .eeprom-0x810000
 
-INCDIR  = -Ibertos 
+INCDIR  = -I. -Ibertos 
 LIBDIR  = lib
 OBJDIR  = obj
 OUTDIR  = images