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

Studio Bluetooth Forum Discussions

NaB_2049561
Level 2
Level 2
First like given

Hello Everyone,

I am new t Cypress BLE modules.

Started with installing Wiced studio from WICED Studio Wi-Fi/Combo Docs & Downloads

followed steps from this thread Platform Files for CYBT-343026-EVAL – KBA221025

After running the make file "demo.hello_sensor-CYBT_343026_EVAL download"

I got the below errors:

20:57:46 **** Build of configuration Release for project 20706-A2_Bluetooth ****

"C:\\WICED\\WICED-Studio-6.4\\20706-A2_Bluetooth\\make.exe" demo.hello_sensor-CYBT_343026_EVAL download

Compiling hello_sensor.c

Compiling wiced_bt_app_common.c

Compiling wiced_bt_app_hal_common.c

In file included from common/wiced_bt_app_common.c:39:0:

common/wiced_bt_app_hal_common.h:33:10: fatal error: wiced_platform.h: No such file or directory

#include "wiced_platform.h"

          ^~~~~~~~~~~~~~~~~~

compilation terminated.

make.exe[1]: *** [../../build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/wiced_bt_app_common.o] Error 1

makefile:410: recipe for target '../../build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/wiced_bt_app_common.o' failed

make.exe[1]: *** Waiting for unfinished jobs....

In file included from ../../../common/apps/demo/hello_sensor/hello_sensor.c:66:0:

common/wiced_bt_app_hal_common.h:33:10: fatal error: wiced_platform.h: No such file or directory

#include "wiced_platform.h"

          ^~~~~~~~~~~~~~~~~~

compilation terminated.

makefile:430: recipe for target '../../build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/hello_sensor.o' failed

make.exe[1]: *** [../../build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/hello_sensor.o] Error 1

In file included from common/wiced_bt_app_hal_common.c:37:0:

common/wiced_bt_app_hal_common.h:33:10: fatal error: wiced_platform.h: No such file or directory

#include "wiced_platform.h"

          ^~~~~~~~~~~~~~~~~~

compilation terminated.

makefile:410: recipe for target '../../build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/wiced_bt_app_hal_common.o' failed

make.exe[1]: *** [../../build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/wiced_bt_app_hal_common.o] Error 1

Makefile:552: recipe for target 'demo.hello_sensor-CYBT_343026_EVAL' failed

make: *** [demo.hello_sensor-CYBT_343026_EVAL] Error 2

20:57:52 Build Finished (took 5s.99ms)

I did not change any thing other than make file

Added APP_PATCHES_AND_LIBS += FM25Q04_sflash.a

What am I missing here?

Thanks,

Naveen

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
First comment on KBA 5 questions asked First question asked

Hello Naveen,

Seems like there is some mismatch in the file names in Platform files of 343026 and WICED SDK 6.4

For now, please rename wiced_hal_platform.h in folder location /20706-A2_Bluetooth/platforms/CYBT_343026_EVAL/ to wiced_platform.h and build.

I will request internally to update the KBA.

Sorry for the inconvenience caused.

Regards,

Anjana

View solution in original post

3 Replies
AnjanaM_61
Moderator
Moderator
Moderator
First comment on KBA 5 questions asked First question asked

Hello Naveen,

Seems like there is some mismatch in the file names in Platform files of 343026 and WICED SDK 6.4

For now, please rename wiced_hal_platform.h in folder location /20706-A2_Bluetooth/platforms/CYBT_343026_EVAL/ to wiced_platform.h and build.

I will request internally to update the KBA.

Sorry for the inconvenience caused.

Regards,

Anjana

Yes Right. I solved it. The problem is

Under platform files CYBT-343026-EVAL\CYBT_343026_EVAL_PLATFORM_FILES\platforms\CYBT_343026_EVAL\wiced_hal_platform.h

this is creating problem.

It is suppose to be CYBT-343026-EVAL\CYBT_343026_EVAL_PLATFORM_FILES\platforms\CYBT_343026_EVAL\wiced_platform.h.

I can see the same name in all other platform.

At this moment it works. I don't know wiced_hal_platform.h might be good for future updates.

It is good to have some standard names.

Regards,

Naveen

0 Likes

In the same platform folder, the #include line in the platform.c file must also be updated to the below to reflect the change.

#include "wiced_platform.h"