diff options
author | efti <efti@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-27 11:28:02 +0000 |
---|---|---|
committer | efti <efti@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-27 11:28:02 +0000 |
commit | 7880778f170553a2bbb5222d121bc95c6548eb51 (patch) | |
tree | 96256076cec60899dea63e229702b143eb8aae05 /demos/AVR-ArduinoMega-GCC | |
parent | 848d54b242558cbbfe0e0d2e7b5de405cd203bae (diff) | |
download | ChibiOS-7880778f170553a2bbb5222d121bc95c6548eb51.tar.gz ChibiOS-7880778f170553a2bbb5222d121bc95c6548eb51.tar.bz2 ChibiOS-7880778f170553a2bbb5222d121bc95c6548eb51.zip |
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
Diffstat (limited to 'demos/AVR-ArduinoMega-GCC')
-rw-r--r-- | demos/AVR-ArduinoMega-GCC/mcuconf.h | 10 |
1 files changed, 8 insertions, 2 deletions
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
|