The raw encoder value is ultimately being used as the index for array Keuzes, without any checking. If it isn't conveniently 0, 1, or 2 then all bets are off.
Whatever value it was (-1?) just happened to be the offset to one of the pointers ("Back"?) in your other 'unused' array.
Search found 364 matches
- Wed Jan 06, 2021 10:48 am
- Forum: General Discussion
- Topic: interesting lcd.print memory bug
- Replies: 2
- Views: 342
- Wed Jan 06, 2021 12:46 am
- Forum: ESP-IDF
- Topic: Trying to make component folder work
- Replies: 7
- Views: 605
Re: Trying to make component folder work
Check these files are exactly "CMakeLists.txt"
- Tue Jan 05, 2021 11:38 am
- Forum: ESP-IDF
- Topic: Trying to make component folder work
- Replies: 7
- Views: 605
Re: Trying to make component folder work
Should only need this:
Try adding sgtl5k to REQUIRES in project-folder/main/CMakeLists.txt
Code: Select all
#include "sgtl5k.h"
Re: freertos
What's your c_cpp_properties.json look like?
- Tue Jan 05, 2021 10:02 am
- Forum: General Discussion
- Topic: HTTP_CLIENT: - allways getting "content_length=-1" in all OTA example, and OTA_VALIDATE_FAILED at the end.
- Replies: 3
- Views: 402
Re: HTTP_CLIENT: - allways getting "content_length=-1" in all OTA example, and OTA_VALIDATE_FAILED at the end.
Your server is using chunked encoding but it's not supported in native_ota_example.
- Fri Jan 01, 2021 3:40 pm
- Forum: ESP-IDF
- Topic: Debugging ULP_RISCV on ESP32S2
- Replies: 3
- Views: 469
Re: Debugging ULP_RISCV on ESP32S2
SENS_SAR_COCPU_DEBUG_REG might be helpful. Set SENS_SAR_COCPU_STATE_REG[SENS_COCPU_DBG_TRIGGER] to update (I'm not sure it's immediate though?). For this specific one, try: Call esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON) before esp_deep_sleep_start Remove REG_SET_FIELD(RTC_CNTL_...
- Thu Dec 31, 2020 10:39 am
- Forum: General Discussion
- Topic: esp_http_client_close(client) returns FAIL
- Replies: 1
- Views: 251
Re: esp_http_client_close(client) returns FAIL
The server may have already closed the connection after completing the response. You can disregard the return value of esp_http_client_close for your purposes here - either it closes and returns OK, or it's already closed and you get some other code. Code for the full request would be useful if I'm ...
- Mon Dec 21, 2020 3:12 pm
- Forum: ESP-IDF
- Topic: Ensuring custom app desc is included
- Replies: 3
- Views: 484
Re: Ensuring custom app desc is included
Thanks for the confirmation, Mahavir. I was still having issues so I tried to recreate with a minimal project - and noticed that foo.c works fine, but foo.cpp fails. It appears to be due to mangling (so "foo_app_desc" does not exist by that name and CMake has nothing to do)..? I've added this to foo...
- Fri Dec 18, 2020 1:33 pm
- Forum: ESP-IDF
- Topic: Ensuring custom app desc is included
- Replies: 3
- Views: 484
Ensuring custom app desc is included
I'm having trouble ensuring that my custom app header is included according to the instructions here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/app_image_format.html#adding-a-custom-structure-to-an-application In external component foo/foo.cpp I have: const __a...
- Mon Dec 14, 2020 2:57 am
- Forum: ESP-IDF
- Topic: ULP_RISCV on ESP32S2 doesn't wake up after first run
- Replies: 3
- Views: 482
Re: ULP_RISCV on ESP32S2 doesn't wake up after first run
Related:
https://github.com/espressif/esp-idf/issues/6069
Maybe set this bit once (eg. in ulp_riscv_run)?
https://github.com/espressif/esp-idf/issues/6069
Maybe set this bit once (eg. in ulp_riscv_run)?