Search found 92 matches
- Fri Aug 09, 2024 9:49 pm
- Forum: IDEs for ESP-IDF
- Topic: Great news about C/C++ indexing in the lilght of last Eclipse update
- Replies: 1
- Views: 3579
Re: Great news about C/C++ indexing in the lilght of last Eclipse update
Actually it does work but only using the LSP version of the C++ editor which, unfortunately, isn't as feature rich as the original CDT C++ editor. It was a struggle to get everything working however. I would up having to start from scratch with a new install of Eclipse Embedded C++ 2024-06 and a new...
- Sun Mar 12, 2023 1:20 am
- Forum: ESP-IDF
- Topic: Is there a way to create custom entries for esp_err_to_name?
- Replies: 0
- Views: 853
Is there a way to create custom entries for esp_err_to_name?
...other than cloning and customizing gen_esp_err_to_name.py (and maybe esp_err_to_name.c.in) that is.
- Thu Feb 09, 2023 1:13 pm
- Forum: ESP-IDF
- Topic: nvs_open and nvs_get work from namespaces that do not exist.
- Replies: 2
- Views: 1908
Re: nvs_open and nvs_get work from namespaces that do not exist.
Hard to say what's going on without seeing the input to nvs_partition_gen.py and parttool.py for each device but nvs_open WILL create a namespace if it doesn't already exist and if it was called with NVS_READWRITE. When you say "reads garbage values" are you saying that the read returns ESP_OK when ...
- Thu Feb 09, 2023 1:05 pm
- Forum: Hardware
- Topic: Interfacing with TTL devices
- Replies: 3
- Views: 3071
Re: Interfacing with TTL devices
The TXS0108 series of level shifters are popular, cheap and dead simple to use.
https://www.ti.com/lit/ds/symlink/txs01 ... 5947678061
You can get just the chips themselves or get them pre-mounted to a carrier board with standard pin spacing.
https://www.ti.com/lit/ds/symlink/txs01 ... 5947678061
You can get just the chips themselves or get them pre-mounted to a carrier board with standard pin spacing.
- Mon Jan 23, 2023 6:05 pm
- Forum: ESP-IDF
- Topic: Is there a reason bool and float aren't supported in nvs_flash?
- Replies: 2
- Views: 1737
Re: Is there a reason bool and float aren't supported in nvs_flash?
The template for "is_integral" in nvs_handle.hpp needed to be split out to 3 separate cases because float isn't integral and even though bool is, the way the logic works it'd be resolved to signed-no, length 1 (0x01) NVS_TYPE_U8 .
- Mon Jan 23, 2023 2:14 am
- Forum: ESP-IDF
- Topic: Is there a reason bool and float aren't supported in nvs_flash?
- Replies: 2
- Views: 1737
Is there a reason bool and float aren't supported in nvs_flash?
There doesn't seem to be an implementation for either bool or float in the nvs_flash component. Is there a reason? bool is easy to represent as an integer of course but having a specific type for it is handy on read because you can translate the value to a 'true" or "false" string. I added the neces...
- Wed Jan 18, 2023 12:52 am
- Forum: IDEs for ESP-IDF
- Topic: How to use C++ with ESP-IDF and FreeRTOS please ?
- Replies: 2
- Views: 4372
Re: How to use C++ with ESP-IDF and FreeRTOS please ?
At the beginning ot my main.cpp file, I put the include files in a extern "C" { ..... } You should NOT use extern "C" { ..... } around any header files provided by esp-idf. They're already taken care of. If you still have issues after removing the extern "C" { ..... } , post back. It should just wo...
- Fri Jan 13, 2023 3:02 am
- Forum: ESP-IDF
- Topic: nvs_open return ESP_ERR_NVS_NOT_FOUND after erase flash
- Replies: 3
- Views: 2500
Re: nvs_open return ESP_ERR_NVS_NOT_FOUND after erase flash
hello, i have a working project that uses nvs. if i do a idf.py erase-flash and reflash the project, NVS don't work anymore because when i do esp_err_t err = nvs_open("storage", NVS_READONLY, &my_handle); it return ESP_ERR_NVS_NOT_FOUND. if i flash an example from $IDF_PATH/examples/storage/nvs... ...
- Tue Jan 03, 2023 3:30 pm
- Forum: ESP-IDF
- Topic: Plans for experimental_cpp_component?
- Replies: 4
- Views: 5042
Re: Plans for experimental_cpp_component?
Thanks Jakob. I may have had my 'git diff' backwards.
The only issue right now is that esp_mqtt_cxx is built against experimental_cpp_component but I copied it out to a separate component and changed it to use esp-idf-cxx. It compiles fine but haven't had a chance to test it yet.
The only issue right now is that esp_mqtt_cxx is built against experimental_cpp_component but I copied it out to a separate component and changed it to use esp-idf-cxx. It compiles fine but haven't had a chance to test it yet.
- Sat Dec 31, 2022 11:08 pm
- Forum: ESP-IDF
- Topic: Plans for experimental_cpp_component?
- Replies: 4
- Views: 5042
Which to use, experimental_cpp_component or esp-idf-cxx?
I posted my original question about a year ago but never got a response. Since then, esp-idf-cxx was added as a standalone component but it appears to be a bit behind experimental_cpp_component. Should we start using esp-idf-cxx and can we count on it being maintained?