2010-08-15 08:39 AM
33123
2011-05-17 05:02 AM
Finally got a change to pick this up again after a few hectic days. Which wasn't a bad thing since it offered a fresh look again and I quickly found the root of the problem. It's one of those 'headdesk' moments...
You were right John. One of my headerfiles defined RESET aswell. But since I hadn't touched that file after migrating existing code to STM32, I never thought of it. Renaming that specific define solved it all and all pieces of the puzzle fell into place. There's just 1 thing bothering me. Why didn't the compiler warn about a redefinition? Ride7 projects disable all warnings by default, but even after enabling all warnings with -Wall you don't get a redefinition error. Thanks to all for providing hints and tips!