Closed SputnikTheMighty closed 2 years ago
I got this too. AFAICT it still worked, but so many warnings made me think I messed things up very badly and is very confusing.
^ to clarify I was talking only about the warnings on pack -u
Also, I think the pack is "STMicroelectronics STM32G0 Series Device Support" from this page https://www.keil.com/dd2/pack/ but I don't know (1) why this isn't in the index (2) the right way to install a pack which isn't in the index.
There are several things going on here. Lots of packs from multiple vendors do really have errors and badly formatted data. The underlying cmsis-pack-manager (CPM) project unfortunately blasts out too many warnings. If there were only a few pack errors it would be ok, but it needs to be turned down a notch given how many errors there are. Related to this is that CPM doesn't understand a preIncludeLocal
keyword. A fix for that is implemented, but we're having to totally rebuild the CPM wheel building and release CI after Travis CI changed their terms of service.
Regarding the G071 pack issue, I am able to reproduce the failure to find it stm32g071rb with pyocd 0.30.3. Interestingly, it does find and install successfully with the latest in-development versions of pyocd + CPM. Not sure why the difference—the core logic of CPM hasn't changed.
To work around this, you can download the G071 .pack (as linked above) and use it with pyocd by passing --pack <path to .pack>
on the command line. Full documentation for how to use manually downloaded packs is in the target support docs.
Installing the Keil.STM32G0xx_DFP
works since a while, so I believe this issue could be closed.
I am following the instructions here to install a pack for for STM32G071RB: https://docs.zephyrproject.org/latest/boards/arm/nucleo_g071rb/doc/index.html
Running
pyocd pack -u
gives the error below:Running
pyocd pack --install stm32g071rb
gives:0000414:WARNING:__main__:No matching devices. Please make sure the pack index is up to date.