8000 Inline assembler/c code (ESP32). · Issue #16594 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
Inline assembler/c code (ESP32). #16594
Open
@0wwafa

Description

@0wwafa

Description

It would be great to have an inline assembler or a way to pass machine code (already precompiled).
Python is great but quite slow for many timing sensitive applications.
It would be also useful to add features on the fly.

I see two possible implementations:
The classic one asm("nop; nop;")
Or a byte array containing the code.

Code Size

Shouldn't be much.

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementationsport-esp32

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0