Build Failing - Sensor Tutorial with C/C++ (STM32Cube), STM32 Nucleo, and Notecarrier A

https://dev.blues.io/guides-and-tutorials/collecting-sensor-data/notecarrier-a/stm32-nucleo/c-cpp-stm32cube/

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 */

Hi @natea26, welcome to the Blues forum!

Which editor are you using to compile this example? Perhaps I can follow along and you can help me reproduce your issue, then we can solve it together.

Also, can you paste the EXACT compiler error you are receiving?

Cheers,
Zak