Forums - QCA4020 OTA over MQTT not compiling

1 post / 0 new
QCA4020 OTA over MQTT not compiling
akshay.b
Join Date: 2 Aug 19
Posts: 62
Posted: Fri, 2020-09-11 07:11

Hello, 

1) As there is no reference from qualcomm side on how to use OTA over MQTT, we are using qca sdk 3.2.

2) For mqtt ota code we are using aws_ota_update_demo.c demo code from location qca4020-or-3-2_qca_oem_sdk-cdb.git\target\thirdparty\aws_freertos\demos\common\ota in sdk.

3) We have added all required header files .h and souce files .c path to build.bat file for compilation. 

4) Now here we are facing an issue while compiling and getting following linking error:

/aws_mqtt_agent.c:1884: undefined reference to `xQueueGenericCreateStatic'
/aws_mqtt_agent.c:1887: undefined reference to `xTaskCreateStatic'

We have made #define configSUPPORT_STATIC_ALLOCATION 1 in FreeRTOS.h and FreeRTOSConfig.h file. Still receiving this error.

5) Have already posted this issue on freertos forum but they said this is not the problem from freertos side.

Are we following correct procedure? Please share some document from qualcomm side to resolve this.

Some brief procedure on this will be helpful.

 

Thanks You,

Regards,

Akshaay

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.