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

cross mob
flyingmaltese
Level 1
Level 1
First question asked Welcome!

Hello, I am fairly new to the Cypress world. I am trying out the mtb-example-anycloud-ble-wifi-onboarding with my test kit CYW9P62S1-43438EVB-01. But I am getting below error upon building the application. I am using MoudusToolbox 2.2. I checked that 43438 is supported in the latest Bluetooth-freertos. Can I get some help please? Thanks in advanced!

Error message attached below:

------------------------------------------------

56 | #include "cycfg_system.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../mtb_shared/core-make/latest-v1.X/make/core/build.mk:372: C:/Users/mingh/mtw/AnyCloud_Wi-Fi_Onboarding_Using_BLE/build/CYW9P62S1-43438EVB-01/Debug/wifi_task.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../mtb_shared/freertos/latest-v10.X/Source/include/FreeRTOS.h:56,
from ../mtb_shared/abstraction-rtos/latest-v1.X/source/COMPONENT_FREERTOS/cyabs_freertos_helpers.c:25:
./configs/FreeRTOSConfig.h:56:10: fatal error: cycfg_system.h: No such file or directory
56 | #include "cycfg_system.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from configs/app_platform_cfg.c:41:
configs/app_platform_cfg.h:46:10: fatal error: cycfg_pins.h: No such file or directory
46 | #include "cycfg_pins.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../mtb_shared/core-make/latest-v1.X/make/core/build.mk:372: C:/Users/mingh/mtw/AnyCloud_Wi-Fi_Onboarding_Using_BLE/build/CYW9P62S1-43438EVB-01/Debug/configs/app_platform_cfg.o] Error 1
make[1]: *** [../mtb_shared/core-make/latest-v1.X/make/core/build.mk:382: C:/Users/mingh/mtw/AnyCloud_Wi-Fi_Onboarding_Using_BLE/build/CYW9P62S1-43438EVB-01/Debug/ext/mtb_shared/abstraction-rtos/latest-v1.X/source/COMPONENT_FREERTOS/cyabs_freertos_helpers.o] Error 1
In file included from ../mtb_shared/TARGET_CYW9P62S1-43438EVB-01/latest-v2.X/cybsp.h:28,
from main.c:43:
../mtb_shared/TARGET_CYW9P62S1-43438EVB-01/latest-v2.X/cybsp_types.h:25:10: fatal error: cycfg.h: No such file or directory
25 | #include "cycfg.h"
| ^~~~~~~~~
compilation terminated.
make[1]: *** [../mtb_shared/core-make/latest-v1.X/make/core/build.mk:372: C:/Users/mingh/mtw/AnyCloud_Wi-Fi_Onboarding_Using_BLE/build/CYW9P62S1-43438EVB-01/Debug/main.o] Error 1
In file included from ../mtb_shared/TARGET_CYW9P62S1-43438EVB-01/latest-v2.X/cybsp.h:28,
from ../mtb_shared/TARGET_CYW9P62S1-43438EVB-01/latest-v2.X/cybsp.c:29:
../mtb_shared/TARGET_CYW9P62S1-43438EVB-01/latest-v2.X/cybsp_types.h:25:10: fatal error: cycfg.h: No such file or directory
25 | #include "cycfg.h"
| ^~~~~~~~~
compilation terminated.
make[1]: *** [../mtb_shared/core-make/latest-v1.X/make/core/build.mk:382: C:/Users/mingh/mtw/AnyCloud_Wi-Fi_Onboarding_Using_BLE/build/CYW9P62S1-43438EVB-01/Debug/ext/mtb_shared/TARGET_CYW9P62S1-43438EVB-01/latest-v2.X/cybsp.o] Error 1
make: *** [../mtb_shared/core-make/latest-v1.X/make/core/main.mk:416: secondstage_build] Error 2
"C:/Users/mingh/ModusToolbox/tools_2.2/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.2 CY_IDE_TOOLS_DIR=C:/Users/mingh/ModusToolbox/tools_2.2 -j8 all" terminated with exit code 2. Build might be incomplete.

11:27:41 Build Failed. 12 errors, 0 warnings. (took 13s.368ms)

0 Likes
2 Replies
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,

I'm using MTB 2.2.1 (patched) and the same thing is happening.

Regards,
Kenshow

 

 

0 Likes
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi @flyingmaltese ,

Just now I tried building BLE-WiFi Onboarding example using CYW9P62S1-43438EVB-01 in MTB2.2 and it built without errors for me. 

Can you try using a fresh install of MTB 2.2 and test again? 

Also, are you able to build other applications as well or issue is only with this example/board? Please confirm this once.

 

0 Likes