Skip to content

Commit 3786b61

Browse files
nordic-krchfabiobaltieri
authored andcommitted
soc: nordic: Disable asserts on ppr and flpr
Asserts are by default enabled for tests but flpr and ppr are small cores (<64k) and many tests does not fit in memory with asserts enabled. Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent ffe6910 commit 3786b61

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

soc/nordic/nrf54h/Kconfig.defconfig.nrf54h20_cpuflpr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ if SOC_NRF54H20_CPUFLPR
66
config NUM_IRQS
77
default 496
88

9+
# As FLPR has limited memory most of tests does not fit with asserts enabled.
10+
config ASSERT
11+
default n
12+
913
endif # SOC_NRF54H20_CPUFLPR

soc/nordic/nrf54h/Kconfig.defconfig.nrf54h20_cpuppr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ config NUM_IRQS
88

99
config SYS_CLOCK_TICKS_PER_SEC
1010
default 1000
11+
#
12+
# As PPR has limited memory most of tests does not fit with asserts enabled.
13+
config ASSERT
14+
default n
1115

1216
endif # SOC_NRF54H20_CPUPPR

soc/nordic/nrf54l/Kconfig.defconfig.nrf54l15_cpuflpr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ if SOC_NRF54L15_CPUFLPR
88
config NUM_IRQS
99
default 287
1010

11+
# As FLPR has limited memory most of tests does not fit with asserts enabled.
12+
config ASSERT
13+
default n
14+
1115
endif # SOC_NRF54L15_CPUFLPR

soc/nordic/nrf54l/Kconfig.defconfig.nrf54l15_enga_cpuflpr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@ config RISCV_HAS_CPU_IDLE
1111
config NUM_IRQS
1212
int
1313
default 287
14+
# As FLPR has limited memory most of tests does not fit with asserts enabled.
15+
config ASSERT
16+
default n
1417

1518
endif # SOC_NRF54L15_ENGA_CPUFLPR

soc/nordic/nrf92/Kconfig.defconfig.nrf9280_cpuppr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ config SYS_CLOCK_TICKS_PER_SEC
1212
config RV_BOOT_HART
1313
default 13 if SOC_NRF9230_ENGB
1414

15+
# As FLPR has limited memory most of tests does not fit with asserts enabled.
16+
config ASSERT
17+
default n
18+
1519
endif # SOC_NRF9280_CPUPPR

0 commit comments

Comments
 (0)