Search found 6 matches

by bbinet
Tue Oct 01, 2024 10:31 am
Forum: General Discussion
Topic: esp_pm_lock_create causes panic because of an failed assertion
Replies: 0
Views: 619

esp_pm_lock_create causes panic because of an failed assertion

Hello, I'm trying to use esp_pm apis to prevent esp to enter light sleep, but when I call esp_pm_lock_create, it generate a panic because of an failed assertion, see below: I (833) sensornode: Entering wave task E (833) sensornode: >>> before esp_pm_lock_create assert failed: prvNotifyQueueSetContai...
by bbinet
Thu Jul 07, 2022 5:26 pm
Forum: ESP-IDF
Topic: Disable debug of esp32c3
Replies: 2
Views: 4266

Re: Disable debug of esp32c3

I've just came accross https://github.com/luc-github/ESP3D/discussions/182
So this seems to be possible but needs a preset in efuse.
by bbinet
Thu Jul 07, 2022 5:08 pm
Forum: ESP-IDF
Topic: Disable debug of esp32c3
Replies: 2
Views: 4266

Re: Disable debug of esp32c3

I have the same issue. I have disabled log output in menuconfig (CONFIG_BOOTLOADER_LOG_LEVEL_NONE=y and CONFIG_LOG_DEFAULT_LEVEL_NONE=y) but I still can see following logs when esp32c3 is reset: ESP-ROM:esp32c3-api1-20210207 Build:Feb 7 2021 rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT) SPIWP:0xe...
by bbinet
Wed Jul 07, 2021 10:37 am
Forum: General Discussion
Topic: after refresh git invalid application of 'sizeof' to incomplete type 'struct __lock'
Replies: 5
Views: 6708

Re: after refresh git invalid application of 'sizeof' to incomplete type 'struct __lock'

Same issue here. Even after removing the whole build directory, idf.py build will continue to generate the same error: /home/bruno/dev/esp/esp-idf/components/newlib/locks.c:240:23: error: invalid application of 'sizeof' to incomplete type 'struct __lock' _Static_assert(sizeof(struct __lock) >= sizeo...
by bbinet
Thu Jun 24, 2021 7:28 am
Forum: General Discussion
Topic: Wifi station example and ESP32-S2
Replies: 6
Views: 7164

Re: Wifi station example and ESP32-S2

Waiting a few sec before initializing NVS indeed fix the issue.
This is an easy workaround, thank you @timokett.
by bbinet
Tue Jun 22, 2021 10:46 pm
Forum: General Discussion
Topic: Wifi station example and ESP32-S2
Replies: 6
Views: 7164

Re: Wifi station example and ESP32-S2

I have the exact same issue. I've tried with multiple USB cables but the issue remains. If I make a basic example which only make the ESP32S2 led to blink, but does not use the NVS nor call nvs_flash_init(); then the device led blinks as expected and the usb console works perfectly. So there must be...