Search found 9011 matches

by ESP_Sprite
Fri Apr 19, 2024 11:44 am
Forum: ESP32 Arduino
Topic: Partitioning ESP32
Replies: 6
Views: 164

Re: Partitioning ESP32

If the JSON is a single key/value store, you'd probably best off using the NVS (or specifically for Arduino, the 'preferences' library) rather than a spiffs. Just take the keys that you would put into the JSON file and feed them into the Preferences lib instead.
by ESP_Sprite
Fri Apr 19, 2024 11:40 am
Forum: ESP-IDF
Topic: ESP32S3: RTC main counter interrupt while awake
Replies: 9
Views: 1751

Re: ESP32S3: RTC main counter interrupt while awake

Glad to hear it works. No need to mark the answer as accepted, the forum doesn't have functionality for that.
by ESP_Sprite
Fri Apr 19, 2024 11:37 am
Forum: Hardware
Topic: "Sleep" mode in which IRAM and cache are preserved
Replies: 2
Views: 49

Re: "Sleep" mode in which IRAM and cache are preserved

All of them do. FreeRTOS detects when there's nothing better to do and runs the 'idle' task. This will put the core to sleep until the next tick interrupt or any other configured interrupt happens. Note that the core is only clockgated, not powered down, and all peripherals including the radios stil...
by ESP_Sprite
Fri Apr 19, 2024 8:31 am
Forum: ESP32 Arduino
Topic: Partitioning ESP32
Replies: 6
Views: 164

Re: Partitioning ESP32

Dependent on what configuration you need, nvs could also be a good place to store it.
by ESP_Sprite
Fri Apr 19, 2024 1:19 am
Forum: ESP32 Arduino
Topic: Partitioning ESP32
Replies: 6
Views: 164

Re: Partitioning ESP32

If you need OTA, you need two OTA partitions, ideally of the same size. (The factory partition is not required for OTA, though, so unless you know you need a factory partition, you can convert that into an OTA partition, giving you two 1.5MiB-sized OTA partitions.) Do you need to store files into in...
by ESP_Sprite
Fri Apr 19, 2024 1:15 am
Forum: ESP-IDF
Topic: ESP IDF rmt_new_copy_encoder
Replies: 1
Views: 109

Re: ESP IDF rmt_new_copy_encoder

Have you looked at the example that comes with esp-idf? Probably easier to just copy/paste that.
by ESP_Sprite
Thu Apr 18, 2024 3:01 am
Forum: IDEs for ESP-IDF
Topic: include wifi.h can't be resolved in VSCode
Replies: 2
Views: 968

Re: include wifi.h can't be resolved in VSCode

Why would you need wifi.h in the first place? The 'normal' way to include wifi functions is by including esp_wifi.h.
by ESP_Sprite
Thu Apr 18, 2024 12:45 am
Forum: General Discussion
Topic: ESP32 runs wild, can not stop or reboot. Gets hot.
Replies: 1
Views: 558

Re: ESP32 runs wild, can not stop or reboot. Gets hot.

Likely the module was subjected to something not good (overvoltage, power spike, static electricity, ...) that fried the flash chip inside the package. The ESP32 is trying to boot from that but fails. Normally the ESP32 itself doesn't get hot in that state; it's more likely that the flash broke in s...
by ESP_Sprite
Thu Apr 18, 2024 12:41 am
Forum: ESP-IDF
Topic: esp_https_server component with mTLS client auth
Replies: 3
Views: 238

Re: esp_https_server component with mTLS client auth

Sorry, you're right, it's been a while since I dived into RSA/ASN.1 etc. Seems the issue you have is described here . Note that this is about SSH keys but SSL keys have the same format (you can check that with `openssl rsa -in prvtkey.pem -text` if you want.) Could be that the AWS key leaves off the...
by ESP_Sprite
Thu Apr 18, 2024 12:30 am
Forum: ESP-IDF
Topic: This WiFi Code causes Stack overflow
Replies: 3
Views: 322

Re: This WiFi Code causes Stack overflow

Since IDF is in control of the stack it should not happen. No, it is not. ESP-IDF will create the main task with the amount of stack you configure, and it's your job to reconfigure it if it's too small. Enter menuconfig and then Component config → ESP System Settings → Main task stack size to chang...