Build Thread: HaLow for Raspberry Pi OS

System: Raspberry Pi 4B, rasberry PI OS Trixie

Id like to point a couple of errors in the initial post in case someone gets stuck just like i did.

When cherry-picking, use the command git cherry-pick b37a3f6bb..morse/mm/rpi-6.12.21/1.16.x
The morse is missing from the instructions.
In addition to this, there seem to be some issues with the morse-driver , which fails to build because function declarations have inputs of ints while the definitions have inputs of an enum. While i fixed this for morse_log_is_enabled in debug.h, there are more issues in the morse_firmware_init function in firmware.h. Here, it does not seem to be solvable by just changing the uint to enum morse_config_test_mode and including morse.h, because then I get the error

morse_driver/firmware.h:150:50: error: ‘enum morse_config_test_mode’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  150 | int morse_firmware_init(struct morse *mors, enum morse_config_test_mode test_mode);

This is happening because the compiler is treating warnings as errors as specified in the makefile, but before I go ahead and start making changes to the code, I want to ask if anyone has been able to compile this just based off the the instructions and if I am doing anything wrong

1 Like