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

[Draft] fix building on Zephyr 3.7.0 #53

Open
wants to merge 5 commits into
base: 3.6-support
Choose a base branch
from

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    21841ee View commit details
    Browse the repository at this point in the history
  2. Always build picolibc from source

    Zephyr 3.5 switches to picolibc by default and can use a binary from the
    SDK or build from source. Clang, invoked by zephyr-bindgen from
    zephyr-sys's build.rs, cannot find the SDK's picolibc include path,
    resulting in this error:
    
    > zephyr/include/zephyr/posix/time.h:55:12: fatal error: 'sys/timespec.h' file not found
    
    This is because when using the SDK version, it picks up the include path
    from a spec file.
    
        if(NOT CONFIG_PICOLIBC_USE_MODULE)
        zephyr_compile_options(--specs=picolibc.specs)
    
    We don't pass zephyr_compile_options for bindgen because it contains
    many GCC-specific options that fail under clang, and in this case the
    spec file won't work with clang anyway.
    
    Build from source so the include path is added in the normal way.
    tylerwhall committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    d74559d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63b5002 View commit details
    Browse the repository at this point in the history
  4. add 3.5, 3.6. Remove 2.6, 2.5, 2.4

    Add newly supported versions and remove intermediate 2.x versions to
    lighten the build load.
    tylerwhall committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    4559f2e View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. fix building on Zephyr 3.7.0

    sprhawk committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    eaa7bc2 View commit details
    Browse the repository at this point in the history