This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM7 Cortex M3 Migration - SED Script?

Does anyone have a script to change from the ARM7-style cpu registers #defines into the M3 C-structure style? For example, I'm updating a lot of the following style statements:

WAS: FIO0SET
IS: LPC_GPIO0->FIOSET

etc.

It isn't going to be too bad finishing this up this one time, but I am in a weird situation where I'll need to repeat this process over again several times down the road. I can probably make something myself if I have to, but didn't want to re-invent the wheel.