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:
parent
75d472f580
commit
e3f12486f0
|
@ -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)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
|
@ -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) \
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue