Build mtb-example-anycloud-ble-wifi-onboarding formtb-example-anycloud-ble-wifi-onboarding using the command line approach for CY8CKIT-062S2-43012

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

cross mob
vsubbiah
Level 5
Level 5
10 solutions authored 10 sign-ins First comment on KBA

Objective:

I am trying to build mtb-example-anycloud-ble-wifi-onboarding using the command line approach on MAC for CY8CKIT-062S2-43012 board.

Procedure Used:

1) I cloned mtb-example-anycloud-ble-wifi-onboarding from https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-wifi-onboarding.git

2) The doing a make getlibs TARGET=CY8CKIT-062S2-43012 TOOLCHAIN=GCC_ARM.

Problem:

Step 2) above still seems to get the libs for CY8CPROTO-062-4343W as opposed to my desired target of CY8CKIT-062S2-43012. Appreciate any clues to what I may be missing.

Logs

VENKATs-MBP: ~/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding : make getlibs TARGET=CY8CKIT-062S2-43012 TOOLCHAIN=GCC_ARM

Tools Directory: /Applications/ModusToolbox/tools_2.2

==============================================================================

= Importing libraries =

==============================================================================

Git is git version 2.27.0, found at /usr/local/bin/git

Searching application directory (.lib)...

Found 5 .lib file(s)

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/deps/TARGET_CY8CPROTO-062-4343W.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/deps/bluetooth-freertos.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/deps/emeeprom.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/deps/lpa.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/deps/retarget-io.lib"

Application directory search complete.

Searching "libs" directory (.lib)...

Found 20 .lib file(s)

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/libs/TARGET_CY8CPROTO-062-4343W/libs/capsense.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/libs/TARGET_CY8CPROTO-062-4343W/libs/core-lib.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/libs/TARGET_CY8CPROTO-062-4343W/libs/psoc6cm0p.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/libs/TARGET_CY8CPROTO-062-4343W/libs/psoc6hal.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/libs/TARGET_CY8CPROTO-062-4343W/libs/psoc6make.lib"

    Processing file "/Users/venkat/work/pp/modus_2.2/mtb-example-anycloud-ble-wifi-onboarding/libs/TARGET_CY8CPROTO-062-4343W/libs/psoc6pdl.lib"

0 Likes
1 Solution
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

VeSu_1779701 make getlibs processes the .lib files present in the deps folder and downloads the library files. From your logs what I am seeing is you don't have the CY8CKIT-062S2-43012.lib file in the deps folder and hence the 43012 library isn't getting downloaded. What you can do is after the libraries are downloaded, you can do a make modlibs and add the CY8CKIT-062S2-43012 BSP.

Thanks

View solution in original post

0 Likes
2 Replies
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

VeSu_1779701 make getlibs processes the .lib files present in the deps folder and downloads the library files. From your logs what I am seeing is you don't have the CY8CKIT-062S2-43012.lib file in the deps folder and hence the 43012 library isn't getting downloaded. What you can do is after the libraries are downloaded, you can do a make modlibs and add the CY8CKIT-062S2-43012 BSP.

Thanks

0 Likes