Search found 2 matches

by Alexander
Sun Jul 03, 2022 9:46 pm
Forum: General Discussion and Questions
Topic: Call native functions from mpy C extension.
Replies: 2
Views: 1230

Re: Call native functions from mpy C extension.

Christian Walther wrote:
Sun Jul 03, 2022 7:46 pm
Unless I missed any recent developments, the answer is no. This has been discussed and solutions prototyped over the years, I believe the latest part is in pull request #5711. Someone else might know more.
Thank you very match Christian, you save many of my time.
by Alexander
Sun Jul 03, 2022 2:48 pm
Forum: General Discussion and Questions
Topic: Call native functions from mpy C extension.
Replies: 2
Views: 1230

Call native functions from mpy C extension.

Hi, i wrote C extension how to described in topic https://docs.micropython.org/en/latest/develop/natmod.html . After, i built it under esp32 architecture 'make ARCH=xtensawin'. It work fine, but i need call esp32-idf functions inside my extension. For example read/write to UART( https://docs.espress...