aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-08 22:26:33 +0000
committerutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-08 22:26:33 +0000
commit9970f28cb9a705c7b502c4cf95f2dffb39b7164f (patch)
tree43e1f997e74ac193a5505513d384c58a98622689 /testhal
parentfc67bfe7e4d8c541bc9426d67d06a1bbc7f8bced (diff)
downloadChibiOS-9970f28cb9a705c7b502c4cf95f2dffb39b7164f.tar.gz
ChibiOS-9970f28cb9a705c7b502c4cf95f2dffb39b7164f.tar.bz2
ChibiOS-9970f28cb9a705c7b502c4cf95f2dffb39b7164f.zip
[AVR] use better defines for timer based drivers
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5943 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/AVR/GPT/mcuconf.h4
-rw-r--r--testhal/AVR/ICU/mcuconf.h2
-rw-r--r--testhal/AVR/PWM/mcuconf.h4
-rw-r--r--testhal/AVR/SPI/mcuconf.h4
4 files changed, 7 insertions, 7 deletions
diff --git a/testhal/AVR/GPT/mcuconf.h b/testhal/AVR/GPT/mcuconf.h
index 3ae39424c..b41750c94 100644
--- a/testhal/AVR/GPT/mcuconf.h
+++ b/testhal/AVR/GPT/mcuconf.h
@@ -31,5 +31,5 @@
* GPT driver system settings.
*/
-#define AVR_GPT_USE_GPT1 TRUE
-#define AVR_GPT_USE_GPT2 TRUE
+#define AVR_GPT_USE_TIM1 TRUE
+#define AVR_GPT_USE_TIM2 TRUE
diff --git a/testhal/AVR/ICU/mcuconf.h b/testhal/AVR/ICU/mcuconf.h
index d89ff2b45..04fb731b0 100644
--- a/testhal/AVR/ICU/mcuconf.h
+++ b/testhal/AVR/ICU/mcuconf.h
@@ -23,4 +23,4 @@
*/
#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_ICU_USE_ICU3 TRUE
+#define AVR_ICU_USE_TIM3 TRUE
diff --git a/testhal/AVR/PWM/mcuconf.h b/testhal/AVR/PWM/mcuconf.h
index 86ee11ea2..08691fd56 100644
--- a/testhal/AVR/PWM/mcuconf.h
+++ b/testhal/AVR/PWM/mcuconf.h
@@ -25,5 +25,5 @@
/*
* PWM driver system settings.
*/
-#define AVR_PWM_USE_PWM1 TRUE
-#define AVR_PWM_USE_PWM2 TRUE
+#define AVR_PWM_USE_TIM1 TRUE
+#define AVR_PWM_USE_TIM2 TRUE
diff --git a/testhal/AVR/SPI/mcuconf.h b/testhal/AVR/SPI/mcuconf.h
index cb40eb155..6bf30f02b 100644
--- a/testhal/AVR/SPI/mcuconf.h
+++ b/testhal/AVR/SPI/mcuconf.h
@@ -40,8 +40,8 @@
* PWM driver system settings.
*/
-#define AVR_PWM_USE_PWM1 FALSE
-#define AVR_PWM_USE_PWM2 FALSE
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
/*
* Serial driver system settings.