Skip to content

Commit 11fd181

Browse files
sreeramIfxkartben
authored andcommitted
soc: infineon: Move stack definitions to correct place
Moves CONFIG_MAIN_STACK_SIZE to be the default in the Kconfig.defconfig files Signed-off-by: Sreeram Tatapudi <[email protected]>
1 parent d126862 commit 11fd181

File tree

8 files changed

+15
-9
lines changed

8 files changed

+15
-9
lines changed

boards/infineon/cy8cproto_062_4343w/cy8cproto_062_4343w_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,3 @@ CONFIG_GPIO=y
2020

2121
# Enable clock controller
2222
CONFIG_CLOCK_CONTROL=y
23-
24-
# Main Stack Size
25-
CONFIG_MAIN_STACK_SIZE=2048

boards/infineon/cy8cproto_063_ble/cy8cproto_063_ble_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@ CONFIG_GPIO=y
2222
# Enable clock controller
2323
CONFIG_CLOCK_CONTROL=y
2424

25-
# Main Stack Size
26-
CONFIG_MAIN_STACK_SIZE=2048
27-
2825
# Add catcm0p sleep images for CM0 Devices
2926
CONFIG_SOC_PSOC6_CM0P_IMAGE_SLEEP=y

boards/infineon/cyw920829m2evk_02/cyw920829m2evk_02_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,5 @@ CONFIG_GPIO=y
2020
# Enable clock controller
2121
CONFIG_CLOCK_CONTROL=y
2222

23-
# Main Stack Size
24-
CONFIG_MAIN_STACK_SIZE=2048
25-
2623
# Enable code/data relocation to move SMIF driver into RAM
2724
CONFIG_CODE_DATA_RELOCATION=y

soc/infineon/cat1a/psoc6_01/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ config NUM_IRQS
1313
config SYS_CLOCK_HW_CYCLES_PER_SEC
1414
default 100000000
1515

16+
config MAIN_STACK_SIZE
17+
default 2048
18+
1619
# add additional die specific params
1720

1821
endif # SOC_DIE_PSOC6_01

soc/infineon/cat1a/psoc6_02/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
1616
config BUILD_OUTPUT_HEX
1717
default y
1818

19+
config MAIN_STACK_SIZE
20+
default 2048
21+
1922
# add additional die specific params
2023

2124
endif # SOC_DIE_PSOC6_02

soc/infineon/cat1a/psoc6_03/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ config NUM_IRQS
1313
config SYS_CLOCK_HW_CYCLES_PER_SEC
1414
default 100000000
1515

16+
config MAIN_STACK_SIZE
17+
default 2048
18+
1619
# add additional die specific params
1720

1821
endif # SOC_DIE_PSOC6_03

soc/infineon/cat1a/psoc6_04/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ config NUM_IRQS
1313
config SYS_CLOCK_HW_CYCLES_PER_SEC
1414
default 100000000
1515

16+
config MAIN_STACK_SIZE
17+
default 2048
18+
1619
# add additional die specific params
1720

1821
endif # SOC_DIE_PSOC6_04

soc/infineon/cat1b/cyw20829/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ config BUILD_OUTPUT_ADJUST_LMA
2222
depends on XIP
2323
default "0x60000000 - $(dt_node_reg_addr_hex,$(dt_nodelabel_path,flash0))"
2424

25+
config MAIN_STACK_SIZE
26+
default 2048
27+
2528
# add additional die specific params
2629

2730
endif # SOC_DIE_CYW20829

0 commit comments

Comments
 (0)