Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6 Forum Discussions

firefly587
Level 1
Level 1
First question asked Welcome!

Hello,

I am trying to run some example code given by infineon here: https://www.infineon.com/cms/en/design-support/software/code-examples/psoc-6-code-examples-for-modus...

However, when I try to build it in Modus Toolbox it gives me this build error for any example I try:

Generating compilation database file...
-> ./build/compile_commands.json
Compilation database file generation complete
Building 193 file(s)
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble_usb.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_ble.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_usb.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga_sip.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_43_smt.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_68_qfn_ble.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
Compiling ../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_80_wlcsp.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_i2c_slave_callback -DCY8C624ABZI_S2D44 -DCY_TARGET_DEVICE=CY8C624ABZI_S2D44 -DTARGET_CY8CPROTO_062_4343W -DCY_TARGET_BOARD=CY8CPROTO_062_4343W -DCOMPONENT_4343W -DCOMPONENT_BSP_DESIGN_MODUS -DCOMPONENT_CAT1 -DCOMPONENT_CAT1A -DCOMPONENT_CM0P_SLEEP -DCOMPONENT_CM4 -DCOMPONENT_CY8CPROTO_062_4343W -DCOMPONENT_HCI_UART -DCOMPONENT_MURATA_1DX -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DDEBUG -DCY_SUPPORTS_DEVICE_VALIDATION -I. -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/core-lib/release-v1.3.0 -I../mtb_shared/core-lib/release-v1.3.0/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0 -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/pin_packages -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/include/triggers -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/include -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/source -I../mtb_shared/mtb-hal-cat1/release-v1.6.0/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.4.0/drivers/include -I../mtb_shared/retarget-io/release-v1.3.0 -I./libs -I./libs/TARGET_CY8CPROTO-062-4343W -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS -I./libs/TARGET_CY8CPROTO-062-4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource -I./libs/TARGET_CY8CPROTO-062-4343W/bluetooth
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_usb.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_usb.d: No such file or directory
30 |
|
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble.d: No such file or directory
30 |
|
compilation terminated.
compilation terminated.
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble_usb.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble_usb.d: No such file or directory
30 |
|
compilation terminated.
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga.d: No such file or directory
30 |
|
compilation terminated.
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_ble.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_ble.d: No such file or directory
30 |
|
compilation terminated.
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga_sip.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga_sip.d: No such file or directory
30 |
|
compilation terminated.
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_43_smt.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_43_smt.d: No such file or directory
30 |
|
compilation terminated.
../mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_68_qfn_ble.c:30: fatal error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_68_qfn_ble.d: No such file or directory
30 |
|
compilation terminated.
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_usb.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble.o] Error 1
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_104_m_csp_ble_usb.o] Error 1
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga.o] Error 1
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_116_bga_ble.o] Error 1
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_124_bga_sip.o] Error 1
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_43_smt.o] Error 1
make[1]: *** [../mtb_shared/core-make/release-v1.9.1/make/core/build.mk:387: C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_68_qfn_ble.o] Error 1
make: *** [../mtb_shared/core-make/release-v1.9.1/make/core/main.mk:434: secondstage_build] Error 2
"C:/Users/willi/ModusToolbox/tools_2.4/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.4 CY_IDE_TOOLS_DIR=C:/Users/willi/ModusToolbox/tools_2.4 -j8 all" terminated with exit code 2. Build might be incomplete.

16:08:16 Build Failed. 18 errors, 0 warnings. (took 12s.19ms)

0 Likes
1 Solution
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @firefly587 ,

The error you are facing mainly is the absense of the dependency file as mentioned in the log:

error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_68_qfn_ble.d: No such file or directory

Can you please let me know the procedure you followed for importing the project into ModusToolbox ?
Did you import the project through Project Creator 1.40 by clicking on the import button in the same after cloning the project to a local folder in your PC as below?

AlenAn14_3-1649658789553.png

 

 Or did you create the example from the template section in Project Creator as below:

AlenAn14_2-1649658763400.png

 

P.S. : Please share log messages in a text (.txt) file that is archived as a .zip file attachment for ease of readability.

Warm Regards
Alen

 

View solution in original post

0 Likes
1 Reply
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @firefly587 ,

The error you are facing mainly is the absense of the dependency file as mentioned in the log:

error: opening dependency file C:/Users/willi/mtw/mtb-example-psoc6-i2c-slave-callback-master/mtb-example-psoc6-i2c-slave-callback-master/build/CY8CPROTO-062-4343W/Debug/ext/mtb_shared/mtb-hal-cat1/release-v1.6.0/COMPONENT_PSOC6HAL/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_01_68_qfn_ble.d: No such file or directory

Can you please let me know the procedure you followed for importing the project into ModusToolbox ?
Did you import the project through Project Creator 1.40 by clicking on the import button in the same after cloning the project to a local folder in your PC as below?

AlenAn14_3-1649658789553.png

 

 Or did you create the example from the template section in Project Creator as below:

AlenAn14_2-1649658763400.png

 

P.S. : Please share log messages in a text (.txt) file that is archived as a .zip file attachment for ease of readability.

Warm Regards
Alen

 

0 Likes