Make HW timer for contiki rtimer configurable

... and configure osd platform to use timer 5. With the new
configuration we can use timer 3 for generating hardware PWM.
This commit is contained in:
Ralf Schlatterbeck 2014-05-31 16:17:07 +02:00
parent b4fb8c3f52
commit 4ceffb090d
3 changed files with 86 additions and 97 deletions

View file

@ -29,7 +29,7 @@ CONTIKI_TARGET_SOURCEFILES += wiring_digital.c
CONTIKIBOARD=.
BOOTLOADER_START = 0x1F000
CONTIKI_PLAT_DEFS = -DF_CPU=16000000UL -DAUTO_CRC_PADDING=2
CONTIKI_PLAT_DEFS = -DF_CPU=16000000UL -DAUTO_CRC_PADDING=2 -DPLAT_TIMER=5
MCU=atmega128rfa1