Hello, I’m trying to create a project on Visual Studio Code using platformIO and I want to develop it on a ESP32 board but I’m having some problems. Can you help me?
- Development Kit: ESP32-DevKitC
- Kit version DevKitC: v4
- Module or chip used: ESP32-WROOM-32D
- IDF version : v4.2.1
- Build System: CMake
- Compiler version : 8.4.0
- Operating System: Windows
- Windows environment type: ESP Command Prompt and PowerShell.
- Using an IDE?: Yes → Visual Studio Code
- Power Supply: USB
I want to load the speech_recognition example of tensorflow lite on my board (esp32 wroom 32d). I can build and load the code but in the serial monitor I visualize:
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
mode:DIO, clock div:2
assertion “buf” failed: file “src/esp/ringbuf.c”, line 51, function: rb_init
abort() was called at PC 0x400e82a3 on core 1"
Can you link to the exact project you’re using? (code,
Starting from this repository I have developed the project for esp32 following the instruction and then I have imported this on VSC.
This is the cose of my platformio.ini:
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git"
I have made some changes to that repository following the page of towardsdatascience about tensorflow-meet-the-esp32
Can you upload your exact project folder somewhere (e.g., github, google drive) so that we have are working on the exact same project as you?
‘ringbuf.c’ creates the buffer in psram, but ESP32-DevKitC dose not have psram. Use:
’ buf = calloc(1, size);’
without checking for psram
for a general case solution refer to the discussion @