We have a product we are developing based on the WROOM-32E and would like to implement the latest version of FreeRTOS in order to leverage the latest OTA and MQTT demos/libraries.
We found this IDF_4.2_uplevel branch of Amazon FreeRTOS and have tried to integrate it with our current project but are running into a bunch of CMake errors.
Tried the other modules for AFR_BOARD.
Tried pulling out the include.
Tried clearing IDF_PATH and using the version of esp-idf included in freertos under vendors.
The target system is: Generic - -
The host system is: Windows - 10.0.19041 - AMD64
Compiling the C compiler identification source file “CMakeCCompilerId.c” succeeded.
Compiler: C:/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
Build flags: -mlongcalls
Id flags:
The output was:
0
Compilation of the C compiler identification source “CMakeCCompilerId.c” produced “a.out”
The C compiler identification is GNU, found in “C:/Chili-wifi-firmware/Projects/ChiliWifi/build-directory/CMakeFiles/3.16.4/CompilerIdC/a.out”
Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” succeeded.
Compiler: C:/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
Build flags: -mlongcalls
Id flags:
The output was:
0
Compilation of the CXX compiler identification source “CMakeCXXCompilerId.cpp” produced “a.out”
The CXX compiler identification is GNU, found in “C:/Chili-wifi-firmware/Projects/ChiliWifi/build-directory/CMakeFiles/3.16.4/CompilerIdCXX/a.out”
I think I’ve tried just about every variation in my high level cmakelists file.
At this point, I want to try to build everything separately and remove the submodule references so it doesn’t try to redownload them and rebuild every time but I’m at a loss as to where to start on that.
We have been working closely with the Espressif team in terms of timeline of availability for IDFv4.2 which has just been released. The branch you are working with is currently on a developmental version of IDF from mid-July. We are currently review the PRs raised by the Espressif team (https://github.com/aws/amazon-freertos/pull/2893) for updating to the official release version.