-
Notifications
You must be signed in to change notification settings - Fork 59
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
cbuild setup with --packs
option should install required packs
#1819
Comments
Note that |
The call with This is what we got: MCXN947_BSP requires DFP 19.0.0 or higher to work. Potential solution: Once the requested packs by the project are loaded, use the requirement list in the PDSC to check if pack versions are matching. At least this could result in an user notification. Proposed output:
|
Looks like we were drawing the wrong conclusions in #1356 where we abandoned the check behind a debug flag but listing all required packs regardless whether they are loaded by the solution or not. |
Describe the bug
When a BSP is loaded that requests a DFP with a certain version, the command
cbuild setup
with--packs
option should install the required pack.To Reproduce
Install these packs:
NXP::[email protected]
Use this project: Simple_Device_project.zip
Execute cbuild setup, it should show the following errors:
Expected behavior
cbuild downloads the required DFP pack 19.0.0, see:
https://github.com/VladimirUmek/NXP_FRDM-MCXN947_BSP/blob/main/NXP.FRDM-MCXN947_BSP.pdsc#L20
Note: cpackget add installs required packs, but I have used the uVision PackInstaller with a click on the pack file.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: