Re: [Openocd-development] Adding M0 support

2011-06-12 Thread Øyvind Harboe
Hi Kevin, could you submit a patch that renames cortex-m3.c = cortex-m.c and then a patch with your Cortex M0 work on top of cortex-m.c? Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

Re: [Openocd-development] Adding M0 support

2011-06-11 Thread Kevin Kiningham
What I just posted has the M0 as a complete copy and paste of the M3 code, so the entire thing is duplicated. However, that was more because we wanted to test the M0 code but still be able to work with the M3. The M3 is almost a perfect super set of the M0, so I don't think it would be hard to

Re: [Openocd-development] Adding M0 support

2011-06-10 Thread Øyvind Harboe
What would it take to convert cortex-m3.c to cortex-m.c and avoid code duplication like we had for cortex-a8/9.c? Is there a lot of code duplication here? I haven't looked. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40

[Openocd-development] Adding M0 support

2011-06-09 Thread Kevin Kiningham
Hi, I've been working on adding cortex-M0 support and I was wondering if there was any interest in adding it to the official repo? Especially with SWD support coming soon, it seems like this would be a good time to add it. My code right now is very similar to the M3 stuff, except for a couple of

Re: [Openocd-development] Adding M0 support

2011-06-09 Thread Øyvind Harboe
Hi Kevin, from the maintainers I can say that we're very much interested in such contributions. By posting it to the list, we hopefully also can get others to pitch in! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27