Search found 127 matches

by gunar.kroeger
Mon Mar 16, 2020 6:48 pm
Forum: IDEs for ESP-IDF
Topic: How to custom flash command VS Code
Replies: 4
Views: 345

Re: How to custom flash command VS Code

customflasherror.png
customflasherror.png (22.92 KiB) Viewed 271 times
by gunar.kroeger
Mon Mar 16, 2020 1:42 pm
Forum: IDEs for ESP-IDF
Topic: How to custom flash command VS Code
Replies: 4
Views: 345

Re: How to custom flash command VS Code

You could try using the partition tool in ESP-IDF https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/partition-tables.html#command-line-interface to write specific partitions for the moment, since we haven't implemented this functionality in the extension for the moment. The parttool....
by gunar.kroeger
Mon Mar 16, 2020 12:55 pm
Forum: IDEs for ESP-IDF
Topic: VS Code - Size Analysis
Replies: 0
Views: 372

VS Code - Size Analysis

This looks nice, but should I change something to get it working?
108KB/20KB doesn't feel right.
sizeanalysis.png
sizeanalysis.png (33.15 KiB) Viewed 372 times
by gunar.kroeger
Mon Mar 16, 2020 12:48 pm
Forum: IDEs for ESP-IDF
Topic: How to custom flash command VS Code
Replies: 4
Views: 345

Re: How to custom flash command VS Code

This is the flash command in Makefile that I used. connectag is the main partition at 0x90000 and Updater is a small partition (other project) that takes updates the main partition with data from the SD card. fullflash: python ${IDF_PATH}/components/esptool_py/esptool/esptool.py --chip esp32 --port ...
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: 345

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: ESP32 IDF
Topic: Occasional "ninja: error: opening build log: Permission denied" when building project
Replies: 5
Views: 688

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 1:01 pm
Forum: ESP32 IDF
Topic: [Solved] CMAKE how to use typedef enum declared in component
Replies: 2
Views: 228

[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: 1262

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: 1262

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. ...

Go to advanced search