I recently asked a question about a failing sample of code I put together, sadly that thread descended into bickering and I bear much of the blame for that.
Anyway I discovered the problem, it was that I was unaware of exactly which files are generated when one uses CubeMX to create a new project. I had therefore taken such a project and modified it thinking that all the relevant code was on the main.c file - it wasn't!
When we use CubeMX to generate a project it often creates numerous...
DMA, TIMER and DAC on STM32 with CubeMX
Anyway I discovered the problem, it was that I was unaware of exactly which files are generated when one uses CubeMX to create a new project. I had therefore taken such a project and modified it thinking that all the relevant code was on the main.c file - it wasn't!
When we use CubeMX to generate a project it often creates numerous...
DMA, TIMER and DAC on STM32 with CubeMX