Question
Making variables visible to a header file
Hello,
I'm using a STM32CubeIDE.
A lot of the in the main.c file is auto generated.
For example:
UART Handlers, DMA Handlers etc.
I also have a header file where I wrote a lot of user custom functions inside a file named: custom.h
The functions in this header file make use of the auto generated variables from main.c
What's the best way to make the auto generated variables from main.c visible to the functions at custom.h ?
