Search found 39 matches

by trustmiao
Mon May 11, 2020 4:15 pm
Forum: ESP32 IDF
Topic: how can nvs be cleared while flash, or on pc terminal
Replies: 2
Views: 305

Re: how can nvs be cleared while flash, or on pc terminal

Thx , guess this is the most automatic way
by trustmiao
Mon May 11, 2020 9:39 am
Forum: ESP32 IDF
Topic: is this the heap not enough for cpu0 and how can I set it higher
Replies: 0
Views: 200

is this the heap not enough for cpu0 and how can I set it higher

it was a working program, but we recently need to add ble function to it, once we init ble, it crashed with prompt: 0x4008116c: call_start_cpu1 at G:/esp_vsc/esp-idf/components/esp32/cpu_start.c:269 I (495) cpu_start: App cpu up. Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was...
by trustmiao
Fri May 08, 2020 11:51 am
Forum: ESP32 IDF
Topic: how can nvs be cleared while flash, or on pc terminal
Replies: 2
Views: 305

how can nvs be cleared while flash, or on pc terminal

try to make sure nvs is default after every flash.
by trustmiao
Wed May 06, 2020 9:34 am
Forum: ESP32 IDF
Topic: how to include esp32 ble component in a custom component
Replies: 2
Views: 572

Re: how to include esp32 ble component in a custom component

SlavaDev503 wrote:
Thu Apr 30, 2020 4:39 pm
It seems that your bluetooth disabled, you need to enable it in menu config, you should not directly add it in your cmake.
Image
this solves the problem perfectly, thanks alot
by trustmiao
Thu Apr 30, 2020 9:04 am
Forum: ESP32 IDF
Topic: esp32 idf in vsc, build flash working, can't monitor
Replies: 5
Views: 736

Re: esp32 idf in vsc, build flash working, can't monitor

it's solved, for record. this computer used to be set up in esp idf in msys environment , there are settings in
"preferences: open settings(json)"
still pointed top msys mingw32, which cause the problem. deleted these , and it is working now. thanks for help
by trustmiao
Thu Apr 30, 2020 8:45 am
Forum: ESP32 IDF
Topic: how to include esp32 ble component in a custom component
Replies: 2
Views: 572

how to include esp32 ble component in a custom component

Hi all While i was writing a component about ble functions, i've met this error: ../components/ble/ble.h:9:20: fatal error: esp_bt.h: No such file or directory although i've put bt in cmakelists for the custom component set(COMPONENT_ADD_INCLUDEDIRS .) set(COMPONENT_SRCS "ble.cpp") set(COMPONENT_REQ...
by trustmiao
Thu Apr 30, 2020 8:42 am
Forum: ESP32 IDF
Topic: esp32 idf in vsc, build flash working, can't monitor
Replies: 5
Views: 736

Re: esp32 idf in vsc, build flash working, can't monitor

ESP_Roland wrote:
Wed Apr 29, 2020 9:24 am
Are you checking the value of PATH from inside VSCode terminal? Because I think there it is incorrect.
I totally agree, i will try to reset the path in terminal , will see can i get it solved
by trustmiao
Wed Apr 29, 2020 7:42 am
Forum: ESP32 IDF
Topic: esp32 idf in vsc, build flash working, can't monitor
Replies: 5
Views: 736

Re: esp32 idf in vsc, build flash working, can't monitor

Hi trustmiao, please check the content of your PATH environment variable. It seems that it invokes the MSYS python. The path to Python which you installed for Windows CMD must be earlier in PATH then the path pointing to the MSYS binary directory. G:\esp_vsc\.espressif\python_env\idf3.3_py3.8_env\S...
by trustmiao
Wed Apr 29, 2020 5:15 am
Forum: ESP32 IDF
Topic: esp32 idf in vsc, build flash working, can't monitor
Replies: 5
Views: 736

esp32 idf in vsc, build flash working, can't monitor

I installed idf3.3 with python 3.8. in windows CMD tested ok. and then installed "espressif idf 0.2.1" in vsc, after a successful installation. In f1 menu, "esp-idf build", "esp-idf flash" all work perfectly. However, when I try to use "esp-idf monitor", it is error : G:\esp32_apps\blink>set IDF_PAT...
by trustmiao
Fri Jun 14, 2019 9:28 am
Forum: ESP32 IDF
Topic: how can We get count of restarts after flash the firmware
Replies: 0
Views: 439

how can We get count of restarts after flash the firmware

We wish to save settings into nvs, but maintain a factorysettings which can be restored on requirement. Therefore, we wish we could save the factorysettings(coded in) into nvs on the first reboot after flash, and then read the nvs for settings after every other reboot. is there a way to make such a ...

Go to advanced search