Set framework version?

By rolling back the platform you’ll automatically roll back all packages associated with it. That includes framework-zephyr and the 23 other zephyr packages that make up the whole Zephyr implementation. Look into your home folder and .platformio/packages/framework-zephyr* for refernce.

You can also use the most current platform version but roll back some packets individually, using platform_packages commands as documented, e.g.

; use Zephyr 2.3.0. only main package.
; might need framework-zephyr-hal-nordic and friends too.
platform_packages = 
   framework-zephyr@~2.20300.0

Available versions are listed on the bintray with the version format being SemVer.

Note that that might introduce some instability or incompatibility, if e.g. the current platform version is expected to run on Zephyr 2.4.0 and executes special code to handle that version – usually pinning the entire platform version is the safest route to go.

1 Like