Skip to content

zephyr: Track mainline zephyr #15891

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

Closed
wants to merge 8 commits into from
Closed

Conversation

Ayush1325
Copy link
Contributor

Summary

The purpose of this PR is to track mainline zephyr for micropython zephyr port. It provides a base for upcoming Zephyr boards that are not supported in a stable Zephyr version yet.

The reason for creating this is because in the past, BeagleBoard.org has maintained different forks for upcoming boards, which ended up becoming unmaintained with time due to having low manpower. So this PR also is sort of testing ground and staging for upcoming (and existing) boards from BeagleBoard.org, which already do have some random fork.

It can also help with supporting the latest version of Zephyr in the future.

This is built on top of the amazing work #9335

Plans

The boards that are planned to be used for testing are the following:

  1. BeagleConnect Freedom
  2. BeagleBone AI-64
  3. BeagleY-AI

Currently, the plan is to keep this as a Draft and create new PRs to move the board support to upstream once we support some future v3.8.0 of Zephyr or something.

Copy link

codecov bot commented Sep 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.54%. Comparing base (69ffd2a) to head (707fc6c).
Report is 253 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #15891   +/-   ##
=======================================
  Coverage   98.54%   98.54%           
=======================================
  Files         169      169           
  Lines       21855    21855           
=======================================
  Hits        21536    21536           
  Misses        319      319           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

github-actions bot commented Sep 21, 2024

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

- Seems upstream zephyr broke this API after 3.7.0. Since for bcf, some
  stuff is not present in 3.7.0, it is important to build against
  latest.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Not using latest container images or sdk since they generally work
  fine across zephyr versions. And is better for caching.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Enable Analog inputs
- Requires Zephyr v3.8.0

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Implement PWM support using standard zephyr APIs

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Enable PWM config for bcf.
- Needs Zephyr 3.8.0

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Add docs for PWM support

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Enable support for FLASH and IEEE802154 subg radio
- Requires Zephyr v3.8.0

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
@dpgeorge
Copy link
Member

See related #16770.

The (deprecated) kconfig option NET_SOCKETS_POSIX_NAMES was removed in
commit abad505bdeed6102061767f45acd63323973f564 so remove it from our
configuration.

As the option has been deprecated longer, this also works for v3.7 and
v4.0 the other still supported versions.

Signed-off-by: Detlev Zundel <dzu@member.fsf.org>
@dpgeorge
Copy link
Member

Zephyr 4.0.0 is now supported, see #16879.

@Ayush1325
Copy link
Contributor Author

Zephyr 4.0.0 is now supported, see #16879.

Great. I am closing this PR now. Will create PRs for all boards that are supported by zephyr 4.0.0 separately.

@Ayush1325 Ayush1325 closed this Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy