Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESP32] The Viper code emitter #4607

kingsjl opened this issue Mar 15, 2019 · 3 comments


Copy link

commented Mar 15, 2019

When does esp32 support the Viper code emitter


This comment has been minimized.

Copy link

commented Mar 18, 2019

To add support for native code generation (native, viper, inline asm) to the esp32 port requires the following items:

  • implement nlr_push as a function, not a macro, for the xtensa architecture with windowing
  • add support to the native emitter for xtensa call/ret with windowed registers
  • add a way to allocate, free and garbage collect executable RAM on the esp32 (RAM used for the uPy heap is not executable)

There is not currently a timeline to implement these features.


This comment has been minimized.

Copy link

commented Mar 21, 2019

Is this also true for ESP8266?


This comment has been minimized.

Copy link

commented Mar 21, 2019

ESP8266 supports native and viper (and assembly), but you have to take some precautions for memory usage. I have saved a few links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.