Hi team, is there any way to import a compressed file into the firmware during compile?
I’m trying to get past the firmware size limitation to flash onto the device.
I know I can use the SD card, but trying to do it without it. In a header file, I’m defining a large array of Unsigned Long Long [20k approximately) which stores a values up to 13 digits . I was thinking, perhaps I could compress it into a binary file, import, compile, flash the device. Then when it boots up, decompress and load into RAM.
The error I get is the following:
.text' will not fit in region APP_FLASH’
region `APP_FLASH’ overflowed by 11888 bytes
collect2: error: ld returned 1 exit status