Skip to content

Commit

Permalink
soc: infineon: Move stack definitions to correct place
Browse files Browse the repository at this point in the history
Moves CONFIG_MAIN_STACK_SIZE to be the default in the
Kconfig.defconfig files

Signed-off-by: Sreeram Tatapudi <[email protected]>
  • Loading branch information
sreeramIfx authored and kartben committed Feb 14, 2025
1 parent d126862 commit 11fd181
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ CONFIG_GPIO=y

# Enable clock controller
CONFIG_CLOCK_CONTROL=y

# Main Stack Size
CONFIG_MAIN_STACK_SIZE=2048
3 changes: 0 additions & 3 deletions boards/infineon/cy8cproto_063_ble/cy8cproto_063_ble_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,5 @@ CONFIG_GPIO=y
# Enable clock controller
CONFIG_CLOCK_CONTROL=y

# Main Stack Size
CONFIG_MAIN_STACK_SIZE=2048

# Add catcm0p sleep images for CM0 Devices
CONFIG_SOC_PSOC6_CM0P_IMAGE_SLEEP=y
3 changes: 0 additions & 3 deletions boards/infineon/cyw920829m2evk_02/cyw920829m2evk_02_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,5 @@ CONFIG_GPIO=y
# Enable clock controller
CONFIG_CLOCK_CONTROL=y

# Main Stack Size
CONFIG_MAIN_STACK_SIZE=2048

# Enable code/data relocation to move SMIF driver into RAM
CONFIG_CODE_DATA_RELOCATION=y
3 changes: 3 additions & 0 deletions soc/infineon/cat1a/psoc6_01/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ config NUM_IRQS
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 100000000

config MAIN_STACK_SIZE
default 2048

# add additional die specific params

endif # SOC_DIE_PSOC6_01
3 changes: 3 additions & 0 deletions soc/infineon/cat1a/psoc6_02/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
config BUILD_OUTPUT_HEX
default y

config MAIN_STACK_SIZE
default 2048

# add additional die specific params

endif # SOC_DIE_PSOC6_02
3 changes: 3 additions & 0 deletions soc/infineon/cat1a/psoc6_03/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ config NUM_IRQS
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 100000000

config MAIN_STACK_SIZE
default 2048

# add additional die specific params

endif # SOC_DIE_PSOC6_03
3 changes: 3 additions & 0 deletions soc/infineon/cat1a/psoc6_04/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ config NUM_IRQS
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 100000000

config MAIN_STACK_SIZE
default 2048

# add additional die specific params

endif # SOC_DIE_PSOC6_04
3 changes: 3 additions & 0 deletions soc/infineon/cat1b/cyw20829/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ config BUILD_OUTPUT_ADJUST_LMA
depends on XIP
default "0x60000000 - $(dt_node_reg_addr_hex,$(dt_nodelabel_path,flash0))"

config MAIN_STACK_SIZE
default 2048

# add additional die specific params

endif # SOC_DIE_CYW20829

0 comments on commit 11fd181

Please sign in to comment.