Title says it all. Steps to reproduce:
- Create new project with L496 Disco Application Template
- Open Project In CubeIDE, verify build OK
- Open IOC in CubeMX. Change nothing, but click the Generate Code button. (Note that there is still an error in TouchGFX generator, generate anyway)
- Build again, observe linker errors.
See image attached for code diff. Why is this happening? How can I prevent it?
I can use my version control to revert that section of the code, but I have to do it every time I regenerate the ioc :(