mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
The ELF loader is basically functional (needs more testing)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5265 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1007,6 +1007,10 @@ Where <subdir> is one of the following:
|
|||||||
3. By default, this project assumes that you are *NOT* using the DFU
|
3. By default, this project assumes that you are *NOT* using the DFU
|
||||||
bootloader.
|
bootloader.
|
||||||
|
|
||||||
|
4. This configuration requires that you have the genromfs tool installed
|
||||||
|
on your system and that you have the full path to the installed genromfs
|
||||||
|
executable in PATH variable (see apps/examples/README.txt)
|
||||||
|
|
||||||
ostest:
|
ostest:
|
||||||
------
|
------
|
||||||
This configuration directory, performs a simple OS test using
|
This configuration directory, performs a simple OS test using
|
||||||
|
|||||||
@@ -160,6 +160,7 @@ LDNXFLATFLAGS = -e main -s 2048
|
|||||||
|
|
||||||
# ELF module definitions
|
# ELF module definitions
|
||||||
|
|
||||||
|
CELFFLAGS = $(CFLAGS) -mlong-calls
|
||||||
LDELFFLAGS = -r -e main
|
LDELFFLAGS = -r -e main
|
||||||
ifeq ($(WINTOOL),y)
|
ifeq ($(WINTOOL),y)
|
||||||
LDELFFLAGS += -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/gnu-elf.ld}"
|
LDELFFLAGS += -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/gnu-elf.ld}"
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ CONFIG_STM32_USART2=y
|
|||||||
CONFIG_STM32_JTAG_SW_ENABLE=y
|
CONFIG_STM32_JTAG_SW_ENABLE=y
|
||||||
# CONFIG_STM32_FORCEPOWER is not set
|
# CONFIG_STM32_FORCEPOWER is not set
|
||||||
# CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG is not set
|
# CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG is not set
|
||||||
# CONFIG_STM32_CCMEXCLUDE is not set
|
CONFIG_STM32_CCMEXCLUDE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# USB Host Configuration
|
# USB Host Configuration
|
||||||
@@ -251,7 +251,7 @@ CONFIG_SDCLONE_DISABLE=y
|
|||||||
# CONFIG_SCHED_WAITPID is not set
|
# CONFIG_SCHED_WAITPID is not set
|
||||||
# CONFIG_SCHED_ATEXIT is not set
|
# CONFIG_SCHED_ATEXIT is not set
|
||||||
# CONFIG_SCHED_ONEXIT is not set
|
# CONFIG_SCHED_ONEXIT is not set
|
||||||
CONFIG_USER_ENTRYPOINT="ostest_main"
|
CONFIG_USER_ENTRYPOINT="elf_main"
|
||||||
CONFIG_DISABLE_OS_API=y
|
CONFIG_DISABLE_OS_API=y
|
||||||
# CONFIG_DISABLE_CLOCK is not set
|
# CONFIG_DISABLE_CLOCK is not set
|
||||||
# CONFIG_DISABLE_POSIX_TIMERS is not set
|
# CONFIG_DISABLE_POSIX_TIMERS is not set
|
||||||
@@ -387,6 +387,7 @@ CONFIG_ELF_ALIGN_LOG2=2
|
|||||||
CONFIG_ELF_STACKSIZE=2048
|
CONFIG_ELF_STACKSIZE=2048
|
||||||
CONFIG_ELF_BUFFERSIZE=128
|
CONFIG_ELF_BUFFERSIZE=128
|
||||||
CONFIG_ELF_BUFFERINCR=32
|
CONFIG_ELF_BUFFERINCR=32
|
||||||
|
# CONFIG_ELF_CONSTRUCTORS is not set
|
||||||
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -409,7 +410,7 @@ CONFIG_ARCH_LOWPUTC=y
|
|||||||
CONFIG_LIB_SENDFILE_BUFSIZE=512
|
CONFIG_LIB_SENDFILE_BUFSIZE=512
|
||||||
# CONFIG_ARCH_ROMGETC is not set
|
# CONFIG_ARCH_ROMGETC is not set
|
||||||
# CONFIG_ARCH_OPTIMIZED_FUNCTIONS is not set
|
# CONFIG_ARCH_OPTIMIZED_FUNCTIONS is not set
|
||||||
# CONFIG_HAVE_CXX is not set
|
CONFIG_HAVE_CXX=y
|
||||||
# CONFIG_HAVE_CXXINITIALIZE is not set
|
# CONFIG_HAVE_CXXINITIALIZE is not set
|
||||||
# CONFIG_CXX_NEWLONG is not set
|
# CONFIG_CXX_NEWLONG is not set
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user