diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2021-06-18 01:09:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 00:09:43 +0100 |
commit | ef92c9ee2cf4745637635ec1895399e4f013914c (patch) | |
tree | 25184a0ad78399826ee585571e69b5df4beaa34b /lib/arm_atsam/packs/arm | |
parent | 67fa2568fe1f17942bf61462754e0be5a6bc3223 (diff) |
Add CRC8 calculation subsystem to quantum (#12641)
* Intended usage is data validation in split transport code.
* Default space efficient algorithm.
* Opt-in fast table based algorithmn with #define CRC8_USE_TABLE switch.
* Define switches for size and speed optimized versions, the default is size
optimized by using uint_least8_t as datatype for calculations.
* #define CRC8_OPTIMIZE_SPEED uses uint_fast8_t as datatype for
calculations, this only affects 32-bit Archs like ARM and RISC-V.
* Placeholder crc_init() function for hardware backed crc calculation,
not implemented yet.
Diffstat (limited to 'lib/arm_atsam/packs/arm')
0 files changed, 0 insertions, 0 deletions