Search found 39 matches
- Sat Aug 02, 2025 7:37 am
- Forum: ESP-IDF
- Topic: ESP32 app_main() loop
- Replies: 6
- Views: 4199
Re: ESP32 app_main() loop
Put the chip in deep sleep with all wakeup sources disabled.
- Sun Apr 21, 2024 9:43 am
- Forum: IDEs for ESP-IDF
- Topic: include wifi.h can't be resolved in VSCode
- Replies: 4
- Views: 13341
Re: include wifi.h can't be resolved in VSCode
Your first code sample is for the Arduino platform and the second is for ESP-IDF. The private wifi.h header in ESP-IDF isn't the same as the WiFi.h header in Arduino and including it won't provide any Arduino-like functionality for your code.
- Tue Mar 21, 2023 10:04 pm
- Forum: ESP-IDF
- Topic: C++ error: Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled
- Replies: 2
- Views: 4560
Re: C++ error: Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled
xTaskCreate(&task, "Test Task", 10000, NULL, 1, NULL);
You have extra indirection that causes the code to crash. The call should be:
xTaskCreate(task, "Test Task", 10000, NULL, 1, NULL);
See the example in the docs:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api ...
- Fri Dec 23, 2022 10:34 am
- Forum: General Discussion
- Topic: QT support for ESP32-S3
- Replies: 2
- Views: 5258
Re: QT support for ESP32-S3
There appears to be a port of Qt for MCUs for the ESP-S3-BOX device: https://doc.qt.io/QtForMCUs-2.3/qtul-supported-platforms.html#other-target-boards . You need to contact the Qt company for access to the code and for setup instructions.
Notice that Qt for MCUs is a small subset of the full Qt ...
Notice that Qt for MCUs is a small subset of the full Qt ...
- Tue Jul 19, 2022 9:02 am
- Forum: Hardware
- Topic: NTP Update
- Replies: 3
- Views: 5825
Re: NTP Update
Remove the setenv() and tzset() calls from timeSync() function, and place them in setup() before calling getLocalTime().
- Sun Jun 19, 2022 10:58 am
- Forum: ESP-IDF
- Topic: Is the performance / power consumption of ESP32 configurable?
- Replies: 2
- Views: 2344
Re: Is the performance / power consumption of ESP32 configurable?
Try using esp_wifi_set_ps(WIFI_PS_NONE) to disable WiFi power saving mode.
- Wed May 11, 2022 8:36 am
- Forum: ESP-IDF
- Topic: Task isn't running again after running for the first time
- Replies: 3
- Views: 2564
Re: Task isn't running again after running for the first time
The stack for "Print messages" task is too small and it breaks the other task. In my system, the program crashes after first run of print_messages():
Sending num :: 0
Sent num
Spaces in queue :: 4
Item received :: 0
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled ...
Sending num :: 0
Sent num
Spaces in queue :: 4
Item received :: 0
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled ...
- Thu Jan 13, 2022 12:37 pm
- Forum: General Discussion
- Topic: Sending struct information to the queue
- Replies: 2
- Views: 4104
Re: Sending struct information to the queue
Where is the array data_buf allocated? If it's a local variable to the sending function, it won't exist when the message is read and the space may have been overwritten by other data.
- Thu Dec 09, 2021 12:50 pm
- Forum: ESP-IDF
- Topic: how do I save variables into the nvs?
- Replies: 4
- Views: 11107
Re: how do I save variables into the nvs?
The maximum length of a NVS key is 15 characters: https://docs.espressif.com/projects/esp ... and-values, the key "user_msg1_length" you used is 16 characters.
Re: timer
The first comment line of the code states it's an example of the High Resolution Timer API and the documentation for esp_timer_delete() is on that page. No need to guess, just read more carefully.