Click here to Skip to main content
15,886,199 members
Articles / Desktop Programming / Win32

AVRILOS: A simple OS for AVR microcontrollers

Rate me:
Please Sign up or sign in to vote.
4.92/5 (34 votes)
11 Jun 2011CDDL24 min read 91.5K   4.1K   60  
A Round-Robin OS (without pre-emptive multitasking) allowing rapid application development
/* GCC Legay compiler support for old projects */


/* AVR Compatibility with WinAVR latest versions */

#define PRG_RDB(x) pgm_read_byte(x)

#define sbi(p,b) (p) |= (1<<(b))
#define cbi(p,b) (p) &= ~(1<<(b))

#define outp(d,p) (p) = d
#define inp(p) (p)

#define BV(x) _BV(x)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Development and Distribution License (CDDL)


Written By
Systems Engineer AI ZeroCaliber Ltd
Cyprus Cyprus
More than 15 year of Embedded Systems development designing both hardware & software.
Experience with Product Development,lab prototypes and Automated Testers, Sensors, motors and System Engineering. Have used numerous micro-controllers/processors, DSP & FPGAs.

Please check AI ZeroCaliber if you need any help.
You may find also my personal site: Ilialex and my blog site: Ilialex Blog

Comments and Discussions