blob: 8c60f057f217fdf4e05793d107a212cc6f73da60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
*****************************************************************************
** 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.
|