Open nashif opened 7 years ago
by Samuel Mondal:
Hi,
It would be even more helpful if you can suggest me if any other persistent memory can be accessed to store a file rather than building the whole file system??
Regards, Samuel
by Anas Nashif:
this is an application size issue, without seeing your code it is very difficult to know what is going, look at tests/subsys/fs/fat_fs_api to see how to use the fs APIs as an example
Reported by Samuel Mondal:
I am trying to use files in Arduino 101 by building File System on Zephyr but I am getting error due to the shortage of RAM.
ERROR: home/varam/samuel/zephyr-sdk_0.8.2/sysroots/i686-pokysdk-linux/usr/bin/iamcu-poky-elfiamcu/../../libexec/iamcu-poky-elfiamcu/gcc/i586-poky-elfiamcu/5.2.1/real-ld: zephyr_prebuilt.elf section
noinit' will not fit in region
RAM' /home/varam/samuel/zephyr-sdk_0.8.2/sysroots/i686-pokysdk-linux/usr/bin/iamcu-poky-elfiamcu/../../libexec/iamcu-poky-elfiamcu/gcc/i586-poky-elfiamcu/5.2.1/real-ld: regionRAM' overflowed by 408 bytes collect2: error: ld returned 1 exit status make[2]: *** [zephyr_prebuilt.elf] Error 1 make[2]: Leaving directory
/home/varam/samuel/zephyr-osp/samples/fs_test/outdir/arduino_101' make[1]: [sub-make] Error 2 make[1]: Leaving directory `/home/varam/samuel/zephyr-osp' make: [all] Error 2I could have tried using CONFIG_RAM_SIZE but Arduino 101 has only 80 KB of RAM in total. So Is it possible to use FS on Arduino 101 by any means such as by reducing the size of the File System??
(Imported from Jira ZEP-1970)