-
Notifications
You must be signed in to change notification settings - Fork 716
scripts: zephyr_module: Add variable with module path #3213
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11e3d15
to
80849dd
Compare
5a0ade9
to
b56fb13
Compare
Adds a variable that has the path of the module directory, this is supplied as an argument when running cmake normally but is not supplied when running the check compliance script, this addition allows checks to be ran that use such syntax in Kconfig files. This is then removed from cmake as the python file handles it instead Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit ea9815f)
Add initial support for the MPS4 Corstone-320 platform, including board and SoC definitions. This platform features a Cortex-M85 CPU with an Ethos-U85 NPU and runs in simulation using the FVP_Corstone_SSE-320 Fixed Virtual Platform. Signed-off-by: Sudan Landge <[email protected]> (cherry picked from commit d1e830f)
Add MPS4 pinctrl support by referring to `mps4/common/partition/platform_base_address.h` from TF-M's main branch. Signed-off-by: Sudan Landge <[email protected]> (cherry picked from commit 5a3c494)
What is changed? - Add initial support for the MPS4 Corstone-315 FVP platform, including board and SoC definitions.The qualifier to build/run application with board mps4/corstone315 is `mps4/corstone315/fvp` for secure and `mps3/corstone315/fvp/ns` for non-secure. - FVP testing with corstone315 uses the ARM FVP `FVP_Corstone_SSE-315`. Why do we need this change? - This enables FVP support for corstone315. - A separate FVP variant was added for corstone315 as the TFM board used for non-secure variant differs for FPGA and FVP. TFM board `arm/mps4/corstone315` support is present but no FVP support yet. We can test this by building TF-M with -DTFM_PLATFORM=arm/mps4/corstone315 and then lauching FVP: FVP_Corstone_SSE-315 --data "bl1_1.bin"@0x11000000 --data "cm_provisioning_bundle.bin"@0x12024000 --data "dm_provisioning_bundle.bin"@0x1202aa00 --data "bl2_signed.bin"@0x12031400 --data "tfm_s_ns_signed.bin"@0x38000000 Signed-off-by: Shaunak saha <[email protected]> (cherry picked from commit 05d1c3a)
Update support for MPS4 which has default 256 MACs as per FVP. Signed-off-by: Sudan Landge <[email protected]> (cherry picked from commit 97c501f)
Add mbox sample support for ESP32C6 HP and LP Core Signed-off-by: Lucas Tamborrino <[email protected]> (cherry picked from commit 6379ef4)
…ables Updates this to comply with the Zephyr Kconfig recommendations Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit db8f991)
…r module paths Adds a output env file that lists the paths of zephyr modules which can be used in Kconfig files and uses this in Kconfig. Also updates Kconfig doc output to generate and use this Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 4977c5c)
b56fb13
to
5e30273
Compare
Run uv-compile to update to latest minor versions of dependencies. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 710a727)
Add a compliance check that allows to flag when a given file requires a Python version higher than 3.10 (minimum supported version in Zephyr at the time of writing) since not all Python scripts are tested against 3.10 in CI and we want to avoid introducing changes that could break users. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 17ab862)
The current test was just a basic sanity check. This adds actual validation of the SPDX files being generated as being spec-compliant. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 14ea8b0)
Update getting started guide, release notes, CI actions and Python version compliance check to use Python 3.12 as minimum supported version. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 043bb58)
use REUSE to extract copyright text from source files and include in SBOM documents Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 8031f33)
junitparser had a bug causing a traceback when running the checkpatch check compliance module, fix is in 4.0.1 of junitparser from this PR: weiwei/junitparser#168 Update requirements to make sure we get this version. Signed-off-by: Declan Snyder <[email protected]> (cherry picked from commit 1f1a2e2)
…gher" This reverts commit 043bb58. Note that scripts/requirements-actions.txt might not be 100% the same as what was pinned prior to the revert due to it being difficult to restore previous versions while also accounting for the new dependencies that were added in the meantime. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit f672cb7)
This resolves an issue on MacOS where `west sdk install` would fail when extracting a `.tar.xz` package due to the command line options selected by patool. Signed-off-by: Mirko Covizzi <[email protected]> (cherry picked from commit 5b3a48c)
progress has been unmaintained for years and tqdm is a more modern and faster alternative, which is already used by other commands. Replace progress by tqdm in the canopen_program.py script. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 0ed775b)
Somehow this file had no exclude rules in .ruff-excludes.toml. Make it compliant going forward. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit f39ec79)
mock has been available in Python standard lib since Python 3.3, remove the unnecessary dependency to `mock` pip package. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit edead76)
This dependency is not used anywhere so drop it. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 53ea495)
Add back tomli to the requirements-actions.txt as it is still used by some dependencies. Signed-off-by: Tim Pambor <[email protected]> (cherry picked from commit 12ba98b)
Remove mock from requirements-actions.in as it is not needed anymore. Signed-off-by: Tim Pambor <[email protected]> (cherry picked from commit 3d077c6)
No more users of lxml in the tree so drop the 3rd party dependency (it might still be pulled in by other projects, ex. gcovr). Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 9913817)
PyGithub >= 2.7.0 is required for the `Repository.get_collaborator_role_name` function used by the maintainer check script. Signed-off-by: Stephanos Ioannidis <[email protected]> (cherry picked from commit 3c1f7f1)
Remove an old workaround requiring lxml to be present as junitparser was not working with xml.etree.ElementTree until version 3.0.0. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit db47c89)
This is needed for any Kconfig processing Upstream PR #: 95771 Signed-off-by: Jamie McCrae <[email protected]>
Loads this file in a better way that means samples and modules should not have to source the file before referencing Kconfig module path variables Upstream PR #: 95771 Signed-off-by: Jamie McCrae <[email protected]>
1251b11
to
1802bd6
Compare
tejlmand
approved these changes
Sep 11, 2025
bjarki-andreasen
approved these changes
Sep 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a variable that has the path of the module directory, this is supplied as an argument when running cmake normally but is not supplied when running the check compliance script, this addition allows checks to be ran that use such syntax in Kconfig files. This is then removed from cmake as the python file handles it instead
manifest-pr-skip