AVR os-less OSAL Topic is solved

ChibiOS public support forum for topics related to the Atmel AVR family of micro-controllers.

Moderator: tfAteba

User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: AVR os-less OSAL

Post by Giovanni »

Hi,

It is a good idea, I will make a separate module from that code and put it in some shared directory, this also avoids duplication among the various OSALs.

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: AVR os-less OSAL

Post by Giovanni »

News.

I added the virtual timers module as suggested, the ARMCMx OSAL already uses it, it should be an easy change into the AVR one. Other OSAL bits and pieces could be made standalone in a similar way probably, see events and synchronization primitives.

It could become an excellent non-RTOS :lol:

Giovanni
Marco
Posts: 128
Joined: Tue Apr 16, 2013 8:22 pm
Has thanked: 4 times
Been thanked: 11 times

Re: AVR os-less OSAL

Post by Marco »

Hi,

I applied the new virtual timers module to the AVR os-less OSAL. See attachment :)
Indeed, other functionalities can be separated as well but i think this can be done at a later point.

Marco
Attachments
os-less-avr-osal-vt.zip
AVR os-less osal now uses virtual timer module.
(1.93 KiB) Downloaded 546 times
utzig
Posts: 359
Joined: Sat Jan 07, 2012 6:22 pm
Has thanked: 1 time
Been thanked: 20 times

Re: AVR os-less OSAL

Post by utzig »

Applied to trunk.
Post Reply