diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2017-12-20 20:30:10 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2017-12-20 20:30:10 +0000 |
commit | e3f12486f060b88043ff92736e2cd45c2dda5f5b (patch) | |
tree | 239d0bac90d4e1047917c8c99e79e39b334f604b /demos/AVR/NIL-ARDUINO-MINI | |
parent | 75d472f580b00e9d616b493929e100b6cad8dc9d (diff) | |
download | ChibiOS-e3f12486f060b88043ff92736e2cd45c2dda5f5b.tar.gz ChibiOS-e3f12486f060b88043ff92736e2cd45c2dda5f5b.tar.bz2 ChibiOS-e3f12486f060b88043ff92736e2cd45c2dda5f5b.zip |
AVR: Update NIL demos files to resolve the error undefined reference to __heap_base__ and undefined reference to __heap_end__
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11154 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR/NIL-ARDUINO-MINI')
-rw-r--r-- | demos/AVR/NIL-ARDUINO-MINI/Makefile | 9 | ||||
-rw-r--r-- | demos/AVR/NIL-ARDUINO-MINI/chconf.h | 4 |
2 files changed, 4 insertions, 9 deletions
diff --git a/demos/AVR/NIL-ARDUINO-MINI/Makefile b/demos/AVR/NIL-ARDUINO-MINI/Makefile index 8efdf3ebe..e9db784bd 100644 --- a/demos/AVR/NIL-ARDUINO-MINI/Makefile +++ b/demos/AVR/NIL-ARDUINO-MINI/Makefile @@ -92,10 +92,6 @@ include $(CHIBIOS)/os/hal/osal/nil/osal.mk # RTOS files (optional).
include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
-# Other files (optional).
-include $(CHIBIOS)/test/lib/test.mk
-include $(CHIBIOS)/test/nil/nil_test.mk
-include $(CHIBIOS)/test/oslib/oslib_test.mk
# List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \
@@ -104,14 +100,13 @@ CSRC = $(KERNSRC) \ $(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
- $(TESTSRC) \
main.c
# List C++ sources file here.
CPPSRC =
-INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
- $(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
+INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
+ $(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC)
#
diff --git a/demos/AVR/NIL-ARDUINO-MINI/chconf.h b/demos/AVR/NIL-ARDUINO-MINI/chconf.h index 864bdb872..c52704ba7 100644 --- a/demos/AVR/NIL-ARDUINO-MINI/chconf.h +++ b/demos/AVR/NIL-ARDUINO-MINI/chconf.h @@ -169,7 +169,7 @@ * provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE.
*/
-#define CH_CFG_MEMCORE_SIZE 0
+#define CH_CFG_MEMCORE_SIZE 128
/** @} */
@@ -187,7 +187,7 @@ *
* @note The default is @p FALSE.
*/
-#define CH_CFG_USE_FACTORY TRUE
+#define CH_CFG_USE_FACTORY FALSE
/**
* @brief Maximum length for object names.
|