STM32 Connectivity Expansion Pack compile error

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

cross mob
ViJo_3484976
Level 1
Level 1
First like received First reply posted First question asked

Hi,

I am trying to compile STM32 connectivity expansion pack examples for STM32H7. I followed same steps mentioned in user guide.

https://github.com/Infineon/stm32-connectivity

I am getting following error:

../../Middlewares/Third_Party/Infineon_Wireless_Connectivity/wifi-host-driver/resources/nvram/TARGET_CY8CKIT_062S2_43012/wifi_nvram_image.h:22:10: fatal error: ../generated_mac_address.txt: No such file or directory

Where can I find "generated_mac_address.txt" file? I haven't modified code and its out of the box example.

Thank you.

0 Likes
1 Solution
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

You can find this file in this location -

C:\Users\<USER>\STM32Cube\Repository\Packs\Infineon\Connectivity-STM32\1.1.0\Middlewares\Third_Party\wifi-host-driver

Copy this file and paste this into the project folder at the location -

<Project_location>\<application>\CM7\Core\Inc

Let me know if this helps.

Thanks

Aditi

View solution in original post

0 Likes
3 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

You can find this file in this location -

C:\Users\<USER>\STM32Cube\Repository\Packs\Infineon\Connectivity-STM32\1.1.0\Middlewares\Third_Party\wifi-host-driver

Copy this file and paste this into the project folder at the location -

<Project_location>\<application>\CM7\Core\Inc

Let me know if this helps.

Thanks

Aditi

0 Likes
ViJo_3484976
Level 1
Level 1
First like received First reply posted First question asked

Hi Aditi,

Thank you for solution. It worked fine. I got some other errors in wifi_task.c file - function app_init() ->undefined reference to `BSP_LED_Init', "SP_COM_Init', 'BSP_LED_On".. basically all BSP related function calls. I commented them out and I could compile code. Thanks for help.

 

Regards,

 Vishal

Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Thanks for the update. If you don't want to comment these functions, you need to add the relevant platform .h (header files) and .c(source files) in the same location as above mentioned.

The .h files will go in this location -

<project_folder>\<application>\CM7\Core\Inc

The .c file will go in this location -

<project_folder>\<application>\CM7\Core\Src

Thanks

Aditi

0 Likes