aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-05-15 10:03:32 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-05-15 10:03:32 +0000
commite0f997100f82e9ec0a8d2f08c89fc43261abae4b (patch)
tree62d86224555e5a775904cbdb0bb555d80046f72a /testhal
parenteb0e4d4265ff27517145786add60e0713335d4a9 (diff)
downloadChibiOS-e0f997100f82e9ec0a8d2f08c89fc43261abae4b.tar.gz
ChibiOS-e0f997100f82e9ec0a8d2f08c89fc43261abae4b.tar.bz2
ChibiOS-e0f997100f82e9ec0a8d2f08c89fc43261abae4b.zip
Added mcuconf.h generator for STM32H743xx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12038 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/mcuconf.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/mcuconf.h
index 4efa25638..e1ff8aac0 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/mcuconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/mcuconf.h
@@ -32,6 +32,7 @@
*/
#define STM32H7xx_MCUCONF
+#define STM32H743_MCUCONF
/*
* General settings.
@@ -51,12 +52,9 @@
* Register constants are taken from the ST header.
*/
#define STM32_VOS STM32_VOS_SCALE1
-#define STM32_PWR_CR1 (PWR_CR1_SVOS_1 | \
- PWR_CR1_SVOS_0)
+#define STM32_PWR_CR1 (PWR_CR1_SVOS_1 | PWR_CR1_SVOS_0)
#define STM32_PWR_CR2 (PWR_CR2_BREN)
-#define STM32_PWR_CR3 (PWR_CR3_LDOEN | \
- PWR_CR3_USBREGEN | \
- PWR_CR3_USB33DEN)
+#define STM32_PWR_CR3 (PWR_CR3_LDOEN | PWR_CR3_USBREGEN | PWR_CR3_USB33DEN)
#define STM32_PWR_CPUCR 0
/*