@micropython.native support? MICROPY_EMIT_XTENSA define?
-
Hello,
MicroPython has support for native code via the "@micropython.native" decorator. It also seems to have support for native Xtensa processor code via the MICROPY_EMIT_XTENSA define.
I don't see the same support in the Pycom branch. What version of MicorPython is Pycom using? Is there anyone else that has tried adding support for this in Pycom?
Thank you!
--Jason
-
@peterson79 MicroPython.org does not support @micropython.native in the ESP32 port. It is supported for ESP8266 and STM32.
-
Hello @robert-hh
Does your answer imply that there is a ESP8266 and/or STM32 version of the LoPy or any other dev board?
If not, is there a way one could make use of the native or viper decorators?
Any pointers you could share would be greatly appreciated.
-
Hi there,
we learned only recently that native code generation indeed would be coming to MicroPython for ESP32 [1]. After MicroPython 1.12 arrived a few weeks ago, this even became a real thing:
The esp32 port has the following new features: native code generation [2]
However, Pycom just upgraded to MicroPython 1.11 a few months ago so we will probably have to wait a bit to see the upgrade to MicroPython 1.12.
With kind regards,
Andreas.[1] https://community.hiveeyes.org/t/native-modules-in-micropython/2709/2
[2] https://github.com/micropython/micropython/releases/tag/v1.12
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login