cancel
Showing results for 
Search instead for 
Did you mean: 

Why is CubeMX not letting me add STM32_WPAN for a ZigBee project?

m4l490n
Senior

I'm trying to create a ZigBee-only project (no BLE), that will only implement an APS Coordinator with FreeRTOS support for the STM32WB5MMG module.

I'm looking at the Zigbee_APS_Coord sample, which is exactly what I need, and I noticed that it has a folder called "STM32_WPAN" under the "Middlewares" folder. I went ahead to CubeMX and tried to add the STM32_WPAN component but I got this:

m4l490n_0-1739473348557.png

 

The STM32_WPAN component is grayed out and won't let me add it unless I disable FreeRTOS!! Which is a big fat lie! Then how come the Zigbee_OnOff_Server_Coord_FreeRTOS sample project has both FreeRTOS and STM32_WPAN? It seems to me that it is indeed possible to have both, so, why am I not able to add it?

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @m4l490n 

Infact, the implementation of Zigbee on the STM32-WPAN is not supported with the Current CubeMX version will FREERTOS is enabled. So, if you want to use both Zigbee and FREERTOS, you need to create your own project without CubeMX and integrate the Middleware you want to use manually to the project (exactly similar to the implementation of the Zigbee_OnOff_Server_Coord_FreeRTOS that is not based on a .ioc file since it is not initialized throw CubeMX). I've escalated internally the request to support both of them on the same .ioc file on the future CubeMX versions if possible (under internal ticket number 205099).

Best Regards.

STTwo-32

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
STTwo-32
ST Employee

Hello @m4l490n 

Infact, the implementation of Zigbee on the STM32-WPAN is not supported with the Current CubeMX version will FREERTOS is enabled. So, if you want to use both Zigbee and FREERTOS, you need to create your own project without CubeMX and integrate the Middleware you want to use manually to the project (exactly similar to the implementation of the Zigbee_OnOff_Server_Coord_FreeRTOS that is not based on a .ioc file since it is not initialized throw CubeMX). I've escalated internally the request to support both of them on the same .ioc file on the future CubeMX versions if possible (under internal ticket number 205099).

Best Regards.

STTwo-32

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.