aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-04-30 13:41:34 +0200
committerJoel Bodenmann <joel@unormal.org>2014-04-30 13:41:34 +0200
commit33c721c009465dd30d4e96e055a051480c567b57 (patch)
tree5a6744a79b7469d80bae474d4314b47d4cd6d44d /boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h
parent58cf2d2b35542166f1a4e50a83bcf28ff33574a5 (diff)
parenta394e2c35dde67241bea69409bcae9f46dcfc089 (diff)
downloaduGFX-33c721c009465dd30d4e96e055a051480c567b57.tar.gz
uGFX-33c721c009465dd30d4e96e055a051480c567b57.tar.bz2
uGFX-33c721c009465dd30d4e96e055a051480c567b57.zip
Merge branch 'master' into freertos
Diffstat (limited to 'boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h')
-rw-r--r--boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h b/boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h
index a9a0fea7..8acdd42d 100644
--- a/boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h
+++ b/boards/base/Olimex-SAM7EX256-GE8/example/mcuconf.h
@@ -52,6 +52,10 @@
/*
* PWM driver system settings.
*/
+#define PWM_USE_PWM1 TRUE // used by audio-out
+#define PWM_USE_PWM2 TRUE // used by back-light
+#define PWM_USE_PWM3 FALSE
+#define PWM_USE_PWM4 FALSE
/*
* SERIAL driver system settings.
@@ -69,3 +73,10 @@
#define AT91SAM7_SPI_USE_SPI1 FALSE
#define AT91SAM7_SPI0_PRIORITY (AT91C_AIC_PRIOR_HIGHEST - 1)
#define AT91SAM7_SPI1_PRIORITY (AT91C_AIC_PRIOR_HIGHEST - 1)
+
+/*
+ * GPT driver system settings.
+ */
+#define AT91_GPT_USE_TC0 FALSE // used internally by ADC driver
+#define AT91_GPT_USE_TC1 TRUE // uGFX used for audio-out
+#define AT91_GPT_USE_TC2 FALSE