Search found 6 matches

by ksweeney
Sat Dec 07, 2013 3:08 am
Forum: General Support
Topic: Adding ChibiOS to an existing project
Replies: 1
Views: 621

Adding ChibiOS to an existing project

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 websit...
by ksweeney
Fri Jul 12, 2013 6:17 pm
Forum: General Support
Topic: Problem - ChibiOS under Code Warrior
Replies: 1
Views: 542

Problem - ChibiOS under Code Warrior

I have been trying to get ChibiOS running in my existing project and have run into what my be a major snag. It seems that Code Warrior does not support the ((naked)) attribute. Well, at least the Freescale PPC compiler doesn't. I believe Code Warrior does support it for some ARM architectures. This ...
by ksweeney
Fri Jul 12, 2013 5:58 pm
Forum: General Support
Topic: Setting thread execution rate - update
Replies: 1
Views: 880

Setting thread execution rate - update

This post is an update to one originally posted to the SPC56x Support forum. http://forum.chibios.org/phpbb/viewtopic.php?f=19&t=1202 In that post, I asked how to cause a thread to execute at an exact frequency. Giovanni was kind enough to not call me an idiot for wanting to do this and he provi...
by ksweeney
Sun Jun 02, 2013 4:44 pm
Forum: SPC56x Support
Topic: Setting thread execution rate
Replies: 4
Views: 3616

Re: Setting thread execution rate

Thanks, looks like just what I was looking for.

I have the ST dev board for the SPC564A and will be trying out the SPC5 Studio example. Once I get that running I'll try the code you suggested and report back here on my results.
by ksweeney
Sun Jun 02, 2013 4:24 am
Forum: SPC56x Support
Topic: Setting thread execution rate
Replies: 4
Views: 3616

Re: Setting thread execution rate

Thanks for the response. I'm still working my way through the documentation. Let me describe how I set thread execution rate now and perhaps you can tell me if something similar is possible in ChibiOS. Assume that the system tick rate is set at 200Hz. At the start of every task I acquire a semaphore...
by ksweeney
Sat Jun 01, 2013 4:05 pm
Forum: SPC56x Support
Topic: Setting thread execution rate
Replies: 4
Views: 3616

Setting thread execution rate

Hi all This is actually a generic ChibiOS question but I thought that I'd put it here so the SPC56x forum didn't look so lonely :D How can one set the rate at which a thread is executed? Example; In my code (using µC/OS-II) I have a 200Hz (highest priority), 100Hz (middle priority), and 10Hz (lowes...

Go to advanced search