diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-03 08:23:11 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-03 08:23:11 +0000 |
commit | 343b101689d18e555bba9146a69a4843db864ebe (patch) | |
tree | b1bd6f2cf69edc62cbced1e8dc5091c24c171a5c /testhal | |
parent | 572c554931e811bd0d32e41cbf99ea1ca46148b7 (diff) | |
download | ChibiOS-343b101689d18e555bba9146a69a4843db864ebe.tar.gz ChibiOS-343b101689d18e555bba9146a69a4843db864ebe.tar.bz2 ChibiOS-343b101689d18e555bba9146a69a4843db864ebe.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11114 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
3 files changed, 9 insertions, 5 deletions
diff --git a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c index 593439eb9..99dec7674 100644 --- a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c +++ b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c @@ -74,6 +74,8 @@ UARTConfig uart_cfg_1 = { void portab_setup(void) {
+ palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7));
+ palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(7));
}
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c index b1b9c2a9d..77288cf43 100644 --- a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c +++ b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c @@ -73,6 +73,8 @@ UARTConfig uart_cfg_1 = { void portab_setup(void) {
+ palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7));
+ palSetPadMode(GPIOA, 3, PAL_MODE_ALTERNATE(7));
}
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c index 2a4e9789e..6c400ab4c 100644 --- a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c +++ b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c @@ -44,11 +44,11 @@ void rxerr(UARTDriver *uartp, uartflags_t e); * UART driver configuration structure.
*/
UARTConfig uart_cfg_1 = {
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL,
0,
38400,
|