mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Add time and uptime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3506 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -332,6 +332,17 @@ must be is one of the following:
|
|||||||
This specall make command ('make pass1 pass2') will make the dependencies
|
This specall make command ('make pass1 pass2') will make the dependencies
|
||||||
separately for each pass.
|
separately for each pass.
|
||||||
|
|
||||||
|
At there end of the build, there four files will top-level build
|
||||||
|
directory:
|
||||||
|
|
||||||
|
nuttx_user.elf - The pass1 ELF file
|
||||||
|
nuttx - The pass2 ELF file
|
||||||
|
nuttx_user.ihx - The pass1 Intel HEX format file
|
||||||
|
nuttx.ihx - The pass2 Intel HEX file
|
||||||
|
|
||||||
|
The J-Link program will except files in .hex, .mot, .srec, and .bin
|
||||||
|
formats.
|
||||||
|
|
||||||
nsh:
|
nsh:
|
||||||
Configures the NuttShell (nsh) located at examples/nsh. The
|
Configures the NuttShell (nsh) located at examples/nsh. The
|
||||||
Configuration enables both the serial and telnetd NSH interfaces.
|
Configuration enables both the serial and telnetd NSH interfaces.
|
||||||
|
|||||||
@@ -71,6 +71,18 @@ nuttx_user.elf:
|
|||||||
$(TOPDIR)/nuttx_user.elf: nuttx_user.elf
|
$(TOPDIR)/nuttx_user.elf: nuttx_user.elf
|
||||||
@echo "LD: nuttx_user.elf"
|
@echo "LD: nuttx_user.elf"
|
||||||
@cp -a nuttx_user.elf $(TOPDIR)/nuttx_user.elf
|
@cp -a nuttx_user.elf $(TOPDIR)/nuttx_user.elf
|
||||||
|
ifeq ($(CONFIG_INTELHEX_BINARY),y)
|
||||||
|
@echo "CP: nuttx_user.ihx"
|
||||||
|
@$(OBJCOPY) $(OBJCOPYARGS) -O ihex nuttx_user.elf $(TOPDIR)/nuttx_user.ihx
|
||||||
|
endif
|
||||||
|
ifeq ($(CONFIG_MOTOROLA_SREC),y)
|
||||||
|
@echo "CP: nuttx_user.srec"
|
||||||
|
@$(OBJCOPY) $(OBJCOPYARGS) -O srec nuttx_user.elf $(TOPDIR)/nuttx_user.srec
|
||||||
|
endif
|
||||||
|
ifeq ($(CONFIG_RAW_BINARY),y)
|
||||||
|
@echo "CP: nuttx_user.bin"
|
||||||
|
@$(OBJCOPY) $(OBJCOPYARGS) -O binary nuttx_user.elf $(TOPDIR)/nuttx_user.bin
|
||||||
|
endif
|
||||||
|
|
||||||
$(TOPDIR)/User.map: nuttx_user.elf
|
$(TOPDIR)/User.map: nuttx_user.elf
|
||||||
@echo "MK: User.map"
|
@echo "MK: User.map"
|
||||||
|
|||||||
@@ -202,9 +202,9 @@ CONFIG_USART3_2STOP=0
|
|||||||
# CONFIG_HAVE_LIBM - toolchain supports libm.a
|
# CONFIG_HAVE_LIBM - toolchain supports libm.a
|
||||||
#
|
#
|
||||||
CONFIG_RRLOAD_BINARY=n
|
CONFIG_RRLOAD_BINARY=n
|
||||||
CONFIG_INTELHEX_BINARY=n
|
CONFIG_INTELHEX_BINARY=y
|
||||||
CONFIG_MOTOROLA_SREC=n
|
CONFIG_MOTOROLA_SREC=n
|
||||||
CONFIG_RAW_BINARY=y
|
CONFIG_RAW_BINARY=n
|
||||||
CONFIG_HAVE_LIBM=n
|
CONFIG_HAVE_LIBM=n
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user