Add a build-only twister scenario for the application covering all
boards including non-default revisions, which were not built in CI so
far (e.g. the build for mppt_2420_hc@0.1.0 was broken unnoticed).
Additional boards or revisions only need to be added to app/sample.yaml.
The firmware can be built for all boards locally with:
west twister -T app --integration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a build-only twister scenario for boards using the STM32 TIM and
HRTIM half-bridge drivers. The tests are not run on hardware, as they
would switch the power stage.
The driver tests are run in CI with:
west twister -T tests/drivers --integration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also use new Zephyr CI environment and compile all boards.
Board migration script example:
python ../zephyr/scripts/utils/board_v1_to_v2.py --board-root . \
-v libresolar -g libresolar -b pwm_2420_lus -s stm32l072xx
https://docs.zephyrproject.org/latest/guides/west/workspaces.html
Previously, west manifest and CMake entry point were in zephyr subfolder
as required for PlatformIO. As PlatformIO support was dropped, we can
follow the default Zephyr folder structure more closely.
The application is built and flashed from app subfolder, where as unit
tests are run from tests subfolder.
Rationale: Too much effort to maintain two different tool chains.
PlatformIO does not consider the west.yml files and thus, does not
support custom Zephyr modules. However, they are needed to include
ThingSet as a module.
In addition to that, PlatformIO versions always lag behind official
Zephyr releases and we want to avoid being dependent on PlatformIO.
Removing PlatformIO dependency as Zephyr v2.6 is not properly and PlatformIO
updates always take quite a long time after official Zephyr releases.
Unit tests and static code check still have to be ported to Zephyr.