Skip to content

Commit 0866629

Browse files
committed
[nrf fromlist] tests: arch: arm: Increase kobject text area when no optimization
When CONFIG_NO_OPTIMIZATIONS=n then kobject area can get inflated. Some targets are currently fail to compile due to that. Upstream PR #: 100564 Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent d682092 commit 0866629

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/arch/arm/arm_interrupt/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tests:
1717
- CONFIG_IDLE_STACK_SIZE=512
1818
- CONFIG_MAIN_STACK_SIZE=2048
1919
- CONFIG_ZTEST_STACK_SIZE=1280
20+
- CONFIG_KOBJECT_TEXT_AREA=32768
2021
arch.arm.interrupt.extra_exception_info:
2122
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
2223
extra_configs:

tests/arch/arm/arm_thread_swap/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tests:
1414
- CONFIG_ZTEST_WARN_NO_OPTIMIZATIONS=n
1515
- CONFIG_IDLE_STACK_SIZE=512
1616
- CONFIG_MAIN_STACK_SIZE=2048
17+
- CONFIG_KOBJECT_TEXT_AREA=32768
1718
min_flash: 192
1819
arch.arm.swap.common.fpu_sharing:
1920
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ARMV7_M_ARMV8_M_FP
@@ -29,4 +30,5 @@ tests:
2930
- CONFIG_ZTEST_WARN_NO_OPTIMIZATIONS=n
3031
- CONFIG_IDLE_STACK_SIZE=512
3132
- CONFIG_MAIN_STACK_SIZE=2048
33+
- CONFIG_KOBJECT_TEXT_AREA=32768
3234
min_flash: 192

0 commit comments

Comments
 (0)