tillitis-key/hw/application_fpga/fw
Michael Cardell Widerkrantz 046343e525
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 08:40:04 +01:00
..
testfw testfw: test read bytes from CDI 2023-03-28 11:44:13 +02:00
tk1 fw: Remove unusued forever_redflash() 2024-03-18 16:19:59 +01:00
.clang-format Make initial public release 2022-09-19 08:51:11 +02:00
tk1_mem.h Change memory constants to defines 2024-03-19 08:40:04 +01:00