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

Installing external hal via platform.py #19

Open
lorforlinux opened this issue Apr 25, 2024 · 4 comments
Open

Installing external hal via platform.py #19

lorforlinux opened this issue Apr 25, 2024 · 4 comments

Comments

@lorforlinux
Copy link

Hi, I am working on adding BeagleConnect Freedom board support to platformio zephyr framework. I have a working platform repo for the board to build an example blinky program. The only remaining part that I am doing manually right now is to add ti_cc13x2x7_cc26x2x7": ["ti"], to install-deps.py & platformio-build.py as shown in the screenshot.

image

We may want to change the platform name from platform-ti_cc13x2x7_cc26x2x7 to platform-beagleconnect and I want to know if we can trigger the hal installation via platform.py or not.

BeagleConnect Freedom is already included in the main Zephyr tree and we will maintain the support.
https://github.com/zephyrproject-rtos/zephyr/tree/main/boards/beagle/beagleconnect_freedom

@valeros
Copy link
Member

valeros commented Apr 25, 2024

Hi @lorforlinux, unfortunately, you cannot trigger the HAL installation from the platform.py file.

@lorforlinux
Copy link
Author

Hey @valeros, thanks for confirming that.

The current version of framework-zephyr is 2.30600.240316 (3.6.0) and on the registry page repository is set to upstream Zephyr repo. I am confused, can you please point me to the actual framework-zephyr repo because upstream zephyr doesn't include platformio scripts.

@valeros
Copy link
Member

valeros commented Apr 25, 2024

I am confused, can you please point me to the actual framework-zephyr repo because upstream zephyr doesn't include platformio scripts.

There is no such repository. The framework-zephyr package is preprocessed before publishing to the PlatformIO Registry. The final package consists of the files from the stable release of Zephyr and build scripts from this repository.

@lorforlinux
Copy link
Author

@valeros Thank you for the insight, I have created a PR for platform-beagle. Can we merge and add that to PIO Zephyr package 3.4 and above? we are currently testing our platform on PIO Zephyr package version 3.4

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

2 participants