Update README

This commit is contained in:
Gregory Nutt
2016-01-17 08:11:59 -06:00
parent 6cf87e5fd5
commit 736e5224b8
+12 -11
View File
@@ -86,19 +86,20 @@ Configurations
1. As of 2015-01-16, the default static memory usage is: 1. As of 2015-01-16, the default static memory usage is:
$ size nuttx.elf $ size nuttx.elf
text data bss dec hex filename text data bss dec hex filename
34348 2117 944 37409 9221 nuttx.elf 34348 2117 944 37409 9221 nuttx.elf
And dynamic, heap usage: And dynamic, heap usage:
nsh> free nsh> free
total used free largest total used free largest
Mem: 4736 1768 2968 2968 Mem: 4736 1768 2968 2968
There is plenty of FLASH space, so many additional NSH featurs There is plenty of FLASH space but not a lot of free SRAM. This
could be enabled. There is, however, not a lot of free SRAM. SRAM usage is due primarily to constant strings defined by NSH.
NOTE: There is partial support for the MEMX pointer in apps/nshlib. NOTE: I investigated the possibility of adding IPTR/IOBJ
If that support were completed then some reduction of the static qualifiers in the NSH library and moving the strings to FLASH.
.data allocation could be achieved by enabling the MEMX pointer. This is still a possibility but would requires some extensive
changes to NSH.