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

PSoC™ 6 Forum Discussions

victor2022
Level 1
First reply posted First question asked Welcome!
Level 1

Hi, I tried the solution suggested by the forum, the compiling error is still there.

I tried to use

DEFINES+=CYBSP_WIFI_CAPABLE CY_RETARGET_IO_CONVERT_LF_TO_CRLF CY_RTOS_AWARE HTTP_DO_NOT_USE_CUSTOM_CONFIG MQTT_DO_NOT_USE_CUSTOM_CONFIG

still got same errors as:

./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/include/core_http_client.h:39:14: fatal error: core_http_config.h: No such file or directory
Compiling libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source/core_mqtt.c -DCY_USING_HAL -DCY_APPNAME_mtb_example_psoc6_FreeRTOS_app -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_FREERTOS -DCOMPONENT_PSOC6HAL -DCOMPONENT_SOFTFP -DCOMPONENT_WLBGA -DDEBUG -I. -I../mtb_shared/BMI160_driver/bmi160_v3.8.1 -I../mtb_shared/abstraction-rtos/release-v1.4.0 -I../mtb_shared/abstraction-rtos/release-v1.4.0/include -I../mtb_shared/abstraction-rtos/release-v1.4.0/include/COMPONENT_FREERTOS -I../mtb_shared/abstraction-rtos/release-v1.4.0/include/Template -I../mtb_shared/bluetooth-freertos/release-v3.4.0 -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform/common -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform/debug -I../mtb_shared/bluetooth-freertos/release-v3.4.0/platform/include -I../mtb_shared/btstack/release-v3.4.0 -I../mtb_shared/btstack/release-v3.4.0/wiced_include -I../mtb_shared/capsense/release-v2.10.0 -I../mtb_shared/clib-support/release-v1.1.0 -I../mtb_shared/clib-support/release-v1.1.0/TOOLCHAIN_GCC_ARM -I../mtb_shared/command-console/release-v3.2.0 -I../mtb_shared/command-console/release-v3.2.0/include -I../mtb_shared/command-console/release-v3.2.0/source -I../mtb_shared/command-console/release-v3.2.0/source/command_console -I../mtb_shared/command-console/release-v3.2.0/source/command_console/COMPONENT_PSOC6HAL -I../mtb_shared/command-console/release-v3.2.0/source/iperf -I../mtb_shared/command-console/release-v3.2.0/source/iperf/include -I../mtb_shared/command-console/release-v3.2.0/source/iperf_utility -I../mtb_shared/command-console/release-v3.2.0/source/wifi_utility -I../mtb_shared/connectivity-utilities/release-v3.2.0 -I../mtb_shared/connectivity-utilities/release-v3.2.0/JSON_parser -I../mtb_shared/connectivity-utilities/release-v3.2.0/cy_log -I../mtb_shared/connectivity-utilities/release-v3.2.0/cy_string -I../mtb_shared/connectivity-utilities/release-v3.2.0/linked_list -I../mtb_shared/connectivity-utilities/release-v3.2.0/network -I../mtb_shared/core-lib/release-v1.2.0 -I../mtb_shared/core-lib/release-v1.2.0/include -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0 -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0/COMPONENT_CAT1 -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0/COMPONENT_CAT1/include -I../mtb_shared/cy-mbedtls-acceleration/release-v1.4.0/COMPONENT_CAT1/mbedtls_MXCRYPTO -I../mtb_shared/display-eink-e2271cs021/release-v1.0.1 -I../mtb_shared/display-eink-e2271cs021/release-v1.0.1/configs -I../mtb_shared/display-eink-e2271cs021/release-v1.0.1/configs/emwin -I../mtb_shared/emwin/release-v5.48.1 -I../mtb_shared/emwin/release-v5.48.1/GUI -I../mtb_shared/emwin/release-v5.48.1/GUI/Include -I../mtb_shared/freertos/release-v10.3.1 -I../mtb_shared/freertos/release-v10.3.1/Source -I../mtb_shared/freertos/release-v10.3.1/Source/include -I../mtb_shared/freertos/release-v10.3.1/Source/portable -I../mtb_shared/freertos/release-v10.3.1/Source/portable/COMPONENT_CM4 -I../mtb_shared/freertos/release-v10.3.1/Source/portable/COMPONENT_CM4/TOOLCHAIN_GCC_ARM -I../mtb_shared/http-client/release-v1.2.0 -I../mtb_shared/http-client/release-v1.2.0/include -I../mtb_shared/http-server/release-v2.2.0 -I../mtb_shared/http-server/release-v2.2.0/include -I../mtb_shared/http-server/release-v2.2.0/source -I../mtb_shared/http-server/release-v2.2.0/source/port -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix/arpa -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix/net -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/posix/sys -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/compat/stdc -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip/apps -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip/priv -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/lwip/prot -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/netif -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/netif/ppp -I../mtb_shared/lwip/STABLE-2_1_2_RELEASE/src/include/netif/ppp/polarssl -I../mtb_shared/mbedtls/mbedtls-2.25.0 -I../mtb_shared/mbedtls/mbedtls-2.25.0/include -I../mtb_shared/mbedtls/mbedtls-2.25.0/include/mbedtls -I../mtb_shared/mbedtls/mbedtls-2.25.0/include/psa -I../mtb_shared/mbedtls/mbedtls-2.25.0/library -I../mtb_shared/mqtt/release-v3.4.1 -I../mtb_shared/mqtt/release-v3.4.1/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.2.0 -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/cmsis -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/cmsis/include -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices/COMPONENT_CAT1A -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices/COMPONENT_CAT1A/include -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/devices/COMPONENT_CAT1A/include/ip -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/drivers -I../mtb_shared/mtb-pdl-cat1/release-v2.2.0/drivers/include -I../mtb_shared/retarget-io/release-v1.2.0 -I../mtb_shared/secure-sockets/release-v2.5.0 -I../mtb_shared/secure-sockets/release-v2.5.0/include -I../mtb_shared/secure-sockets/release-v2.5.0/include/COMPONENT_FREERTOS -I../mtb_shared/secure-sockets/release-v2.5.0/source -I../mtb_shared/sensor-motion-bmi160/release-v1.0.1 -I../mtb_shared/whd-bsp-integration/release-v2.0.0 -I../mtb_shared/wifi-cert/release-v3.4.0 -I../mtb_shared/wifi-cert/release-v3.4.0/include -I../mtb_shared/wifi-connection-manager/release-v2.3.0 -I../mtb_shared/wifi-connection-manager/release-v2.3.0/include -I../mtb_shared/wifi-connection-manager/release-v2.3.0/source -I../mtb_shared/wifi-connection-manager/release-v2.3.0/source/COMPONENT_4343W -I../mtb_shared/wifi-host-driver/release-v2.3.0 -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/inc -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/clm -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/clm/COMPONENT_4343W -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/firmware -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/firmware/COMPONENT_4343W -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/resources/resource_imp -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/src -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/src/bus_protocols -I../mtb_shared/wifi-host-driver/release-v2.3.0/WiFi_Host_Driver/src/include -I../mtb_shared/wifi-mfg-test/release-v3.3.0 -I../mtb_shared/wifi-mfg-test/release-v3.3.0/include -I../mtb_shared/wifi-mfg-test/release-v3.3.0/source -I../mtb_shared/wifi-mw-core/release-v3.4.0 -I../mtb_shared/wifi-mw-core/release-v3.4.0/configs -I../mtb_shared/wifi-mw-core/release-v3.4.0/lwip-whd-port -I../mtb_shared/wifi-mw-core/release-v3.4.0/lwip-whd-port/COMPONENT_FREERTOS -I../mtb_shared/wifi-mw-core/release-v3.4.0/lwip-whd-port/COMPONENT_FREERTOS/arch -I../mtb_shared/wpa3-external-supplicant/release-v1.0.0 -I../mtb_shared/wpa3-external-supplicant/release-v1.0.0/include -I./Drivers -I./calibrations -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 -I./libs/aws-iot-device-sdk-embedded-C -I./libs/aws-iot-device-sdk-embedded-C/libraries -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src -I./libs/aws-iot-device-sdk-embedded-C/libraries/aws/ota-for-aws-iot-embedded-sdk/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/backoffAlgorithm -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/backoffAlgorithm/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/backoffAlgorithm/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/dependency -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/dependency/3rdparty -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/dependency/3rdparty/http_parser -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP/source/interface -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreJSON -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreJSON/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreJSON/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source/include -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreMQTT/source/interface -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11 -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency/3rdparty -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency/3rdparty/mbedtls_utils -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/dependency/3rdparty/pkcs11 -I./libs/aws-iot-device-sdk-embedded-C/libraries/standard/corePKCS11/source/include -I./libs/aws-iot-device-sdk-embedded-C/platform -I./libs/aws-iot-device-sdk-embedded-C/platform/include -I./libs/aws-iot-device-sdk-port -I./libs/aws-iot-device-sdk-port/include -I./libs/aws-iot-device-sdk-port/source -I./libs/aws-iot-device-sdk-port/source/include -I./libs/aws-iot-device-sdk-port/source/ota

Is there new way to solve it, Thanks.

0 Likes
1 Reply
MuraliR_36
Moderator
Moderator 250 sign-ins 250 replies posted 100 solutions authored
Moderator

If it is MQTT that you're trying to add to your project, add the below lines

CY_IGNORE+= $(SEARCH_aws-iot-device-sdk-embedded-C)/libraries/standard/coreHTTP
CY_IGNORE+= libs/aws-iot-device-sdk-embedded-C/libraries/standard/coreHTTP

 as mentioned in https://github.com/Infineon/mqtt and it should work.

0 Likes