Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

zephyr: Track mainline zephyr - #15891

#15891
Closed
Ayush1325 wants to merge 8 commits into
micropython:mastermicropython/micropython:masterfrom
Ayush1325:upstreamAyush1325/micropython:upstreamCopy head branch name to clipboard
Closed

zephyr: Track mainline zephyr#15891
Ayush1325 wants to merge 8 commits into
micropython:mastermicropython/micropython:masterfrom
Ayush1325:upstreamAyush1325/micropython:upstreamCopy head branch name to clipboard

Conversation

@Ayush1325

Copy link
Copy Markdown
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.

@codecov

codecov Bot commented Sep 21, 2024

Copy link
Copy Markdown

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.

@github-actions

github-actions Bot commented Sep 21, 2024

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Member

Zephyr 4.0.0 is now supported, see #16879.

@Ayush1325

Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.