Search found 16 matches

by markjuggles
Sat Jan 23, 2021 10:40 pm
Forum: IDEs for ESP-IDF
Topic: Espressif IDE don't work in VSCode
Replies: 5
Views: 8468

Re: Espressif IDE don't work in VSCode

I couldn't get the Espressif instructions for VS Code to work either but found that Yuri R's instructions do work. Even with his instructions the build in the VS Code terminal is not 100% reliable. The feature that I really want is quick navigation to header files, #define values, and function decla...
by markjuggles
Sat Jan 23, 2021 10:27 pm
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 17
Views: 34628

Re: Setting Target esp32s2 Fails

When I echo %IDF_TARGET% in a clean CMD window, it does report esp32. I'm pretty sure that I didn't set that myself but it was easy to fix. After changing the environment through Windows "Advanced System Settings", closing the old CMD window, and opening another, project building works as documented...
by markjuggles
Mon Jan 18, 2021 1:19 pm
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 17
Views: 34628

Re: Setting Target esp32s2 Fails

I have evaluated several WiFi chips and have two products in production with competing radios. The ESP32 has the best price but by far the most challenging development environment. Trying to re-build with a clean environment: Created a CMD window. Ran 'esp-idf\export.bat'. C:\esp\projects\esp-aws-io...
by markjuggles
Mon Jan 18, 2021 3:11 am
Forum: ESP-IDF
Topic: ESP32 and ESP32-S2 IDF
Replies: 3
Views: 4884

Re: ESP32 and ESP32-S2 IDF

Please see this post: viewtopic.php?f=13&t=19054
by markjuggles
Mon Jan 18, 2021 2:16 am
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 17
Views: 34628

Re: Setting Target esp32s2 Fails

No, after getting the project to work by setting the environment manually, the file contained this: # Enable FATFS read only with long filename support # for loading Cert/CA/etc from filesystem # (if enabled in config) CONFIG_FATFS_READONLY=y CONFIG_FATFS_CODEPAGE_437=y CONFIG_FATFS_LFN_HEAP=y # Ena...
by markjuggles
Sun Jan 17, 2021 10:00 pm
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 17
Views: 34628

Re: Setting Target esp32s2 Fails

There is a "sdkconfig.defaults" file.

I don't know which step created it but it wasn't in the original "esp-idf\examples\get-started\hello_world" folder.
by markjuggles
Sun Jan 17, 2021 8:44 pm
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 17
Views: 34628

Re: Setting Target esp32s2 Fails

Since following the instructions step by step wasn't working, I tried something different. idf.py set-target esp32s2 # still fails set IDF_TARGET=esp32s2 # just guessing idf.py menuconfig idf.py build idf.py -p com15 flash idf.py -p com15 monitor It works!!!! So hello_world is running. I will try a ...
by markjuggles
Sun Jan 17, 2021 8:12 pm
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 17
Views: 34628

Re: Setting Target esp32s2 Fails

Same results. C:\esp\projects\hello_world>rm -rf build C:\esp\projects\hello_world>idf.py set-target esp32s2 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Build directory 'c:\esp\projects\hello_world\build' not found. Nothin...
by markjuggles
Sun Jan 17, 2021 6:22 pm
Forum: ESP-IDF
Topic: Setting Target esp32s2 Fails
Replies: 17
Views: 34628

Setting Target esp32s2 Fails

I re-re-re-re-re-installed the ESP-IDF but cannot get the target changed to esp32s2. C:\esp\projects\hello_world>idf.py set-target esp32s2 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Executing action: set-target Set Target...
by markjuggles
Sun Jan 17, 2021 2:11 am
Forum: ESP-IDF
Topic: ESP32 and ESP32-S2 IDF
Replies: 3
Views: 4884

Re: ESP32 and ESP32-S2 IDF

I ended up with the esp32s2beta because I used the automated installation. That was my third or fourth attempt at installing the tools and it was finally successful. For the ESP32 anyway. So now I tried another couple of installations with the IDF from github. Of course it doesn't work. Can you tell...