Page 1 of 1

Error compiling esp-AT project

Posted: Thu Dec 21, 2023 9:47 am
by vapisoft
I am using Visual Studio Code to compile the ESP-AT project.
I get a lot of errors in the MakeFiles.txt

For example in line 9:

Code: Select all

string(TOLOWER $ENV{ESP_AT_MODULE_NAME} LOWER_NAME)
The error was that it didn't have the: OUTPUT_VARIABLE

Code: Select all

string(TOLOWER $ENV{ESP_AT_MODULE_NAME} OUTPUT_VARIABLE LOWER_NAME)
In other lines it is more difficult to solve.
like in the following:

Code: Select all

string(SUBSTRING "${PLATFORM_STR}" 9 ${SUBSTR_LENGTH} OUTPUT_VARIABLE PLATFORM_NAME)
How can it be?
Maybe I am using the wrong ISE (Visual Studio Code) or the wrong compiler (mingw32-gcc.exe).

Re: Error compiling esp-AT project

Posted: Mon Jan 15, 2024 12:29 pm
by esp-at
ESP-AT does not support to compile by the Visual Studio Code IDE. you have to follow the guide: https://docs.espressif.com/projects/esp ... le_it.html
> you can browse the code by he VS code IDE.

please know.