Announcements

Ever wondered how you could shape the future in collaboration with others? Join us at OktoberTech Asia Pacific and get inspired. Click here to sign up FREE of charge.

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

PSoC™ 6 Forum Discussions

BiM_4640481
Level 4
25 replies posted 25 sign-ins 10 replies posted
Level 4

Hello,

I am working on OTA integration to the main application project and with this I am facing build errors.

In the existing workspace we have Bootloader project, OTA HTTPS project and AnyCloud_MQTT_Client/Main application project, please note that all the standalone projects are working fine. 

When we try to integrate OTA code to the AnyCloud_MQTT_Client/Main application project, for that we copied the OTA source files to the source folder and config files to the configs folder of the AnyCloud_MQTT_Client project and also modified the Makefile.

After these changes when we try to build the project, we are facing the following errors. 

13:10:39 ** Incremental Build of configuration Debug for project AnyCloud_MQTT_Client **

"C:\\Users\\USER\\ModusToolbox\\tools_2.3\\modus-shell\\bin\\make" CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.2 CY_IDE_TOOLS_DIR=C:/Users/USER/ModusToolbox/tools_2.3 -j4 all

Tools Directory: C:/Users/USER/ModusToolbox/tools_2.3

CY8CKIT-062S2-43012.mk: ./libs/TARGET_CY8CKIT-062S2-43012/CY8CKIT-062S2-43012.mk

C:/Users/USER/ModusToolbox/tools_2.3/make/startex.mk:380: * Build support for the target device not found. Run "make getlibs" to ensure all required build and code dependencies are present..  Stop.

"C:/Users/USER/ModusToolbox/tools_2.3/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.2 CY_IDE_TOOLS_DIR=C:/Users/USER/ModusToolbox/tools_2.3 -j4 all" terminated with exit code 2. Build might be incomplete.

 

13:10:41 Build Failed. 1 errors, 0 warnings. (took 2s.468ms)

 

​Please find attached the modified makefile and request you to help us to resolve the issue.

Thanks,

Binsy M S

0 Likes
1 Reply
Alakananda_BG
Moderator
Moderator 50 likes received 250 sign-ins 250 replies posted
Moderator

Hi,

The discussion will be continued in the other thread which was created.

https://community.cypress.com/t5/PSoC-6-MCU/Build-error-while-integrating-AnyCloud-OTA-Using-HTTPS-w...

Regards

Alakananda