AVR os-less OSAL Topic is solved

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

Moderators: utzig, tfAteba

User avatar
Giovanni
Site Admin
Posts: 11312
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 412 times
Been thanked: 342 times
Contact:

Re: AVR os-less OSAL

Postby Giovanni » Thu Dec 01, 2016 3:11 pm

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: 11312
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 412 times
Been thanked: 342 times
Contact:

Re: AVR os-less OSAL

Postby Giovanni » Thu Dec 22, 2016 11:38 am

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

Postby Marco » Thu Mar 23, 2017 2:02 pm

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 25 times

utzig
Posts: 354
Joined: Sat Jan 07, 2012 6:22 pm
Location: Brazil
Has thanked: 1 time
Been thanked: 16 times
Contact:

Re: AVR os-less OSAL

Postby utzig » Thu Mar 23, 2017 2:21 pm

Applied to trunk.


Return to “AVR Support”

Who is online

Users browsing this forum: No registered users and 1 guest