willw wrote on February 01, 2020:
Hello,
I'm trying to run the basic MQTT hello AWS FreeRTOS demo, and followed all the steps on this page: https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html
I've tried with both ESP windows toolchains and linux (in WSL) toolchains, and I get the same error when I try to run cmake to generate build files.
Does this make sense to anyone? I have the same error with other AFR demos.
My console outputs:
wwang@Will-T470:/mnt/c/Users/wildw/Documents/Espressif/AFR demos/AmazonFreeRTOS$ cmake -DVENDOR=espressif -DBOARD=esp32_devkitc -DCOMPILER=xtensa-esp32 -S . -B build
– The C compiler identification is GNU 5.2.0
– The CXX compiler identification is GNU 5.2.0
– The ASM compiler identification is GNU
– Found assembler: /home/wwang/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
– Found Git: /usr/bin/git (found version “2.17.1”)
– Checking Python dependencies…
Python requirements from /mnt/c/Users/wildw/Documents/Espressif/AFR demos/AmazonFreeRTOS/vendors/espressif/esp-idf/requirements.txt are satisfied.
– IDF_TARGET not set, using default target: esp32
– Building for target esp32
CMake Error at vendors/espressif/esp-idf/tools/cmake/scripts/expand_requirements.cmake:144 (list):
list GET given empty list
Call Stack (most recent call first):
vendors/espressif/esp-idf/tools/cmake/scripts/expand_requirements.cmake:199 (filter_components_list)
CMake Error at vendors/espressif/esp-idf/tools/cmake/idf_functions.cmake:338 (message):
Failed to expand component requirements
Call Stack (most recent call first):
vendors/espressif/boards/esp32/CMakeLists.txt:433 (idf_import_components)
CMakeLists.txt:49 (include)
– Configuring incomplete, errors occurred!
See also “/mnt/c/Users/wildw/Documents/Espressif/AFR demos/AmazonFreeRTOS/build/CMakeFiles/CMakeOutput.log”.
See also “/mnt/c/Users/wildw/Documents/Espressif/AFR demos/AmazonFreeRTOS/build/CMakeFiles/CMakeError.log”.