2024-07-25 10:27 PM
Hi.
I'm looking for a (or a bunch of) stm32cube expansion package(s) to add aws iot and freertos mqtt libs to stm32cube.
I've found https://www.st.com/en/embedded-software/x-cube-aws-h5.html and https://www.st.com/en/embedded-software/x-cube-aws.html pages that looks like they are offering it, but when I download them, they are a set of source files in a zip file, but not an actual cubeMx pack that you can install using "Embedded Software Package Manager".
Does the actual cubeMx package exist? if yes, can I get a link to it?
Kind Regards.
2024-08-05 08:55 AM
Hi,
to my knowledge, ST has not published any STM32CubeMX pack dedicated to the connection to AWS IoT Core.
However X-CUBE-AWS-H5 and X-CUBE-AWS-H7S applications are designed in such a way that the init code is compatible with STM32CubeMX code generation.
For enabling additional hardware peripherals, or changing some settings, it is possible to regenerate the code in-place with STM32CubeMX by using the *.ioc + .extSettings files included in the project folders.
Still, adding SW components to the application example should be done manually.
The X-CUBE-AWS* packages provide the FreeRTOS IoT Integration demo, running on different STM32 MCU targets. This is a rich application which features secure boot, secure runtime services, over-the-air firmware update, etc.
The users who prioritize the CubeMX ease-of-use over the feature completeness of the application example may be interested in a simpler MQTT/S connection to a generic MQTT broker (without TLS mutual authentication, without FreeRTOS OTA, nor ready-to-use support of device shadows or jobs), and try out some MQTT examples based on ThreadX+NetXDuo: They can be listed in the CubeMX Example Selector by filtering on the "MQTT" example name or keyword.
CubeMX filter screenshot
With Best Regards