From 7880778f170553a2bbb5222d121bc95c6548eb51 Mon Sep 17 00:00:00 2001 From: efti Date: Thu, 27 Jun 2013 11:28:02 +0000 Subject: AVR: improvements and fixes - HAL prescaler selection logic - Added ADC support - SPI improvements git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5893 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR-ArduinoMega-GCC/mcuconf.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'demos/AVR-ArduinoMega-GCC') diff --git a/demos/AVR-ArduinoMega-GCC/mcuconf.h b/demos/AVR-ArduinoMega-GCC/mcuconf.h index 66f346fc0..ea38d4385 100644 --- a/demos/AVR-ArduinoMega-GCC/mcuconf.h +++ b/demos/AVR-ArduinoMega-GCC/mcuconf.h @@ -41,9 +41,15 @@ /* * SERIAL driver system settings. */ -#define USE_AVR_USART0 TRUE -#define USE_AVR_USART1 FALSE +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define USE_AVR_I2C FALSE /* * SPI driver system settings. */ +#define USE_AVR_SPI FALSE -- cgit v1.2.3