tinySA/testhal/AVR/GPT
utzig 6514f4422c Update testhal demos to apache license
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5909 35acf78f-673a-0410-8e92-d51de3d6d3f4
2013-06-29 15:44:27 +00:00
..
Makefile Add GPT test for AVR 2013-06-29 14:00:45 +00:00
chconf.h Update testhal demos to apache license 2013-06-29 15:44:27 +00:00
halconf.h Update testhal demos to apache license 2013-06-29 15:44:27 +00:00
main.c Update testhal demos to apache license 2013-06-29 15:44:27 +00:00
mcuconf.h Update testhal demos to apache license 2013-06-29 15:44:27 +00:00
readme.txt Add GPT test for AVR 2013-06-29 14:00:45 +00:00

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

*****************************************************************************
** ChibiOS/RT port for Atmel AVR ATmega1280.                                **
*****************************************************************************

** TARGET **

The demo runs on an Arduino Mega board.

** The Demo **

This demo creates a continuous timer which expires every 500ms, running a
callback function that toggles the LED on PB7. It also prints out the values
of the timer registers on the first serial port.

** Build Procedure **

The demo was built using the GCC AVR toolchain. It should build with WinAVR too!

** Notes **

This demo runs natively so the Arduino bootloader must be removed and the FUSEs
reprogrammed. The values used for fuses are LFUSE=0xe7 and HFUSE=0x99.