QMK/lib/chibios/testhal/AVR/MEGA/GPT
2020-03-23 10:48:11 +01:00
..
chconf.h initial upload 2020-03-23 10:48:11 +01:00
halconf.h initial upload 2020-03-23 10:48:11 +01:00
main.c initial upload 2020-03-23 10:48:11 +01:00
Makefile initial upload 2020-03-23 10:48:11 +01:00
mcuconf.h initial upload 2020-03-23 10:48:11 +01:00
readme.txt initial upload 2020-03-23 10:48:11 +01:00

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

** 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.