I've been using GCC for embedded ARM work since day 1, but a recent dust-up on a mail list has me trying to get clang working for this. So far it's not been successful and I have my work up on github to see if anyone has suggestions for what I'm doing wrong. Check it out here:


Comments/criticism/suggestions appreciated!


I poked at this some more and was able to modify the linker script to generate a usable .elf output which can be flashed with OpenOCD or converted to raw binary with objcopy. There is a minor downside in that the .ccmram section had to be removed - figuring out how to preserve that is the next step.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Society of Trolls

A nice little Mastodon instance. Mild trolling encouraged (keep it local), but not required. Malicious behaviour is not tolerated. Follow Wheaton's law and you'll be fine.