7 Commits
Author SHA1 Message Date
Martin Jäger 167fc5d3ac Upgrade to Zephyr v4.3 and migrate boards
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
2026-03-08 06:25:56 +01:00
Martin Jäger d88420feac Add coding style check with clang-format to CI 2023-01-13 19:32:18 +01:00
Martin Jäger 0d07bcf055 Major update of ThingSet Data Object structure for v0.5
The structure has been changed to match the new ThingSet v0.5 spec which
is more suitable to be used in mobile phone apps because the data is
structured based on logical subsystems (Battery, Load) and not on data type
(conf, input, etc.) anymore.

This required some updates in the ThingSet library aswell. Especially the
update mechanism for configuration data had to be changed.

The data_objects_parser script is now able to extract the units itself,
reducing the commenting effort.

All IDs have been kept the same, so previously stored settings in charge
controllers NVM should be compatible.
2022-02-10 17:40:29 +01:00
Martin Jäger c1f3f05d32 Remove PlatformIO support
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.
2021-10-05 15:01:50 +02:00
Martin Jäger a584bf8a7f Restructure data objects, BREAKING backwards compatibility!
This was necessary as some IDs were used that are reserved in spec v0.4.

The also includes some additions to the Python parser script.
2021-08-29 16:53:05 +02:00
Martin Jäger 51e0a3ae82 Rename data_nodes to data_objects and update references
As part of the v0.4 ThingSet spec, data nodes are named objects.
2021-08-04 14:19:57 +02:00
Martin Jäger 955eb0edb1 Move scripts into dedicated directory
Now also using scripts/check.sh for Travis CI directly
2021-05-18 08:47:26 +02:00