diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-27 12:42:46 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-27 12:42:46 +0000 |
commit | 48dfd4e898cdb704a1e47c92defa715c6d269e3c (patch) | |
tree | d0f7d6b04b03f16f4453abe88d82bda37adebdb5 /demos | |
parent | 71034c7acf74089a1f04a8bb8109e4a8793c8a93 (diff) | |
download | ChibiOS-48dfd4e898cdb704a1e47c92defa715c6d269e3c.tar.gz ChibiOS-48dfd4e898cdb704a1e47c92defa715c6d269e3c.tar.bz2 ChibiOS-48dfd4e898cdb704a1e47c92defa715c6d269e3c.zip |
Update standard driver configs for AVR demos
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5896 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/AVR-AT90CANx-GCC/mcuconf.h | 12 | ||||
-rw-r--r-- | demos/AVR-ATmega128-GCC/mcuconf.h | 8 | ||||
-rw-r--r-- | demos/AVR-Arduino-GCC/mcuconf.h | 13 | ||||
-rw-r--r-- | demos/AVR-ArduinoMega-GCC/mcuconf.h | 11 |
4 files changed, 34 insertions, 10 deletions
diff --git a/demos/AVR-AT90CANx-GCC/mcuconf.h b/demos/AVR-AT90CANx-GCC/mcuconf.h index 146f6a210..80ad52283 100644 --- a/demos/AVR-AT90CANx-GCC/mcuconf.h +++ b/demos/AVR-AT90CANx-GCC/mcuconf.h @@ -25,6 +25,7 @@ /*
* ADC driver system settings.
*/
+#define AVR_ADC_USE_ADC1 FALSE
/*
* CAN driver system settings.
@@ -41,9 +42,16 @@ /*
* SERIAL driver system settings.
*/
-#define AVR_SERIAL_USE_USART0 FALSE
-#define AVR_SERIAL_USE_USART1 TRUE
+#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 AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
diff --git a/demos/AVR-ATmega128-GCC/mcuconf.h b/demos/AVR-ATmega128-GCC/mcuconf.h index 146f6a210..788c7a473 100644 --- a/demos/AVR-ATmega128-GCC/mcuconf.h +++ b/demos/AVR-ATmega128-GCC/mcuconf.h @@ -25,6 +25,7 @@ /*
* ADC driver system settings.
*/
+#define AVR_ADC_USE_ADC1 FALSE
/*
* CAN driver system settings.
@@ -45,5 +46,12 @@ #define AVR_SERIAL_USE_USART1 TRUE
/*
+ * I2C driver system settings.
+ */
+#define USE_AVR_I2C FALSE
+
+/*
* SPI driver system settings.
*/
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
diff --git a/demos/AVR-Arduino-GCC/mcuconf.h b/demos/AVR-Arduino-GCC/mcuconf.h index 8bbdab595..80ad52283 100644 --- a/demos/AVR-Arduino-GCC/mcuconf.h +++ b/demos/AVR-Arduino-GCC/mcuconf.h @@ -25,6 +25,7 @@ /*
* ADC driver system settings.
*/
+#define AVR_ADC_USE_ADC1 FALSE
/*
* CAN driver system settings.
@@ -41,10 +42,16 @@ /*
* SERIAL driver system settings.
*/
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_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 AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
diff --git a/demos/AVR-ArduinoMega-GCC/mcuconf.h b/demos/AVR-ArduinoMega-GCC/mcuconf.h index 76c735b14..80ad52283 100644 --- a/demos/AVR-ArduinoMega-GCC/mcuconf.h +++ b/demos/AVR-ArduinoMega-GCC/mcuconf.h @@ -25,6 +25,7 @@ /*
* ADC driver system settings.
*/
+#define AVR_ADC_USE_ADC1 FALSE
/*
* CAN driver system settings.
@@ -41,16 +42,16 @@ /*
* SERIAL driver system settings.
*/
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
/*
* I2C driver system settings.
*/
-#define USE_AVR_I2C FALSE
+#define USE_AVR_I2C FALSE
/*
* SPI driver system settings.
*/
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
|