Search found 9 matches
- Thu Aug 08, 2024 10:54 am
- Forum: ESP-IDF
- Topic: chmod() is no longer implemented?
- Replies: 1
- Views: 1037
chmod() is no longer implemented?
I needed some additional functionality to what the framework implementation of lib linenoise offered. In my adaption I used a function call to chmod when storing the history file. All compiled well up to and including espidf 5.2. However, with espidf 5.3 I get linker errors: Creating esp32s3 image.....
- Thu Aug 08, 2024 9:49 am
- Forum: ESP-IDF
- Topic: espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?
- Replies: 2
- Views: 1207
Re: espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?
Thanks you very much for pointing in this direction. This is exactly the problem. I currently fixed it the same way as the libssh2 project just did: Force exposing the function in the mbedtls.c file of libssh2: /* Force-expose internal mbedTLS function */ #if MBEDTLS_VERSION_NUMBER >= 0x03060000 int...
- Tue Aug 06, 2024 7:20 am
- Forum: ESP-IDF
- Topic: SSH client library for esp-idf 5
- Replies: 3
- Views: 2221
Re: SSH client library for esp-idf 5
Yes, I used libssh2 to make a esp component. You can find the component here: https://gitlab.com/ch405labs/ch405labs_esp_libssh2. IMPORTANT: It works with espidf 5.2, but not with 5.3. mbedtls does no longer provide one important function in espidf. This seems related to some missing code in low lev...
- Sun Aug 04, 2024 11:51 am
- Forum: ESP-IDF
- Topic: espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?
- Replies: 2
- Views: 1207
espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?
In espidf 5.0.1 the TLS implementation of espidf provided the function int mbedtls_pk_load_file(const char path, unsigned char **buf, size_tn). It seems, this function seems no longer present in the newest version of the framework. I could not find any changelog for that and which function it is sub...
- Wed Mar 29, 2023 11:28 am
- Forum: ESP-IDF
- Topic: SSH client library for esp-idf 5
- Replies: 3
- Views: 2221
SSH client library for esp-idf 5
Hi I need my esp32 to act as a ssh client (sshing into a server, executing a command and parsing the received output). I made a prototype using esp-idf 4.4 and libssh2, however, for cypher compatibility reasons I would like to switch to libssh or an alternative library supporting ed25519. While tryi...
- Sat Oct 02, 2021 7:55 am
- Forum: ESP32 Arduino
- Topic: Game ROM on SD card
- Replies: 18
- Views: 16986
Re: Game ROM on SD card
@nezvers did you make any progress on this and can you share some results? I would be interested in how you solved this.
- Wed Sep 23, 2020 7:23 pm
- Forum: ESP-IDF
- Topic: NVS commit / rollback
- Replies: 4
- Views: 4413
Re: NVS commit / rollback
Thank you for the explanation. This confirms my assumption. I will just use a blob as it rarely needs to be written (once every couple of weeks) and when a write is needed most values of the struct have changed anyways. Wear should not be a problem.
- Tue Sep 22, 2020 5:43 pm
- Forum: ESP-IDF
- Topic: NVS commit / rollback
- Replies: 4
- Views: 4413
Re: NVS commit / rollback
Thanks for the answer. Got that. Two more questions that relate to the topic: 1. What is the downside of writing a struct as a blob rather than store its individual (uint16_t) fields? (ie why does the manual state writing ints is preferred to blobs)? 2. Is there any chance, that values are committed...
- Mon Sep 21, 2020 7:05 am
- Forum: ESP-IDF
- Topic: NVS commit / rollback
- Replies: 4
- Views: 4413
NVS commit / rollback
Dear all I could not find any information on this so I ask the question here. If this is already answered somewhere else, please refer me to this information. I do store various uint32_t and one character array that are all members of the same struct as individual values in nvs. I store those indivi...