Update TODO list and some defconfigs.

This commit is contained in:
Gregory Nutt 2017-06-19 10:56:34 -06:00
parent 94b607bda0
commit 476ca8238b
3 changed files with 21 additions and 6 deletions

19
TODO
View File

@ -2077,16 +2077,27 @@ o Build system
UPDATE: There is another way that Control-C can break dependencies:
If you control-c out of the make during the apps/ part of the build,
the archive at apps/libapps.a is deleted. When you rebuild the
system, the first file archived will create libapps.a and set the
timestamp to the current time. Then, none of the other object files
will be added to the archive because they are all older.
the archive at apps/libapps.a is deleted. You can see this in the
make outout, for example:
CC: ieee802154_getsaddr.c
make[2]: *** [Makefile:104: ieee802154_getsaddr.o] Interrupt
make: *** Deleting file '../apps/libapps.a'
When you rebuild the system, the first file archived will recreate
libapps.a and set the timestamp to the current time. Then, none of
the other object files will be added to the archive because they are
all older.
The typical symptom of such an issue is a link time error like:
LD: nuttx libsched.a(os_bringup.o): In function `os_bringup':
os_bringup.c:(.text+0x34): undefined reference to `nsh_main'
The work-around for now is:
$ make apps_distclean
Status Open
Priority: Medium-High. It is a rare event that control-C happens at just the
point in time. However, when it does occur the resulting code may

View File

@ -1353,7 +1353,9 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
# CONFIG_EXAMPLES_TIFF is not set
# CONFIG_EXAMPLES_TOUCHSCREEN is not set
CONFIG_EXAMPLES_UDP=y
# CONFIG_EXAMPLES_UDP_SERVER is not set
# CONFIG_EXAMPLES_UDP_SERVER1 is not set
CONFIG_EXAMPLES_UDP_PRIORITY1=100
CONFIG_EXAMPLES_UDP_STACKSIZE1=2048
CONFIG_EXAMPLES_UDP_DEVNAME="wpan0"
# CONFIG_EXAMPLES_UDP_NETINIT is not set
CONFIG_EXAMPLES_UDP_IPv6=y

View File

@ -844,7 +844,9 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
# CONFIG_EXAMPLES_TIFF is not set
# CONFIG_EXAMPLES_TOUCHSCREEN is not set
CONFIG_EXAMPLES_UDP=y
# CONFIG_EXAMPLES_UDP_SERVER is not set
# CONFIG_EXAMPLES_UDP_SERVER1 is not set
CONFIG_EXAMPLES_UDP_PRIORITY1=100
CONFIG_EXAMPLES_UDP_STACKSIZE1=2048
CONFIG_EXAMPLES_UDP_DEVNAME="eth0"
CONFIG_EXAMPLES_UDP_NETINIT=y
CONFIG_EXAMPLES_UDP_IPv4=y