@micropython.native support? MICROPY_EMIT_XTENSA define?
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?
we learned only recently that native code generation indeed would be coming to MicroPython for ESP32 . 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 
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,
mnovella last edited by
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.
robert-hh last edited by