-
If you get time, please could you do a PR for the modified check in the Makefile? ... actually the DATA section could fit in but the other sections placed after (because of Nordic's SDK hacks) would still overlap
Maybe it can be done in linker file then, not makefile. OK, will try to look into it.
-
could you do a PR for the modified check in the Makefile?
done here https://github.com/espruino/Espruino/pull/1714 currently it passes but if you try to change it into
ORIGIN(FLASH) + LENGTH(FLASH) - 0x100
then it fails, somewhere around -0x50 it starts to pass now, so hopefully it works as needed
Good call on the firmware version check - that's knocked quite a lot off. I've just committed the change.
If you get time, please could you do a PR for the modified check in the Makefile? I remember finding it was a pain because
scripts/check_elf_size.py
checks the elf file, and actually the DATA section could fit in but the other sections placed after (because of Nordic's SDK hacks) would still overlap