those are the bin and config diffs between 9.0 and 9.1 for Spresense board
(nsh defconfig)

file size
2232796 Jun 24 07:34 nuttx-9.0
2274908 Jun 24 07:31 nuttx-9.1

--- conf-9.0    2020-06-24 07:34:00.244923392 +0200
+++ conf-9.1    2020-06-24 07:30:35.748476384 +0200
@@ -129,10 +129,8 @@
 # CONFIG_ARCH_ARM1156T2 is not set
 # CONFIG_ARCH_ARM1176JZ is not set
 # CONFIG_ARCH_CORTEXM0 is not set
-# CONFIG_ARCH_CORTEXM23 is not set
 CONFIG_ARCH_ARMV7M=y
 # CONFIG_ARCH_CORTEXM3 is not set
-# CONFIG_ARCH_CORTEXM33 is not set
 CONFIG_ARCH_CORTEXM4=y
 # CONFIG_ARCH_CORTEXM7 is not set
 # CONFIG_ARCH_ARMV7A is not set
@@ -144,6 +142,10 @@
 # CONFIG_ARCH_CORTEXR4 is not set
 # CONFIG_ARCH_CORTEXR5 is not set
 # CONFIG_ARCH_CORTEXR7 is not set
+# CONFIG_ARCH_ARMV8M is not set
+# CONFIG_ARCH_CORTEXM23 is not set
+# CONFIG_ARCH_CORTEXM33 is not set
+# CONFIG_ARCH_CORTEXM35P is not set
 CONFIG_ARCH_FAMILY="armv7-m"
 CONFIG_ARCH_CHIP="cxd56xx"
 # CONFIG_ARCH_HAVE_TRUSTZONE is not set
@@ -165,8 +167,6 @@
 # CONFIG_ARMV7M_HAVE_DTCM is not set
 # CONFIG_ARMV7M_TOOLCHAIN_IARL is not set
 # CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT is not set
-# CONFIG_ARMV7M_TOOLCHAIN_CODEREDL is not set
-# CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL is not set
 CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y
 # CONFIG_ARMV7M_TOOLCHAIN_CLANGL is not set
 # CONFIG_ARMV7M_HAVE_STACKCHECK is not set
@@ -387,8 +387,12 @@
 # Board-Specific Options
 #
 CONFIG_CXD56_SPIFLASHSIZE=0x400000
-# CONFIG_SPRESENSE_EXTENSION is not set
+
+#
+# Audio Options
+#
 # CONFIG_CXD56_IMAGEPROC is not set
+# CONFIG_SPRESENSE_EXTENSION is not set

 #
 # LTE Options
@@ -457,7 +461,6 @@
 #
 # Pthread Options
 #
-CONFIG_NPTHREAD_KEYS=4
 # CONFIG_PTHREAD_MUTEX_TYPES is not set
 CONFIG_PTHREAD_MUTEX_ROBUST=y
 # CONFIG_PTHREAD_MUTEX_UNSAFE is not set
@@ -945,7 +948,6 @@
 # CONFIG_EOL_IS_LF is not set
 # CONFIG_EOL_IS_BOTH_CRLF is not set
 CONFIG_EOL_IS_EITHER_CRLF=y
-# CONFIG_MEMCPY_VIK is not set
 # CONFIG_LIBM is not set

 #
@@ -994,6 +996,7 @@
 #
 # memcpy/memset Options
 #
+# CONFIG_MEMCPY_VIK is not set
 # CONFIG_MEMSET_OPTSPEED is not set

 #
@@ -1011,12 +1014,12 @@
 # Time/Time Zone Support
 #
 # CONFIG_LIBC_LOCALTIME is not set
-CONFIG_ARCH_HAVE_TLS=y

 #
 # Thread Local Storage (TLS)
 #
-# CONFIG_TLS is not set
+# CONFIG_TLS_ALIGNED is not set
+CONFIG_TLS_NELEM=4

 #
 # Network-Related Options
@@ -1029,10 +1032,9 @@
 # NETDB Support
 #
 # CONFIG_LIBC_GAISTRERROR is not set
-CONFIG_NETDB_BUFSIZE=128
+CONFIG_NETDB_BUFSIZE=256
 CONFIG_NETDB_MAX_IPADDR=1
 # CONFIG_NETDB_HOSTFILE is not set
-CONFIG_LIBC_IOCTL_VARIADIC=y
 CONFIG_LIB_SENDFILE_BUFSIZE=512

 #
@@ -1084,7 +1086,6 @@
 # CONFIG_EXAMPLES_AUDIO_SOUND is not set
 # CONFIG_EXAMPLES_BATTERY is not set
 # CONFIG_EXAMPLES_SIXAXIS is not set
-# CONFIG_EXAMPLES_BUTTONS is not set
 # CONFIG_EXAMPLES_CALIB_UDELAY is not set
 # CONFIG_EXAMPLES_CCTYPE is not set
 # CONFIG_EXAMPLES_CHARGER is not set
@@ -1097,6 +1098,7 @@
 # CONFIG_EXAMPLES_FTPC is not set
 # CONFIG_EXAMPLES_FTPD is not set
 # CONFIG_EXAMPLES_GPS is not set
+# CONFIG_EXAMPLES_HDC1008 is not set
 # CONFIG_EXAMPLES_HELLO is not set
 # CONFIG_EXAMPLES_HELLOXX is not set
 # CONFIG_EXAMPLES_HIDKBD is not set
@@ -1257,7 +1259,7 @@
 # CONFIG_NSH_DISABLE_RM is not set
 # CONFIG_NSH_DISABLE_RMDIR is not set
 # CONFIG_NSH_DISABLE_SET is not set
-# CONFIG_NSH_DISABLE_SH is not set
+# CONFIG_NSH_DISABLE_SOURCE is not set
 # CONFIG_NSH_DISABLE_SLEEP is not set
 # CONFIG_NSH_DISABLE_TIME is not set
 # CONFIG_NSH_DISABLE_TEST is not set

On Wed, Jun 24, 2020 at 3:17 AM Gregory Nutt <spudan...@gmail.com> wrote:

> On 6/23/2020 6:59 PM, Gregory Nutt wrote:
> >
> >> I compared it to release 9.0 and noticed it increased about 3 KiB of
> >> Flash usage, but I didn't check further to see what happened.
> >>
> >> NuttX 9.0
> >>
> >> $ arm-none-eabi-size nuttx
> >>     text       data        bss        dec        hex    filename
> >>    68624        104       2496      71224      11638    nuttx
> >>
> >>
> >> NuttShell (NSH) NuttX-9.0.0
> >> nsh> free
> >>               total       used       free    largest
> >> Umem:       192976       7536     185440     125248
> >> nsh>
> >>
> >>
> >> NuttX 9.1 RC0
> >>
> >> $ arm-none-eabi-size nuttx
> >>     text       data        bss        dec        hex    filename
> >>    71732        104       2476      74312      12248    nuttx
> >>
> >>
> >> NuttShell (NSH) NuttX-9.1.0
> >> nsh> free
> >>               total       used       free    largest
> >> Umem:       192992       7536     185456     125264
> >> nsh>
> >
> > This might indicate a significant problem.  One possible explanation
> > might be that a new configuration option enables logic by default that
> > it should not.  Almost any explanation you can think of suggests a
> > problem.
>
> Can you look into this Alan?  I would think that an unexplained 3Kb size
> increase in such a trivial configuration would warrant a -1 vote.
>
>
>

Reply via email to