diff --git a/SENT-box/firmware/Makefile b/SENT-box/firmware/Makefile index 9c6334c..6d51aec 100644 --- a/SENT-box/firmware/Makefile +++ b/SENT-box/firmware/Makefile @@ -144,6 +144,7 @@ ASMXSRC = $(ALLXASMSRC) # Inclusion directories. INCDIR = $(CONFDIR) $(ALLINC) \ io \ + ../../ext/libfirmware/sent/include \ ../../ext/libfirmware/stm32-util # Define C warning options here. diff --git a/SENT-box/firmware/sent_conf.h b/SENT-box/firmware/sent_conf.h index 4180913..1907b3d 100644 --- a/SENT-box/firmware/sent_conf.h +++ b/SENT-box/firmware/sent_conf.h @@ -8,6 +8,4 @@ #define SENT_CHANNELS_NUM 4 // Number of sent channels #endif -#define SENT_MSG_DATA_SIZE 6 -/* Status + two 12-bit signals + CRC */ -#define SENT_MSG_PAYLOAD_SIZE (1 + SENT_MSG_DATA_SIZE + 1) // Size of payload +#include "sent_constants.h" diff --git a/ext/libfirmware b/ext/libfirmware index 330a1e5..63ffcdb 160000 --- a/ext/libfirmware +++ b/ext/libfirmware @@ -1 +1 @@ -Subproject commit 330a1e55979606cddfd164234fc75dc9d8a0a470 +Subproject commit 63ffcdbe07015e46609248d88caf4f7d31bcd7db