From: batt Date: Wed, 12 Nov 2008 21:40:31 +0000 (+0000) Subject: Set default to cooperative; add debug informations. X-Git-Tag: 2.0.0~4 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=bbb39b058f85008228263834a852153b0d747230;p=bertos.git Set default to cooperative; add debug informations. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1930 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/examples/demo/demo.mk b/examples/demo/demo.mk index 504d80fa..cef81a26 100644 --- a/examples/demo/demo.mk +++ b/examples/demo/demo.mk @@ -54,7 +54,7 @@ demo_CSRC = \ bertos/mware/sprintf.c \ bertos/kern/idle.c \ bertos/kern/irq.c \ - bertos/kern/preempt.c \ + bertos/kern/coop.c \ bertos/kern/proc.c \ bertos/kern/proc_test.c \ bertos/kern/sem.c \ @@ -66,7 +66,7 @@ demo_CPPASRC = \ bertos/emul/switch.S # FIXME: maybe this junk should go in emul/emul.mk? -$(OBJDIR)/demo/bertos/emul/emulwin.o: bertos/emul/emulwin_moc.cpp +$(OBJDIR)/demo/bertos/emul/emulwin.o: bertos/emul/emulwin_moc.cpp $(OBJDIR)/demo/bertos/drv/lcd_gfx_qt.o: bertos/drv/lcd_gfx_qt_moc.cpp $(OBJDIR)/demo/bertos/drv/timer.o: bertos/emul/timer_qt_moc.cpp $(OBJDIR)/demo/bertos/emul/emulkbd.o: bertos/emul/emulkbd_moc.cpp @@ -76,8 +76,8 @@ bertos/emul/timer_qt_moc.cpp: bertos/emul/timer_qt.c $(QT_MOC) -o $@ $< -demo_CFLAGS = -Iexamples/demo $(EMUL_CFLAGS) -demo_CXXFLAGS = -Iexamples/demo $(EMUL_CFLAGS) +demo_CFLAGS = -O0 -g3 -ggdb -Iexamples/demo $(EMUL_CFLAGS) +demo_CXXFLAGS = -O0 -g3 -ggdb -Iexamples/demo $(EMUL_CFLAGS) demo_LDFLAGS = $(EMUL_LDFLAGS) # Debug stuff