Search found 143 matches

by gunar.kroeger
Mon Mar 23, 2020 11:57 pm
Forum: ESP-IDF
Topic: CMake, custom components and Windows
Replies: 3
Views: 5065

Re: CMake, custom components and Windows

here you go:

Code: Select all

idf_component_register(SRCS BT_hal.c
                    INCLUDE_DIRS include
                    REQUIRES bt connectag)
bt is the bluetooth component in idf and connectag is a custom component.
by gunar.kroeger
Fri Mar 20, 2020 2:56 pm
Forum: ESP-IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 6833

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: ESP-IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 6833

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 6732 times
by gunar.kroeger
Thu Mar 19, 2020 1:01 pm
Forum: ESP-IDF
Topic: CMake, custom components and Windows
Replies: 3
Views: 5065

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: ESP-IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 6833

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: ESP-IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 6833

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

Re: How to custom flash command VS Code

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

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: 6
Views: 11649

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 11649 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: 10460

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