The framework-zephyr
and related source can be exchanged arbitrarily with platform_packages
, as e.g. discussed in How to set PlatformIO to use the latest branch of Zephyr.
Please file a feature request issue in the platform, e.g. GitHub - platformio/platform-ststm32: ST STM32: development platform for PlatformIO, for tracking and letting the developers know.