From 476ca8238bdf4eda97bd378d350a485763c342e2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 19 Jun 2017 10:56:34 -0600 Subject: [PATCH] Update TODO list and some defconfigs. --- TODO | 19 +++++++++++++++---- .../clicker2-stm32/mrf24j40-6lowpan/defconfig | 4 +++- configs/ntosd-dm320/udp/defconfig | 4 +++- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/TODO b/TODO index 988e277d3a..090e12c2ac 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig b/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig index 2a1b65fb72..e004bdd853 100644 --- a/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig +++ b/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig @@ -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 diff --git a/configs/ntosd-dm320/udp/defconfig b/configs/ntosd-dm320/udp/defconfig index ab6ba7ea09..d1f3f7d39d 100644 --- a/configs/ntosd-dm320/udp/defconfig +++ b/configs/ntosd-dm320/udp/defconfig @@ -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