Search found 143 matches

by gunar.kroeger
Sun Mar 15, 2020 7:21 pm
Forum: IDEs for ESP-IDF
Topic: How to custom flash command VS Code
Replies: 4
Views: 10446

How to custom flash command VS Code

I am able to build and flash my program. But I'm using a custom partition table with 2 app sections, one smaller than the other. How can I make VS Code flash into the 2nd partition instead of the first app partition it finds? I know VS Code uses the build/flash_projects_args file, but it is automati...
by gunar.kroeger
Fri Mar 13, 2020 6:44 pm
Forum: ESP-IDF
Topic: Occasional "ninja: error: opening build log: Permission denied" when building project
Replies: 9
Views: 19320

Re: Occasional "ninja: error: opening build log: Permission denied" when building project

I'm getting the same on VS Code extension. Reopening VS Code solves the problem.
by gunar.kroeger
Wed Mar 04, 2020 5:01 pm
Forum: ESP-IDF
Topic: [Solved] CMAKE how to use typedef enum declared in component
Replies: 2
Views: 3243

Re: CMAKE how to use typedef enum declared in component

works for me as well! thanks
by gunar.kroeger
Wed Mar 04, 2020 1:01 pm
Forum: ESP-IDF
Topic: [Solved] CMAKE how to use typedef enum declared in component
Replies: 2
Views: 3243

[Solved] CMAKE how to use typedef enum declared in component

Hi, I have a component with a header file "include/Config.h" which declares: typedef enum { HW_VERSION_UNDEFINED = 0, HW_VERSION_1, //green PCB HW_VERSION_2, //yellow PCB HW_VERSION_3, //navy PCB HW_VERSIONS_SIZE, }HW_Versions; in main.c, I am including Config.h, with no compilation errors. But when...
by gunar.kroeger
Tue Mar 03, 2020 4:30 pm
Forum: IDEs for ESP-IDF
Topic: Windows requires a prebuilt mconf-idf
Replies: 3
Views: 10744

Re: Windows requires a prebuilt mconf-idf

going through the ESP_IDF: Configure ESP_IDF extension solves the issue
by gunar.kroeger
Tue Mar 03, 2020 4:16 pm
Forum: IDEs for ESP-IDF
Topic: Windows requires a prebuilt mconf-idf
Replies: 3
Views: 10744

Re: Windows requires a prebuilt mconf-idf

I was able to reproduce this issue. ⚠️ CMake Error at C:/Users/gunar.kroeger/esp-idf/tools/cmake/kconfig.cmake:28 (message): Windows requires a prebuilt mconf-idf for your platform on the PATH, or an MSYS2 version of gcc on the PATH to build mconf-idf. Consult the setup docs for ESP-IDF on Windows. ...
by gunar.kroeger
Fri Feb 21, 2020 3:48 pm
Forum: IDEs for ESP-IDF
Topic: Getting IDF version 4.0-dirty with VS Code marketplace
Replies: 2
Views: 5899

Re: Getting IDF version 4.0-dirty with VS Code marketplace

I don't know if it's the line endings, I configured git to not change line endings and the issue persists.
Also it's not happening with .c and .h source files. Just in components, docs, examples and tools folder with .sh and .py files and files without extension like tinyxml2
by gunar.kroeger
Thu Feb 20, 2020 11:08 pm
Forum: IDEs for ESP-IDF
Topic: Getting IDF version 4.0-dirty with VS Code marketplace
Replies: 2
Views: 5899

Getting IDF version 4.0-dirty with VS Code marketplace

I'm trying to use this function to get version information: const esp_app_desc_t *app_desc = esp_ota_get_app_description(); ESP_LOGI(TAG, "idf_ver = %s", app_desc->idf_ver); and getting "idf_ver = v4.0-dirty" after installing, configuring, building and flashing with the VS Code extension (windows 10...
by gunar.kroeger
Thu Feb 20, 2020 2:13 pm
Forum: IDEs for ESP-IDF
Topic: [Solved] Help needed with VS code and Windows
Replies: 4
Views: 6925

Re: Help needed with VS code and Windows

Aaah that worked! I see how I should have been able to deduce that, but I suggest clarifying this step or automating it if possible for the next users. I also had an issue while installing from the marketplace "virtualenv: error: unrecognized arguments: --no-site-packages"" The solution was to run t...
by gunar.kroeger
Wed Feb 19, 2020 10:25 pm
Forum: IDEs for ESP-IDF
Topic: [Solved] Help needed with VS code and Windows
Replies: 4
Views: 6925

Re: Help needed with VS code and Windows

Hmm I don't understand how to do that, the compile_commands.json is generated automatically when I build the project, so if I replace the contents with the configuration in this link, it gets overwritten with the picture I attached and doesn't solve my issue.

Could you explain this step further?