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

Factorize REGISTER_* macros and logic for ports and nifs #1172

Merged
merged 1 commit into from
Jun 7, 2024

Commits on May 28, 2024

  1. Factorize REGISTER_* macros and logic for ports and nifs

    esp32, rp2040 and stm32 all use the same logic to use .ctor runtime to
    register drivers and nifs collections.
    
    Also use the smaller constructor name for nifs of RP2040 on other platforms to
    maintain compatibility as RP2040 builds have to explicitely list nifs so they
    are not gc'd. EPS32 is unaffected as enabling of nifs is done through menuconfig.
    
    Signed-off-by: Paul Guyot <[email protected]>
    pguyot committed May 28, 2024
    Configuration menu
    Copy the full SHA
    885d126 View commit details
    Browse the repository at this point in the history