I want to wrap arduino functions of esp32 arduino core into micropython
is there any way to do so?
I tried including arduino core as a component inside ports/esp32/components -
https://github.com/saurabhjadhav1911/mi ... components
and also added a cpp source file "artest.cpp" in the make file
-https://github.com/saurabhjadhav1911/mi ... artest.cpp
after this the compilation gives error as Arduino.h : No suc file or Directory
then how to change the Makefile to include the arduino-core component
and does the wrapping can be done using extern "c" and then using the variables conversion functions like "mp_obj_new_int_from_uint(fun());"
Including Arduino -Core functionality
-
- Posts: 1
- Joined: Thu Mar 29, 2018 4:39 am