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
some orientation with the at91sam3s2c
Moderators: RoccoMarco, lbednarz, tfAteba
- 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
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
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