aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/PAL/cfg-stm32f407_discovery
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-09-01 10:01:59 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-09-01 10:01:59 +0000
commit1a6c5b8ed2985f58a379570d5c78b7fd089d3110 (patch)
tree5c412d8a4686399f3aaa1deee9a920a54bab8a32 /testhal/STM32/multi/PAL/cfg-stm32f407_discovery
parente070841763e19c9d2bee746c165cf421f234ebeb (diff)
downloadChibiOS-1a6c5b8ed2985f58a379570d5c78b7fd089d3110.tar.gz
ChibiOS-1a6c5b8ed2985f58a379570d5c78b7fd089d3110.tar.bz2
ChibiOS-1a6c5b8ed2985f58a379570d5c78b7fd089d3110.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10519 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/multi/PAL/cfg-stm32f407_discovery')
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h4
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h36
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h4
3 files changed, 22 insertions, 22 deletions
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h
index 63c29ccef..63edfac75 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h
@@ -146,7 +146,7 @@
* @brief Enables the SERIAL over USB subsystem.
*/
#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL_USB TRUE
+#define HAL_USE_SERIAL_USB FALSE
#endif
/**
@@ -167,7 +167,7 @@
* @brief Enables the USB subsystem.
*/
#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
-#define HAL_USE_USB TRUE
+#define HAL_USE_USB FALSE
#endif
/**
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h
index 8173f018b..6cd1b89d3 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h
@@ -65,6 +65,24 @@
#define STM32_BKPRAM_ENABLE FALSE
/*
+ * IRQ system settings.
+ */
+#define STM32_IRQ_EXTI0_PRIORITY 6
+#define STM32_IRQ_EXTI1_PRIORITY 6
+#define STM32_IRQ_EXTI2_PRIORITY 6
+#define STM32_IRQ_EXTI3_PRIORITY 6
+#define STM32_IRQ_EXTI4_PRIORITY 6
+#define STM32_IRQ_EXTI5_9_PRIORITY 6
+#define STM32_IRQ_EXTI10_15_PRIORITY 6
+#define STM32_IRQ_EXTI16_PRIORITY 6
+#define STM32_IRQ_EXTI17_PRIORITY 15
+#define STM32_IRQ_EXTI18_PRIORITY 6
+#define STM32_IRQ_EXTI19_PRIORITY 6
+#define STM32_IRQ_EXTI20_PRIORITY 6
+#define STM32_IRQ_EXTI21_PRIORITY 15
+#define STM32_IRQ_EXTI22_PRIORITY 15
+
+/*
* ADC driver system settings.
*/
#define STM32_ADC_ADCPRE ADC_CCR_ADCPRE_DIV4
@@ -104,24 +122,6 @@
#define STM32_DAC_DAC1_CH2_DMA_STREAM STM32_DMA_STREAM_ID(1, 6)
/*
- * EXT driver system settings.
- */
-#define STM32_EXT_EXTI0_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI1_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI2_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI3_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI4_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI5_9_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI10_15_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI16_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI17_IRQ_PRIORITY 15
-#define STM32_EXT_EXTI18_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI19_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI20_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI21_IRQ_PRIORITY 15
-#define STM32_EXT_EXTI22_IRQ_PRIORITY 15
-
-/*
* GPT driver system settings.
*/
#define STM32_GPT_USE_TIM1 FALSE
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h
index 0fbe3f9d1..39dd2e553 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h
@@ -29,8 +29,8 @@
/* Module constants. */
/*===========================================================================*/
-#define PORTAB_LINE_LED1 LINE_LED4_BLUE
-#define PORTAB_LINE_LED2 LINE_LED3_RED
+#define PORTAB_LINE_LED1 LINE_LED3
+#define PORTAB_LINE_LED2 LINE_LED4
#define PORTAB_LEN_OFF PAL_LOW
#define PORTAB_LEN_ON PAL_HIGH