Building Simple OTA flash for ESP32
Posted: Tue Feb 12, 2019 8:57 am
Hi,
I am trying to create the Simple OTA flash for my ESP32. When I needed to flash my ESP8266 some time ago, I was able to simple download the required bin files, and flash is with the ESP download tool. Since I am unable to find "ready to go" bin files, I decided to try and generate them myself by using VS2010 & VisualGDB plugin (offering more settings I will ever need).
On building the project I receive an error :
Command exited with code 1
Executable: C:\Users\benno\AppData\Local\VisualGDB\CMake\bin\cmake.exe
Arguments: ../.. -G "Ninja" -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_MAKE_PROGRAM="C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe"
Directory: c:\users\benno\documents\visual studio 2010\Projects\EmbeddedProject1\EmbeddedProject1/VisualGDB/Release
VisualGDB: Error: Command-line action failed
The error list shows :
Error 1 Cannot specify link libraries for target "simple_ota" which is not built by C:\SysGCC\esp32\esp-idf\v3.2\tools\cmake\idf_functions.cmake 211 0
So there error should be somewhere in the idf_functions.cmake?
I there anyone out there who can give a hand or suggestions?
I am trying to create the Simple OTA flash for my ESP32. When I needed to flash my ESP8266 some time ago, I was able to simple download the required bin files, and flash is with the ESP download tool. Since I am unable to find "ready to go" bin files, I decided to try and generate them myself by using VS2010 & VisualGDB plugin (offering more settings I will ever need).
On building the project I receive an error :
Command exited with code 1
Executable: C:\Users\benno\AppData\Local\VisualGDB\CMake\bin\cmake.exe
Arguments: ../.. -G "Ninja" -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_MAKE_PROGRAM="C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe"
Directory: c:\users\benno\documents\visual studio 2010\Projects\EmbeddedProject1\EmbeddedProject1/VisualGDB/Release
VisualGDB: Error: Command-line action failed
The error list shows :
Error 1 Cannot specify link libraries for target "simple_ota" which is not built by C:\SysGCC\esp32\esp-idf\v3.2\tools\cmake\idf_functions.cmake 211 0
So there error should be somewhere in the idf_functions.cmake?
I there anyone out there who can give a hand or suggestions?