Error with Simple Transaction example

Hi, I am trying to implement the Simple Transaction example on Esperissef ESP32 DEVKITC 32. However, I always get these errors. I tried to clone the project example from github and I have also created a new project and copied files to there but still get same errors.

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 179 : ‘zhwcrypto_info’ undeclared (first use in this function)

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 179 : ‘ZHWCRYPTO_KEY_ECKEY’ undeclared (first use in this function)

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 263 : unknown type name ‘mbedtls_threading_mutex_t’

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 266 : unknown type name ‘mbedtls_threading_mutex_t’

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 270 : unknown type name ‘mbedtls_threading_mutex_t’

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 274 : unknown type name ‘mbedtls_threading_mutex_t’

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 373 : ‘mbedtls_mutex_init_alt’ undeclared (first use in this function)

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 374 : ‘mbedtls_mutex_free_alt’ undeclared (first use in this function)

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 375 : ‘mbedtls_mutex_lock_alt’ undeclared (first use in this function)

[error] /Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c => line 376 : ‘mbedtls_mutex_unlock_alt’ undeclared (first use in this function)

[error] Error in C natives [—] in [[/Users/apple/.zerynth2/dist/r2.4.0/stdlib/csrc/zsockets/zsockets.c] at line 0](javascript:app.open_marker(’ users=)

Hello morwan,

you miss a define in the project.yml file.
Please check this part of the esp32 devkitc documentation (link).

Try to substitute this in your project.yml file.

---
config:
    ZERYNTH_SSL: null
    NATIVE_MBEDTLS: true
...

Hope this can help you