-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
riscv processor based esp32 series support(and more) #43
Comments
I'm not using the Arduino IDE, I'm using esp idf 5.2 directly, other than this, I get a watchdog timer timeout when calling proto.run_tx... for the second time. |
@Tizio1234 This could be. The library was tested with idf 3.X and 4.X, but not with the 5.X. |
Here's main.cpp:
I have 2 esp32 connected by an uart with same app(I had similar output with 2 esp32c3), here's the debug uart output, it just goes on like this forever: rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) load:0x40080404,len:3904 Backtrace: 0x400DB32F:0x3FFB0E40 0x400DB6F4:0x3FFB0E60 0x400830B9:0x3FFB0E90 0x400D6FC0:0x3FFB8420 0x400D71E5:0x3FFB8440 0x400D6865:0x3FFB8460 0x400D5E65:0x3FFB8490 0x400D5C74:0x3FFB84B0 0x400871BD:0x3FFB84E0 E (26895) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time: Backtrace: 0x400DB32F:0x3FFB0E40 0x400DB6F4:0x3FFB0E60 0x400830B9:0x3FFB0E90 0x400D7091:0x3FFB8420 0x400D71E5:0x3FFB8440 0x400D6865:0x3FFB8460 0x400D5E65:0x3FFB8490 0x400D5C74:0x3FFB84B0 0x400871BD:0x3FFB84E0 Even the generator example has this kind of issue, I haven't tested the loopback example though |
In the library there are no blocking calls at The only place to lock up is inside Could you please try the code from |
I'm getting the same result even when using cpp_api branch |
@Tizio1234
There are 2 modes of the library: Single thread mode and Multithread mode. |
When trying to build for esp32c3(or any riscv processor based esp32) tiny_types.c and tiny_types.h don't include the esp32/esp32_hal.inl(or .h, I don't remember).
This can be fixed by adding to the line "#elif defined(__XTENSA__)" " || defined(__riscv)".
Should I create a new branch with this simple fix and do a pull request?
The text was updated successfully, but these errors were encountered: