diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-07 11:03:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-07 11:03:10 +0000 |
commit | 1d6fc52f437be05281f46ceb25d084a786a4d9a2 (patch) | |
tree | 25919c4d1df1e2f48377ddb421502e9ed4e33a95 /demos | |
parent | 79633162a0b534e544dd188423dc86107d80d9a9 (diff) | |
download | ChibiOS-1d6fc52f437be05281f46ceb25d084a786a4d9a2.tar.gz ChibiOS-1d6fc52f437be05281f46ceb25d084a786a4d9a2.tar.bz2 ChibiOS-1d6fc52f437be05281f46ceb25d084a786a4d9a2.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5374 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/PPC-SPC563M-GCC/halconf.h | 2 | ||||
-rw-r--r-- | demos/PPC-SPC563M-GCC/main.c | 13 | ||||
-rw-r--r-- | demos/PPC-SPC563M-GCC/mcuconf.h | 12 |
3 files changed, 7 insertions, 20 deletions
diff --git a/demos/PPC-SPC563M-GCC/halconf.h b/demos/PPC-SPC563M-GCC/halconf.h index a9d890562..9bff08736 100644 --- a/demos/PPC-SPC563M-GCC/halconf.h +++ b/demos/PPC-SPC563M-GCC/halconf.h @@ -52,7 +52,7 @@ * @brief Enables the ADC subsystem.
*/
#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
-#define HAL_USE_ADC TRUE
+#define HAL_USE_ADC FALSE
#endif
/**
diff --git a/demos/PPC-SPC563M-GCC/main.c b/demos/PPC-SPC563M-GCC/main.c index 83cf5fd46..4211daf0f 100644 --- a/demos/PPC-SPC563M-GCC/main.c +++ b/demos/PPC-SPC563M-GCC/main.c @@ -164,19 +164,6 @@ int main(void) { chThdRelease(shelltp); /* Recovers memory of the previous shell. */
shelltp = NULL; /* Triggers spawning of a new shell. */
}
-#if 0
- if (SIU.GPDI[GPIO_BUTTON1].B.PDI) {
- volatile msg_t result;
-#if 0
- MemoryStream report;
-
- msObjectInit(&report, report_buffer, sizeof(report_buffer), 0);
- result = TestThread(&report);
-#else
- result = TestThread(&SD1);
-#endif
- }
-#endif
chThdSleepMilliseconds(1000);
}
return 0;
diff --git a/demos/PPC-SPC563M-GCC/mcuconf.h b/demos/PPC-SPC563M-GCC/mcuconf.h index bca85fb65..1fce8ea96 100644 --- a/demos/PPC-SPC563M-GCC/mcuconf.h +++ b/demos/PPC-SPC563M-GCC/mcuconf.h @@ -45,12 +45,12 @@ /*
* ADC driver settings.
*/
-#define SPC5_ADC_USE_ADC0_Q0 TRUE
-#define SPC5_ADC_USE_ADC0_Q1 TRUE
-#define SPC5_ADC_USE_ADC0_Q2 TRUE
-#define SPC5_ADC_USE_ADC1_Q3 TRUE
-#define SPC5_ADC_USE_ADC1_Q4 TRUE
-#define SPC5_ADC_USE_ADC1_Q5 TRUE
+#define SPC5_ADC_USE_ADC0_Q0 FALSE
+#define SPC5_ADC_USE_ADC0_Q1 FALSE
+#define SPC5_ADC_USE_ADC0_Q2 FALSE
+#define SPC5_ADC_USE_ADC1_Q3 FALSE
+#define SPC5_ADC_USE_ADC1_Q4 FALSE
+#define SPC5_ADC_USE_ADC1_Q5 FALSE
#define SPC5_ADC_CR_CLK_PS ADC_CR_CLK_PS(5)
/*
|