This commit is contained in:
2021-02-08 13:13:05 +01:00
parent 388d7fa7ab
commit f2a3d2edc4
5 changed files with 56 additions and 10 deletions

View File

@ -5,7 +5,7 @@
#include <spi.h>
#include <assert.h>
#define CONFIG_MAGIC 0xdead0005
#define CONFIG_MAGIC 0xdead0006
typedef struct __attribute__((__packed__)) s_configBlock {
uint32_t configMagic;
@ -15,7 +15,8 @@ typedef struct __attribute__((__packed__)) s_configBlock {
char deviceId[16];
char sharedSecret[32];
char location[48];
uint8_t filler[22];
char sinkServer[48];
uint8_t filler[6];
} t_configBlock;