Commit graph

5 commits

Author SHA1 Message Date
Ondrej Jirman
3ade80f425 Add support for Pinephone Pro 2022-01-16 17:00:03 +01:00
Ondrej Jirman
a4ca2223e1 Compile with -Wall and fix issues this revealed 2022-01-12 13:37:48 +01:00
Ondrej Jirman
457e5658d9 Add missing argument to error reporting functions 2022-01-12 13:37:12 +01:00
Samuel Holland
bd69a00f7a common: Improve crc8 generation
Start with 0xff instead of 0x00, so the CRC will be nonzero (and length
dependent) for data that is all zeroes.

Remove unnecessary masking, since `crc` is already an 8-bit integer.
2021-08-02 10:13:06 +02:00
Ondrej Jirman
6a5fe581b9 Implement flashing over I2C and user/stock firmware support
I2C register layout changed a bit to make various operations easier
to implement in FW and for the user.

Flashing/debugging tools now share more code. Firmware is now more
configurable (it's now possible to compile-out various features).

Self-testing for column-shorts is implemented.

Firmware is optimized for low power consumption.
2021-06-28 15:09:47 +02:00