arch: arm: Use smaller ISR stack size for 16k nRF51 SoCs

The 16k RAM nRF51 variants pose a challenge to get applications to fit
within the available memory. Make the default ISR stack size smaller
than the previous 2k default, but big enough to run fully functional
Bluetooth controller and host stacks.

Change-Id: Ie7c5bb21a3ba620d283e6228a2482d280f85119d
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-01-08 22:59:44 +02:00 committed by Kumar Gala
commit 183e417efa
2 changed files with 6 additions and 0 deletions

View file

@ -28,4 +28,7 @@ config SRAM_SIZE
config FLASH_SIZE config FLASH_SIZE
default 256 default 256
config ISR_STACK_SIZE
default 640
endif # SOC_NRF51822_QFAA endif # SOC_NRF51822_QFAA

View file

@ -28,4 +28,7 @@ config SRAM_SIZE
config FLASH_SIZE config FLASH_SIZE
default 128 default 128
config ISR_STACK_SIZE
default 640
endif # SOC_NRF51822_QFAB endif # SOC_NRF51822_QFAB