aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-09-12 15:59:06 -0400
committerRob Austein <sra@hactrn.net>2016-09-12 16:03:49 -0400
commit8c3743eee739afa344139ab17d8008131555862d (patch)
treed037f9a0c6c7c5962819a06e6a0967f1bcc976b6 /Makefile
parent73d62a85a904b64e259d523dadb45ad4ee8e2c2f (diff)
CRC-32 code for use in ks_flash, stm32 DFU, possibly elsewhere.
This is an open source C99 CRC-32 implementation generated by pycrc, see notes in source on copyright status and pycrc options used. crc32.c contains two different implementations of the CRC-32 algorithm with the same API, one optimized for speed, the other optimized for much smaller code space at the expense of speed. We use the fast implementation by default, but maybe the small implementation will be useful, eg, in the bootloader. Remove the extra later if this turns out to have been a waste of time.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a246828..d500641 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ endif
# just "building this is harmless even if we don't use it."
OBJ += errorstrings.o hash.o asn1.o ecdsa.o rsa.o xdr.o slip.o
-OBJ += rpc_api.o rpc_hash.o uuid.o rpc_pkcs1.o
+OBJ += rpc_api.o rpc_hash.o uuid.o rpc_pkcs1.o crc32.o
# Object files to build when we're on a platform with direct access
# to our hardware (Verilog) cores.