Search found 606 matches

by fly135
Tue May 21, 2019 8:22 pm
Forum: ESP-IDF
Topic: NVS partition generator fails for v3.1.3 <SOLVED>
Replies: 1
Views: 2970

Re: NVS partition generator fails for v3.1.3

Well I figured out what was wrong. I needed to enable multi page blob support in make menuconfig. Also once I got it inited and opened I realized that I need to call nvs_get_str and not nvs_get_blob.

John A
by fly135
Tue May 21, 2019 7:58 pm
Forum: ESP-IDF
Topic: NVS partition generator fails for v3.1.3 <SOLVED>
Replies: 1
Views: 2970

NVS partition generator fails for v3.1.3 <SOLVED>

I'm using IDF v3.1.3 and the included partition generator. I'm using a second NVS partition, so I'm using nvs_flash_init_partition(nvs_partition). When I leave the partition blank it's able to init and open, but the keys are not there and the return code to nvs_get_blob(l_nvs, key, NULL, &length) is...
by fly135
Fri May 17, 2019 3:50 pm
Forum: General Discussion
Topic: Teething troubles
Replies: 7
Views: 7109

Re: Teething troubles

https://github.com/espressif/esp-idf/commit/94594af13f2b33286a393747b9e71e36374519cd#diff-c5e905792dd2ea0be8632d769846ff13 So you are using an older version that had a minimal task stack. Printf eats stack like a monster, nano printf is not as bad. https://docs.espressif.com/projects/esp-idf/en/lat...
by fly135
Fri May 17, 2019 3:48 pm
Forum: General Discussion
Topic: Teething troubles
Replies: 7
Views: 7109

Re: Teething troubles

In my experience performing a printf adds about 1K to the required stack size.

John A
by fly135
Fri May 17, 2019 3:45 pm
Forum: General Discussion
Topic: ESP32 compiling time is way too long!
Replies: 19
Views: 27446

Re: ESP32 compiling time is way too long!

bonmotwang wrote:
Thu May 16, 2019 9:11 pm
Hi John
That's encouraging!
It's very strange on my computer then.

I just installed ESP-IDF follow the CMAKE get started turorial.
idf.py build is so fast!!!
2 seconds if nothing changed.

Are you using CMAKE?

Thanks

Paul
I'm using IDF v3.1.3 and the make system under MSYS32.

John A
by fly135
Thu May 16, 2019 4:06 pm
Forum: ESP-IDF
Topic: PDM sample resolution
Replies: 2
Views: 4158

Re: PDM sample resolution

Bumping this because I think there is an answer out there and it got pushed off the front page too quickly and was missed.

John A
by fly135
Thu May 16, 2019 4:03 pm
Forum: General Discussion
Topic: ESP32 compiling time is way too long!
Replies: 19
Views: 27446

Re: ESP32 compiling time is way too long!

I'm running an old Xeon W3550, 3GHz, 4 core, Win 7. Make -j8 on a fairly sizable project with nothing to recompile takes 3 sec. Rebuilding project with one file recompiled took 12sec.

John A
by fly135
Wed May 15, 2019 3:25 pm
Forum: General Discussion
Topic: Why make -j8 flash rebuilds the project?
Replies: 8
Views: 8356

Re: Why make -j8 flash rebuilds the project?

Is there a switch for just flash without rebuilding the whole project? I am using Eclipse. Thanks Paul Here's an example using msys32 command line... $IDF_PATH/components/esptool_py/esptool/esptool.py --chip esp32 --port "COM3" --baud 921600 --before "default_reset" --after "hard_reset" write_flash...
by fly135
Tue May 14, 2019 10:32 pm
Forum: ESP-IDF
Topic: PDM sample resolution
Replies: 2
Views: 4158

Re: PDM sample resolution

I had written a simple app in Arduino that tests the board to see if I get reasonable values out of the various components for a manufacturing test. In that app I read the mics and calculate the RMS of each block of audio. When I switched the PDM mic from 16 (works) to 32 bit I got nothing out. The ...
by fly135
Tue May 14, 2019 9:42 pm
Forum: General Discussion
Topic: ESP32 compiling time is way too long!
Replies: 19
Views: 27446

Re: ESP32 compiling time is way too long!

I think -jx is x = 2 x cores because each core supports two threads. Also if you are running win10 you should disable defender from scanning your development directory.

John A