tillitis-key/hw/application_fpga/fw
Michael Cardell Widerkrantz c48724e115
fw: Change memory constants to defines
Instead of putting  memory constant into an enum we use defines.

Use the direct memory address instead of ORing constants together to
compute the address.

An enum in ISO C is a signed int. Some of are memory addresses are to
large to fit in a signed int. This is not a problem since we're not
using ISO C (-std=gnu99) but it doesn't look very nice if you turn on
pedantic warnings. Also, if someone would use another compiler which
at least supports the inline assembly we use, but possible not other
GNU extensions, things would probably break.
2024-03-19 14:36:20 +01:00
..
testfw Add void to function signatures meant to be used without args 2024-03-19 08:41:39 +01:00
tk1 Add void to function signatures meant to be used without args 2024-03-19 08:41:39 +01:00
.clang-format Make initial public release 2022-09-19 08:51:11 +02:00
tk1_mem.h fw: Change memory constants to defines 2024-03-19 14:36:20 +01:00