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

Update Zephyr to 3.0.0 #141

Open
zpm1066 opened this issue Feb 28, 2022 · 12 comments
Open

Update Zephyr to 3.0.0 #141

zpm1066 opened this issue Feb 28, 2022 · 12 comments

Comments

@zpm1066
Copy link

zpm1066 commented Feb 28, 2022

As per https://docs.zephyrproject.org/latest/releases/release-notes-3.0.html, this release now supports Raspberry Pi Pico RP2040.

Please update Zephyr to 3.0.0 for all platforms using Zephyr, including Raspberry Pico. Thank you.

@zpm1066 zpm1066 changed the title Update Zephyr to 3.0.0 - All platforms using Zephyr including Raspberry Pi Pico RP2040 Update Zephyr to 3.0.0 - All platforms using Zephyr, including Raspberry Pi Pico RP2040 Feb 28, 2022
@zpm1066 zpm1066 changed the title Update Zephyr to 3.0.0 - All platforms using Zephyr, including Raspberry Pi Pico RP2040 Update Zephyr to 3.0.0 - All platforms using Zephyr, including new addition - Raspberry Pi Pico RP2040 Feb 28, 2022
@zpm1066
Copy link
Author

zpm1066 commented Apr 2, 2022

Any updates? Thanks.

@ivankravets ivankravets pinned this issue Jun 9, 2022
@ivankravets ivankravets changed the title Update Zephyr to 3.0.0 - All platforms using Zephyr, including new addition - Raspberry Pi Pico RP2040 Update Zephyr to 3.0.0 Jul 19, 2022
@Cyril-Roques
Copy link

Hello,

any progress on this side ?

@zpm1066
Copy link
Author

zpm1066 commented Sep 21, 2022

Unfortunately nothing yet. Pretty disappointing.

@zpm1066
Copy link
Author

zpm1066 commented Oct 4, 2022

Any traction on getting PlatformIO to support Zephyr RTOS v3.x?

Is this a dead end for all platforms (nRF 52 series, nRF53, nRF9160, STM32, Raspberry PI Pico, and ESP32) that use Zephyr RTOS? If so, it'll be a huge disappointment and folks would move on to using Nordic Semi nRF Connect for VSCode (nRF52, nRF53, nRF9160) and command line Zephyr build process.

@nilmonto
Copy link

nilmonto commented Oct 7, 2022

Hi all.. I've been trying to use Zephyr 3 on my platformio setup for the past few days and found out - the worst way - that due to major changes done by Zephyr on its CMakeLists.txt, the platformio-build*.py scripts are no longer able to compile the project along with its zephyr binaries.

In order to do that one must modify platformio-build.py (and maybe also platformio-build-pre.py) to consider the new structure introduced by Zephyr 3 to build its artfacts. I've tried to do that and got (surprisingly due to my lack of knowledge about build process) success to build and generate a firmware.hex:

image

Unfortunately the work is still in progress and I wont be able to do for the next feel days, the changes I've done on python scripts still doesn't consider the three-phase build process Zephyr now relies on: zephyr-pre0, zephyr-pre1 and zephyr-final (previously it was just zephyr-prebuilt and zephyr-final), and thus, the following warning is generated due to incomplete build instructions:

image

To anyone that maybe wanting to upgrade its environment, please see instructions on [email protected]:nilmonto/platformio-zephyr-3.git

Of course if someone from Platformio have mercy of our soul and translate the CMakeLists.txt into instructions of an updated pair of scripts to properly build Zephyr3 binaries I'm sure we all would be very thankful =)

@maxpowel
Copy link

Would be great to have zephyr 3 for nrf52. I upgraded some parts (like littlefs) in my own but zephyr itself it is too much for me. If someone could bring some light it would be awesome. I spent many hours without success, but I will keep on it.

@nilmonto can you describe/list what is needed appart from translating CMakeLists.txt? I would like to help but I'm a little overwhelmed and don't really know the goals to achieve.

@beriberikix
Copy link

FYI zephyrproject-rtos/zephyr#53303

@bradjc
Copy link

bradjc commented Feb 8, 2023

Pretty much a year later and not even a comment. Seems reasonable to assume that platform io is no longer supporting the nrf52 boards, or at least zephyr on the nrf52 boards?

@GeoSpark
Copy link

GeoSpark commented Feb 9, 2023

Pretty much a year later and not even a comment. Seems reasonable to assume that platform io is no longer supporting the nrf52 boards, or at least zephyr on the nrf52 boards?

Agreed. It's unfortunate. I've just got an Adafruit ItsyBitsy nRF52840, and I was disappointed there's no support for it in the old version of Zephyr that PlatformIO is using. It's a real shame because I love PlatformIO for everything else I have developed on.

@zpm1066
Copy link
Author

zpm1066 commented Feb 9, 2023

Yes, it’s an unfortunate stand taken up by the PlatformIO folks.
Luckily there is a much better solution for nRF52840 and Zephyr. Use the excellent Nordic Semi’s nRF Connect SDK. I’ve been using NCS for the last few years. It has now come a long way. Updates are regular, VSCode extensions are superb!
However, I do miss the ease of switching between nRF, STM32 and Raspberry Pi Pico with Zephyr that PlatformIO provided up to 2.7.x. You never know, common sense may prevail and we may get Zephyr support upgraded to 3.x for PlatformIO.

@positron96
Copy link

positron96 commented Jun 14, 2024

So, since Zephyr 3 is supported since Sep 2023, https://piolabs.com/blog/news/platformio-oss-september-2023-updates.html (just not for nRF) should we expect any progress on this?

@beriberikix
Copy link

Zephyr LTS 3.7 was officially released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants