Hi, I followed this tutorial and cannot figure out why the build is failing. I get error messages saying there are multiple definitions of these functions: noteSerialReset, noteSerialTransmit, noteSerialAvailable, noteSerialReceive. These functions are defined in “n_hooks.c” with the function prototypes shown below in “main.c” as done in the tutorial. If I remove the below code, I get an error saying the functions are undeclared. Thanks.
This is the relevant code from the tutorial in main.c:
/* USER CODE BEGIN PFP */
// Note Serial Interface
bool noteSerialReset(void);
void noteSerialTransmit(uint8_t *text, size_t len, bool flush);
bool noteSerialAvailable(void);
char noteSerialReceive(void);
size_t noteDebugSerialOutput(const char *message);
// Serial Debug
size_t noteDebugSerialOutput(const char message);
/ USER CODE END PFP */