NRF52840: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
ls
1 parent e917282 commit 4780dd55e5fc6eb20186346c7232dc030c687be7
@Hugues Kamba Hugues Kamba authored on 8 Jan 2021
Showing 1 changed file
View
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/device/TOOLCHAIN_ARM_STD/nRF52840.sct