some orientation with the at91sam3s2c

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
leonx0
Posts: 1
Joined: Wed Aug 10, 2016 4:39 pm

some orientation with the at91sam3s2c

Post by leonx0 »

hello, i am new to the arm architecture and rtos. i have chosen the mcu specified in the subject but i can not find the architecture within /hal/ports, the sam3s board in /boards and neither found the platform. could someone give me some orientation on how can i create a custom chibios port?

p.s: i am using gcc + eclipse running on linux

Thank you
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: some orientation with the at91sam3s2c

Post by Giovanni »

Hi,

Porting just the RTOS (RT or NIL) is simple enough if you have vendor-provided CMSIS headers. Porting the HAL is a different matter, creating device drivers is complex and time consuming.

I suggest to start from the trunk code (from the subversion repository on SF) and look at the demos not targeting a specific device, \demos\various\RT-ARMCM4-GENERIC for example. Basically you need to create that cmparams.h file and include your CMSIS headers from there, look at the files for other MCUs.

Giovanni
Post Reply