I did try to compile but it seems like the lotus-zephyr branch for zephyr itself is not up to date as it just throws an error at me about a missing board when trying to compile the firmware using zmake build lotus -t zephyr
Configuring lotus:rw.
Loading Zephyr default modules (Zephyr base (cached)).
No board named ‘npcx9/npcx9m3f’ found.
Please choose one of the following boards:
CMake Error at /home/wsl/ECFirmware/src/third_party/zephyr/main/cmake/modules/boards.cmake:163 (message):
Invalid BOARD; see above.
I did try switching over to fwk-lilac-27116 zephyr, and while that did get rid of the board missing error, it just gave me a different error and still wouldn’t compile.
Configuring lotus:rw.
Loading Zephyr default modules (Zephyr base (cached)).
CMake Error at /home/wsl/ECFirmware/src/third_party/zephyr/main/cmake/modules/dts.cmake:311 (message):
gen_defines.py failed with result code: 1 - stderr contents:
devicetree error: 'stable-poll-period-ms' appears in /soc/kbd@400a3000 in
/home/wsl/ECFirmware/src/platform/ec/build/zephyr/lotus/build-rw/zephyr/zephyr.dts.pre,
but is not declared in 'properties:' in
/home/wsl/ECFirmware/src/third_party/zephyr/main/dts/bindings/input/nuvoton,npcx-kbd.yaml
This branch also doesn’t contain chromiumos/third_party/zephyr/nanopb inside west.yml which makes me think its completely wrong and lotus-zephyr should still be used.
Any help with getting this compiled would be appreciated. I just used DHowett’s guide, but that does not seem to work anymore as it did previously. I did also try this to update dependencies, but that unfortunately changes nothing for lotus.
EDIT: I did also notice that the GitHub workflow on the fwk-tulip-29169 branch uses fwk-main branch for zephyr, so I did also try the main zephyr branch to no avail as well. I assume we should be using fwk-main but that is not published on the zephyr repository as of yet.