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
This commit is contained in:
Theodore Ateba 2017-12-20 20:30:10 +00:00
parent 75d472f580
commit e3f12486f0
12 changed files with 17 additions and 43 deletions

View File

@ -92,10 +92,6 @@ include $(CHIBIOS)/os/hal/osal/nil/osal.mk
# RTOS files (optional). # RTOS files (optional).
include $(CHIBIOS)/os/nil/nil.mk include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.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.) # List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \ CSRC = $(KERNSRC) \
@ -104,14 +100,13 @@ CSRC = $(KERNSRC) \
$(HALSRC) \ $(HALSRC) \
$(PLATFORMSRC) \ $(PLATFORMSRC) \
$(BOARDSRC) \ $(BOARDSRC) \
$(TESTSRC) \
main.c main.c
# List C++ sources file here. # List C++ sources file here.
CPPSRC = CPPSRC =
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \ INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \ $(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(BOARDINC)
# #

View File

@ -169,7 +169,7 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols. * provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE. * @note Requires @p CH_CFG_USE_MEMCORE.
*/ */
#define CH_CFG_MEMCORE_SIZE 0 #define CH_CFG_MEMCORE_SIZE 128
/** @} */ /** @} */

View File

@ -92,10 +92,6 @@ include $(CHIBIOS)/os/hal/osal/nil/osal.mk
# RTOS files (optional). # RTOS files (optional).
include $(CHIBIOS)/os/nil/nil.mk include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.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.) # List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \ CSRC = $(KERNSRC) \
@ -104,14 +100,13 @@ CSRC = $(KERNSRC) \
$(HALSRC) \ $(HALSRC) \
$(PLATFORMSRC) \ $(PLATFORMSRC) \
$(BOARDSRC) \ $(BOARDSRC) \
$(TESTSRC) \
main.c main.c
# List C++ sources file here. # List C++ sources file here.
CPPSRC = CPPSRC =
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \ INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \ $(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(BOARDINC)
# #

View File

@ -169,7 +169,7 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols. * provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE. * @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. * @note The default is @p FALSE.
*/ */
#define CH_CFG_USE_FACTORY TRUE #define CH_CFG_USE_FACTORY FALSE
/** /**
* @brief Maximum length for object names. * @brief Maximum length for object names.

View File

@ -92,10 +92,6 @@ include $(CHIBIOS)/os/hal/osal/nil/osal.mk
# RTOS files (optional). # RTOS files (optional).
include $(CHIBIOS)/os/nil/nil.mk include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.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.) # List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \ CSRC = $(KERNSRC) \
@ -104,14 +100,13 @@ CSRC = $(KERNSRC) \
$(HALSRC) \ $(HALSRC) \
$(PLATFORMSRC) \ $(PLATFORMSRC) \
$(BOARDSRC) \ $(BOARDSRC) \
$(TESTSRC) \
main.c main.c
# List C++ sources file here. # List C++ sources file here.
CPPSRC = CPPSRC =
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \ INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \ $(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(BOARDINC)
# #

View File

@ -169,7 +169,7 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols. * provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE. * @note Requires @p CH_CFG_USE_MEMCORE.
*/ */
#define CH_CFG_MEMCORE_SIZE 0 #define CH_CFG_MEMCORE_SIZE 128
/** @} */ /** @} */

View File

@ -92,10 +92,6 @@ include $(CHIBIOS)/os/hal/osal/nil/osal.mk
# RTOS files (optional). # RTOS files (optional).
include $(CHIBIOS)/os/nil/nil.mk include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.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.) # List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \ CSRC = $(KERNSRC) \
@ -104,14 +100,13 @@ CSRC = $(KERNSRC) \
$(HALSRC) \ $(HALSRC) \
$(PLATFORMSRC) \ $(PLATFORMSRC) \
$(BOARDSRC) \ $(BOARDSRC) \
$(TESTSRC) \
main.c main.c
# List C++ sources file here. # List C++ sources file here.
CPPSRC = CPPSRC =
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \ INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \ $(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(BOARDINC)
# #

View File

@ -169,7 +169,7 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols. * provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE. * @note Requires @p CH_CFG_USE_MEMCORE.
*/ */
#define CH_CFG_MEMCORE_SIZE 0 #define CH_CFG_MEMCORE_SIZE 128
/** @} */ /** @} */

View File

@ -93,7 +93,6 @@ include $(CHIBIOS)/os/hal/osal/nil/osal.mk
include $(CHIBIOS)/os/nil/nil.mk include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
# List C source files here. (C dependencies are automatically generated.) # List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \ CSRC = $(KERNSRC) \
$(PORTSRC) \ $(PORTSRC) \

View File

@ -169,7 +169,7 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols. * provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE. * @note Requires @p CH_CFG_USE_MEMCORE.
*/ */
#define CH_CFG_MEMCORE_SIZE 0 #define CH_CFG_MEMCORE_SIZE 128
/** @} */ /** @} */

View File

@ -92,11 +92,6 @@ include $(CHIBIOS)/os/hal/osal/nil/osal.mk
# RTOS files (optional). # RTOS files (optional).
include $(CHIBIOS)/os/nil/nil.mk include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.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.) # List C source files here. (C dependencies are automatically generated.)
CSRC = $(KERNSRC) \ CSRC = $(KERNSRC) \
@ -112,7 +107,7 @@ CSRC = $(KERNSRC) \
CPPSRC = CPPSRC =
INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \ INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
$(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \ $(HALINC) $(OSALINC) $(PLATFORMINC) \
$(BOARDINC) $(BOARDINC)
# #

View File

@ -169,7 +169,7 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols. * provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE. * @note Requires @p CH_CFG_USE_MEMCORE.
*/ */
#define CH_CFG_MEMCORE_SIZE 0 #define CH_CFG_MEMCORE_SIZE 128
/** @} */ /** @} */