Hi Marko,
thanks for replying. I managed to run golioth_basic_sample using ESP-IDF and it does work with Golioth Cloud.
Unfortunately it doesn’t work with Zephyr RTOS which I want to develop with. My experience with Zephyr so far is rather challenging and I found it can be tricky to find an error.
I used sample located here https://github.com/golioth/golioth-zephyr-sdk/tree/main/samples/hello
and I added hardcoded wifi and golioth credentials to the proj.conf, it didn’t work
I tried also configuration in prj.conf to allow providing credentials during runtime, but I got exactly the same behaviour error -12.
Did you add the .overlay and .conf files in the boards directory? If not, can you create esp32s3_devkitm.overlay and esp32s3_devkitm.conf files in the boards directory and copy the contents of esp32_devkitc_wroom.conf and esp32_devkitc_wroom.overlay in them?
Hi Marko,
I followed the steps and unfortunately it gets me to the same place: error -12.
That would be really weird if ESP32-S3-DevKitM-1 would work and wouldn’t ESP32-S3-DevKitC-1.
I could buy ESP32-S3-DevKitM-1, but I fear it would get me to the same error as chips are exactly the same and MINI has less capabilities. I wish I could debug this, do you know where I can find what the error -12 represents?
A colleague tested the lightdb/get and hello samples by copy-pasting .conf and .overlay files from esp32_devkitc_wroom to esp32s3_devkitm , he then flashed the code on the ESP32-S3-DevKitC-1 and connected to Golioth without any issue. Error -12 is -ENOMEM.
Can you make a clean and a build with west build -p -b esp32s3_devkitm ?
Hi
“hello” example gives me the same error as before even after following your instructions and ligthdb/get is not connecting to the Golioth cloud for some reason so, I need to figure out what settings has to be set in prj.conf. In the meantime would you mind sharing your project files that you managed to work, preferably “hello” and also Zephyr SDK version? Maybe there are some issues introduced in newer version of the SDK?
Hi Marko,
I tried building example with different SDKs (16.4, 16.3, 16.1, 15.2), but still the same issue. I have no clue how to fix this…
I ordered ESP32S3-DevkitM to rule out hardware issue.
What bugs me is that error 12 is ENOMEM which says:
Not enough core.
Should increasing heap size solve the issue?