Hello,
I am trying to integrate the azure-iot-middleware-freertos repository into and ESP32 project. The documentation states that a developer can use Cmake to add the repository to a project via:
add_subdirectory(azure-iot-middleware-freertos)
Are an example which show how to pass the necessary details to CMake without having to modify the CMakeList within the repo?
Also are there anymore details on the porting information needed to pass to the subdirectory? The details pretty vague.
The sample repo is pretty useless since all of the examples build from source and do not utilize the above Cmake command. If "building from source" is the path to take for integration, why bother describing the Cmake add_subdirectory route?
From README within the azure-iot-middleware-freertos repo:
FREERTOS_DIRECTORY
: Full path to a directory which contains FreeRTOS (as set up on GitHub).
-
FREERTOS_PORT_DIRECTORY
: The full path to the freertos port that you would like to use. On GitHub you can find the list here. Locally, if you initialize the FreeRTOS submodules, you can find the options in <FREERTOS_DIRECTORY>/FreeRTOS/Source/portable
-
CONFIG_DIRECTORY
: The full path which has the following files: FreeRTOSConfig.h
, azure_iot_config.h
, and core_mqtt_config.h
.