Search found 142 matches

by gunar.kroeger
Fri Mar 20, 2020 2:56 pm
Forum: ESP32 IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 1447

Re: parttool.py not working as documented??

ok we got it working calling esptool.py
But I guess we can conclude that parttool.py is indeed not working as described in the docs
by gunar.kroeger
Fri Mar 20, 2020 2:19 pm
Forum: ESP32 IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 1447

Re: parttool.py not working as documented??

willemmerson wrote:
Fri Mar 20, 2020 1:57 pm
Use --input:

parttool.py --port "/dev/ttyUSB1" write_partition --partition-name=factory --input "factory.bin"
Still not working unfortunately:
parttool error 2.png
parttool error 2.png (51.87 KiB) Viewed 1346 times
by gunar.kroeger
Thu Mar 19, 2020 1:01 pm
Forum: ESP32 IDF
Topic: CMake, custom components and Windows
Replies: 3
Views: 1200

Re: CMake, custom components and Windows

in your custom components you have to add the requirements for all required components except a few like freertos etc. have a look here: https://docs.espressif.com/projects/esp-idf/en/v4.0/api-guides/build-system.html#component-requirements You will have to work a bit correcting the CMakeLists.txt o...
by gunar.kroeger
Thu Mar 19, 2020 12:53 pm
Forum: ESP32 IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 1447

Re: parttool.py not working as documented??

Has anyone used parttool in idf 4.0 yet?
by gunar.kroeger
Wed Mar 18, 2020 12:39 pm
Forum: ESP32 IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 1447

parttool.py not working as documented??

how do I correctly use the parttool.py to flash to ota_1 partition? https://docs.espressif.com/projects/esp-idf/en/v4.0/api-guides/partition-tables.html#command-line-interface tells me that I need to follow this format: # Write to partition 'factory' the contents of a file named 'factory.bin' partto...
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: 4162

Re: How to custom flash command VS Code

customflasherror.png
customflasherror.png (22.92 KiB) Viewed 4088 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: 4162

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: 2
Views: 3917

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 3917 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: 4162

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

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

Go to advanced search