Hi All,
I would like to add ChibiOS to an existing CodeWarrior project. I want to add only the core OS. My existing project already boots the board and inits all of the modules that I need so I do not think that I need the HAL or PAL components.
I have studied the porting guide on the ChibiOS website but it is geared towards porting the entire operating system, whereas I only need the core functionality.
Which files are necessary to have for the core OS functionality only? A list of needed files would be great or possibly a pointer to some documentation that I may have missed.
As Giovanni will recognize, I am also an SPC5-Studio user and have the same project running in that environment. I have been able to use ChibiOS a pretty fair amount and really like it. Adding ChibiOS to a CodeWarrior project will not be trivial. The Freescale compiler and GCC don't really get along that well. Especially any asm code will have to be re-written.
If all goes well I would like to produce a document that describes my efforts. Possibly it could be of use to someone else.
So the question is: Which files are necessary for the core OS?
Thanks
Kevin
Adding ChibiOS to an existing project
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: Adding ChibiOS to an existing project
Hi,
Just the files under ./os/kernel/src and ./os/kernel/include (the portable kernel).
Then you need to add:
1) Startup support.
2) Port layer support.
3) Scatter files.
Points 1 and 2 could use the GCC code by just adapting the .s modules to use the different asm syntax.
Giovanni
Just the files under ./os/kernel/src and ./os/kernel/include (the portable kernel).
Then you need to add:
1) Startup support.
2) Port layer support.
3) Scatter files.
Points 1 and 2 could use the GCC code by just adapting the .s modules to use the different asm syntax.
Giovanni