diff options
Diffstat (limited to 'bsps/arm/stm32h7/console')
22 files changed, 31 insertions, 29 deletions
diff --git a/bsps/arm/stm32h7/console/console-uart4-cfg.c b/bsps/arm/stm32h7/console/console-uart4-cfg.c index bef3bf0a4d..e0f40393c9 100644 --- a/bsps/arm/stm32h7/console/console-uart4-cfg.c +++ b/bsps/arm/stm32h7/console/console-uart4-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart4.c b/bsps/arm/stm32h7/console/console-uart4.c index ab751d86ce..6717176910 100644 --- a/bsps/arm/stm32h7/console/console-uart4.c +++ b/bsps/arm/stm32h7/console/console-uart4.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart5-cfg.c b/bsps/arm/stm32h7/console/console-uart5-cfg.c index 2723f918e7..0db33d042f 100644 --- a/bsps/arm/stm32h7/console/console-uart5-cfg.c +++ b/bsps/arm/stm32h7/console/console-uart5-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart5.c b/bsps/arm/stm32h7/console/console-uart5.c index 5c6417f22a..d2ec26e3ac 100644 --- a/bsps/arm/stm32h7/console/console-uart5.c +++ b/bsps/arm/stm32h7/console/console-uart5.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart7-cfg.c b/bsps/arm/stm32h7/console/console-uart7-cfg.c index 640fb358e3..2ced4cf9c2 100644 --- a/bsps/arm/stm32h7/console/console-uart7-cfg.c +++ b/bsps/arm/stm32h7/console/console-uart7-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -33,9 +33,9 @@ const stm32h7_uart_config stm32h7_uart7_config = { .gpio = { - .regs = GPIOB, + .regs = STM32H7_UART7_GPIO_REGS, .config = { - .Pin = GPIO_PIN_3 | GPIO_PIN_4, + .Pin = STM32H7_UART7_GPIO_PINS, .Mode = GPIO_MODE_AF_PP, .Pull = GPIO_NOPULL, .Speed = GPIO_SPEED_FREQ_LOW, diff --git a/bsps/arm/stm32h7/console/console-uart7.c b/bsps/arm/stm32h7/console/console-uart7.c index cc113340c3..15dfd8085d 100644 --- a/bsps/arm/stm32h7/console/console-uart7.c +++ b/bsps/arm/stm32h7/console/console-uart7.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart8-cfg.c b/bsps/arm/stm32h7/console/console-uart8-cfg.c index 080de49df4..275ca39266 100644 --- a/bsps/arm/stm32h7/console/console-uart8-cfg.c +++ b/bsps/arm/stm32h7/console/console-uart8-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart8.c b/bsps/arm/stm32h7/console/console-uart8.c index e79d1e4d78..666a31dcf5 100644 --- a/bsps/arm/stm32h7/console/console-uart8.c +++ b/bsps/arm/stm32h7/console/console-uart8.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart9-cfg.c b/bsps/arm/stm32h7/console/console-uart9-cfg.c index a382b869f1..d9bf20bf9e 100644 --- a/bsps/arm/stm32h7/console/console-uart9-cfg.c +++ b/bsps/arm/stm32h7/console/console-uart9-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-uart9.c b/bsps/arm/stm32h7/console/console-uart9.c index b6bdcf61f2..9699ac61b0 100644 --- a/bsps/arm/stm32h7/console/console-uart9.c +++ b/bsps/arm/stm32h7/console/console-uart9.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart1-cfg.c b/bsps/arm/stm32h7/console/console-usart1-cfg.c index 47c13b2f54..ff85e2f2af 100644 --- a/bsps/arm/stm32h7/console/console-usart1-cfg.c +++ b/bsps/arm/stm32h7/console/console-usart1-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -31,15 +31,17 @@ #include <stm32h7/hal.h> +#include <bspopts.h> + const stm32h7_uart_config stm32h7_usart1_config = { .gpio = { - .regs = GPIOB, + .regs = STM32H7_USART1_GPIO_REGS, .config = { - .Pin = GPIO_PIN_14 | GPIO_PIN_15, + .Pin = STM32H7_USART1_GPIO_PINS, .Mode = GPIO_MODE_AF_PP, .Pull = GPIO_NOPULL, .Speed = GPIO_SPEED_FREQ_LOW, - .Alternate = GPIO_AF4_USART1 + .Alternate = STM32H7_USART1_ALT_FUNC } }, .irq = USART1_IRQn, diff --git a/bsps/arm/stm32h7/console/console-usart1.c b/bsps/arm/stm32h7/console/console-usart1.c index fa83001c33..7f0b3376e4 100644 --- a/bsps/arm/stm32h7/console/console-usart1.c +++ b/bsps/arm/stm32h7/console/console-usart1.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart10-cfg.c b/bsps/arm/stm32h7/console/console-usart10-cfg.c index 72fe2541f3..5af483b5f4 100644 --- a/bsps/arm/stm32h7/console/console-usart10-cfg.c +++ b/bsps/arm/stm32h7/console/console-usart10-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart10.c b/bsps/arm/stm32h7/console/console-usart10.c index 7ba2e45433..71c7bc02c7 100644 --- a/bsps/arm/stm32h7/console/console-usart10.c +++ b/bsps/arm/stm32h7/console/console-usart10.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart2-cfg.c b/bsps/arm/stm32h7/console/console-usart2-cfg.c index b17561982b..d7f59f05d1 100644 --- a/bsps/arm/stm32h7/console/console-usart2-cfg.c +++ b/bsps/arm/stm32h7/console/console-usart2-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -33,9 +33,9 @@ const stm32h7_uart_config stm32h7_usart2_config = { .gpio = { - .regs = GPIOA, + .regs = STM32H7_USART2_GPIO_REGS, .config = { - .Pin = GPIO_PIN_2 | GPIO_PIN_3, + .Pin = STM32H7_USART2_GPIO_PINS, .Mode = GPIO_MODE_AF_PP, .Pull = GPIO_NOPULL, .Speed = GPIO_SPEED_FREQ_LOW, diff --git a/bsps/arm/stm32h7/console/console-usart2.c b/bsps/arm/stm32h7/console/console-usart2.c index b14be49d08..33525b37ac 100644 --- a/bsps/arm/stm32h7/console/console-usart2.c +++ b/bsps/arm/stm32h7/console/console-usart2.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart3-cfg.c b/bsps/arm/stm32h7/console/console-usart3-cfg.c index 1043b449b6..c7553249da 100644 --- a/bsps/arm/stm32h7/console/console-usart3-cfg.c +++ b/bsps/arm/stm32h7/console/console-usart3-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart3.c b/bsps/arm/stm32h7/console/console-usart3.c index 4fb8c7de55..48251a320b 100644 --- a/bsps/arm/stm32h7/console/console-usart3.c +++ b/bsps/arm/stm32h7/console/console-usart3.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart6-cfg.c b/bsps/arm/stm32h7/console/console-usart6-cfg.c index f41a2c737f..167d0f8eec 100644 --- a/bsps/arm/stm32h7/console/console-usart6-cfg.c +++ b/bsps/arm/stm32h7/console/console-usart6-cfg.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console-usart6.c b/bsps/arm/stm32h7/console/console-usart6.c index 91d9d0302f..b27beeab57 100644 --- a/bsps/arm/stm32h7/console/console-usart6.c +++ b/bsps/arm/stm32h7/console/console-usart6.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/console.c b/bsps/arm/stm32h7/console/console.c index 35b701a655..2f42a4e794 100644 --- a/bsps/arm/stm32h7/console/console.c +++ b/bsps/arm/stm32h7/console/console.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/arm/stm32h7/console/printk-support.c b/bsps/arm/stm32h7/console/printk-support.c index e663c10d89..9ecd880b93 100644 --- a/bsps/arm/stm32h7/console/printk-support.c +++ b/bsps/arm/stm32h7/console/printk-support.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions |