Closed JordanYates closed 1 month ago
https://github.com/zephyrproject-rtos/zephyr/pull/76094 is a quick fix. The proper way would be to fork the CMSIS v6 repository and add it as a new West project to Zephyr.
cc @nashif @aescolar
Adding the TSC label as @d3zd3z requested this to be mentioned to the TSC.
This was flagged in #70215 and other places before.
This was flagged in #70215 and other places before.
I don't think it's the same issue there. The issue here was introduced by TF-M 2.1.0, which came way after the creation of the issue you are referencing.
Describe the bug
Since the update to TFM v2.1.0, any builds of TF-M are cloning down sources from this repo: https://github.com/ARM-software/CMSIS_6
Offending commit: https://github.com/zephyrproject-rtos/trusted-firmware-m/commit/3d54aca3851590bf5ecf5f52f361b390c925e257
To Reproduce
west build -b nrf9161dk/nrf9161/ns zephyr/samples/hello_world/ -p
Observe:Expected behavior
Builds should not be pulling down sources from the internet. Builds should complete regardless of internet connectivity state.
Impact
"Untrusted" (Not zephyrproject) source being pulled down from the internet on each build. Unable to build TF-M applications without an internet connection. 40MB download for every TF-M build in CI. Feels like it violates some sort of Zephyr guideline, or should.
Environment (please complete the following information):