I need to port some Arduino libraries to IDF.
Does anyone have a set of ESP IDF stubs which translate Arduino services (tick, time, debug logging etc) to ESP IDF which they will share?
Arduino to IDF header
Arduino to IDF header
& I also believe that IDF CAN should be fixed.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Arduino to IDF header
You are aware that you can use the Arduino codebase as a component in esp-idf? That should allow you to intermix code.
Re: Arduino to IDF headers & stubs
No, I was not aware. How do I go about that?
ATM I have dropped the Ardunio component into my IDF project /components added COMPONENT_SRCDIRS and COMPONENT_ADD_INCLUDEDIRS and am now faced with missing headers 'os_type.h' etc and clearly once I copy/create the headers then I will need a back end.
Most headers seems fairly trivial to create (better though if I can avoid the typing) but espconn will need some effort.
ATM I have dropped the Ardunio component into my IDF project /components added COMPONENT_SRCDIRS and COMPONENT_ADD_INCLUDEDIRS and am now faced with missing headers 'os_type.h' etc and clearly once I copy/create the headers then I will need a back end.
Most headers seems fairly trivial to create (better though if I can avoid the typing) but espconn will need some effort.
& I also believe that IDF CAN should be fixed.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 135 guests