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

Zephyr 3.6 support #52

Merged
merged 6 commits into from
Sep 24, 2024
Merged

Zephyr 3.6 support #52

merged 6 commits into from
Sep 24, 2024

Commits on Jul 1, 2024

  1. fix gen_syscalls.py for zephyr 3.5

    sprhawk authored and tylerwhall committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    f6b248d View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. 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 Sep 20, 2024
    Configuration menu
    Copy the full SHA
    bf9f7e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d48c961 View commit details
    Browse the repository at this point in the history
  3. 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 Sep 20, 2024
    Configuration menu
    Copy the full SHA
    93e81f1 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. rust-smem: warning fix for Zephyr > 3.5

    The SYS_INIT function signature changed again.
    tylerwhall committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    178eb32 View commit details
    Browse the repository at this point in the history
  2. ci: disable native_posix for 3.5, 3.6

    9f1e4fa86c98ca5a80008080045bdc3b61efd5b9 broke including
    <zephyr/posix/time.h>.
    
    It was fixed in 6cf557d64a61d30352b6c50dbeab1dae4f3a67c1 which was only
    backported to 3.7-branch as fe0b5ab37b1a1959e4457fee6e0ff0964176adee,
    which doesn't currently have a point release.
    
    Should be able to turn native_posix on for 3.7 if I can build from the
    branch instead of the released 3.7.0 tag.
    
    zephyr/include/zephyr/posix/posix_types.h:51:21: error: ‘pthread_attr_t’ undeclared here (not in a function); did you mean ‘pthread_attr’?
    tylerwhall committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    be9561c View commit details
    Browse the repository at this point in the history