fw: Set LED colors

- Set LED color to white when firmware has initialized
- Set LED color to black when changing state to loading
- Set LED color to blue when starting testloadapp
- Update mgmt app allowed digest since testloadapp changed
This commit is contained in:
Mikael Ågren 2025-04-25 17:14:21 +02:00 committed by Michael Cardell Widerkrantz
parent edbcdb111f
commit 15a350da1e
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
3 changed files with 10 additions and 5 deletions

View file

@ -2,6 +2,7 @@
#include <monocypher/monocypher-ed25519.h>
#include <stdint.h>
#include <tkey/debug.h>
#include <tkey/led.h>
#include <tkey/lib.h>
#include <tkey/tk1_mem.h>
@ -161,6 +162,8 @@ int main(void)
uint8_t available;
uint8_t in = 0;
led_set(LED_BLUE);
// Generate a key pair from CDI
crypto_ed25519_key_pair(secret_key, pubkey, (uint8_t *)cdi);