7016 - Propel 2.2 and below: Why is File I/O Operation not working with Lattice Propel's Hello World Example?

7016 - Propel 2.2 and below: Why is File I/O Operation not working with Lattice Propel's Hello World Example?

Based on picolib documentation, the FILE I/O operation needs heap support. In the HELLO WORLD template of Lattice Propel, the heap size is set to 0x00 and needs to be changed.

Increase the heap size in the linker script and rebuild the project. Just open the linker.ld in /src file path of the Cproject and change 0x00 to 0x1000.