Hello, in the new ESP-IDF 5.5.1 version when I try to compile \examples\peripherals\twai\twai_network\twai_network_listen_only demo code ocurr a lot of issues.
In the demo code apear #include "driver/twai.h" but the documentation related to the new esp-idf version tell:
#include "driver/twai.h" must be replaced
#include "esp_twai.h" that this include file must be replaced by "esp_now_twai.h"
The attachment have a zip file with code.
Have any similar issue?
Many thanks.
twai issues when compile in v5.5.1
-
nopnop2002
- Posts: 347
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: twai issues when compile in v5.5.1
The API has changed significantly between driver/twai.h and esp_twai.h.
If you replace driver/twai.h with esp_twai.h, you will need to change the API.
https://github.com/espressif/esp-idf/bl ... ten_only.c
If you replace driver/twai.h with esp_twai.h, you will need to change the API.
https://github.com/espressif/esp-idf/bl ... ten_only.c
Who is online
Users browsing this forum: No registered users and 12 guests