Closed paulb-nl closed 6 years ago
Remaining space on audio fw gets alarmingly low after applying the patch:
Info: (sys_controller.elf) 37 KBytes program size (code + initialized data). Info: 664 Bytes free for stack + heap.
The stack size is more than 680 bytes at worst (set CHECK_STACK_USE on firmware.c), so it can potentially crash CPU or corrupt data. Holding the commit for now.
Displaying the raw value (0-15) instead of 0.5-2.0 increases free space to 796 bytes. Do you think that is enough?
With a few other size reductions it might still fit but space gets very tight. In any case, this will merged at the latest when current memory limitation has been properly solved.
Rebased and removed unrelated Info screen commit.
The if (memcmp had to be changed back because it was applying the previous value when changing gain settings. It also was not applying the saved gain settings on boot.
The bottom line on Info screen was showing previous menu text if there was no sync.