diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/include_pvt/cyhal_scb_common.h b/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/include_pvt/cyhal_scb_common.h index ffaf754bc9..df766444e5 100644 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/include_pvt/cyhal_scb_common.h +++ b/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/include_pvt/cyhal_scb_common.h @@ -46,7 +46,7 @@ extern "C" { #endif #if defined(CY_IP_MXSCB_INSTANCES) -#if defined(CY_DEVICE_PSOC6A256K) +#if defined(CY_DEVICE_PSOC6A256K) || defined(CY8C624ALQI_S2D42) //Special case for 256k device which has 6 SCBs numbered 0, 1, 2, 4, 5, 6 #define _SCB_ARRAY_SIZE (CY_IP_MXSCB_INSTANCES + 1) #else diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_scb_common.c b/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_scb_common.c index b507ba3547..30600d3937 100644 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_scb_common.c +++ b/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_scb_common.c @@ -51,7 +51,7 @@ CySCB_Type *const _CYHAL_SCB_BASE_ADDRESSES[_SCB_ARRAY_SIZE] = #endif #ifdef SCB3 SCB3, -#elif defined(CY_DEVICE_PSOC6A256K) +#elif defined(CY_DEVICE_PSOC6A256K) || defined(CY8C624ALQI_S2D42) NULL, // Placeholder #endif #ifdef SCB4