Non building TLS Demos

The MQTT_Basic_TLS sln doesn’t build out of the box, basically nothing linked to FreeRTOS source or something.

To replicate:

  1. clone GitHub - FreeRTOS/FreeRTOS: 'Classic' FreeRTOS distribution. Started as Git clone of FreeRTOS SourceForge SVN repo. Submodules the kernel.
  2. Open FreeRTOS\FreeRTOS-Plus\Demo\coreMQTT_Windows_Simulator\MQTT_Basic_TLS
  3. Try building, fail, at least on Visual Studio 2019 and 2022

Hi @friesen
I am able to build the demo in Visual Studio 2022.
Can you help to understand what error you are facing , while trying to build the demo?
Also, have you set the required config options for setting up the MQTT broker connection as described here

See log.
txt not allowed, so c it is.

NoBuild.c (45.6 KB)

The issue is because the submoduled repositories have not been cloned successfully.
If you have downloaded the repo without using the --recurse-submodules argument, you need to run:

git submodule update --init --recursive

Once cloned, check if the following file FreeRTOS/Source/event_groups.c exists before compiling the demo.

1 Like

Thanks, that is what I was missing.