Thumb-2/ARMv7/Cortex-M support.
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jun 28 07:18:34 UTC 2010
On 06/27/2010 10:24 PM, Mike Panetta wrote:
> We could work together on this, but I only have a small amount of time to dedicate to it at the moment. I have a couple of different Cortex-M3 devel kits I can test on.
>
> I am not quite sure where to start myself. I was thinking the best place to start was the cpukit arm code in cpukit/score/cpu/arm and see what needs to be changed/modified for cortex-m3.
>
1. You have to make sure that the RTEMS tool chain supports your processor.
This will very likely require the addition of a Thumb 2 multi-lib. Please open
a PR in the RTEMS bugzilla for this (https://www.rtems.org/bugzilla/).
You may use the GDB ARM simulator BSP to test this
(c/src/lib/libbsp/arm/gdbarmsim).
2. You have to adopt the CPU support in cpukit/score/cpu/arm. This includes
o interrupt enable/disable/flash,
o context switch, and
o exception handling support.
Please make sure that you only use multi-lib options for conditional
compilation inside the cpukit. You can find the available multi-lib options in
the GCC sources (gcc/config/arm/t-rtems). The GCC sources need the latest
RTEMS patch. Please open a PR for these adoptions.
>
> Thanks,
> Mike
>
>
>
> ----- Original Message ----
>> From: Christian Castellaro <christian.castellaro at students.hevs.ch>
>> To: mprtems at bellsouth.net
>> Cc: rtems-users at rtems.org
>> Sent: Wed, June 23, 2010 5:52:09 AM
>> Subject: Thumb-2/ARMv7/Cortex-M support.
>>
>> Hello Mike,
>
> I need to make a port of RTEMS for a Cortex M3. But I don't
>> know how I can do this.
>
> Do you have any advice on what source files to
>> modify?
>
> Wouldn't it be more efficient if we joined efforts?
>
> Thank
>> you very much
>
> christian castellaro
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list