summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32f4
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32f4')
-rw-r--r--bsps/arm/stm32f4/console/console-config.c6
-rw-r--r--bsps/arm/stm32f4/console/usart.c76
-rw-r--r--bsps/arm/stm32f4/headers.am29
-rw-r--r--bsps/arm/stm32f4/i2c/i2c-config.c6
-rw-r--r--bsps/arm/stm32f4/i2c/i2c.c6
-rw-r--r--bsps/arm/stm32f4/include/bsp.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/i2c.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/io.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/irq.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/rcc.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32_i2c.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32_usart.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32f4.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h6
-rw-r--r--bsps/arm/stm32f4/include/bsp/usart.h6
-rw-r--r--bsps/arm/stm32f4/start/bsp_specs0
-rw-r--r--bsps/arm/stm32f4/start/bspreset.c6
-rw-r--r--bsps/arm/stm32f4/start/bspstart.c6
-rw-r--r--bsps/arm/stm32f4/start/bspstarthook.c11
-rw-r--r--bsps/arm/stm32f4/start/io.c6
-rw-r--r--bsps/arm/stm32f4/start/rcc.c6
-rw-r--r--bsps/arm/stm32f4/start/start-config-io.c6
26 files changed, 63 insertions, 185 deletions
diff --git a/bsps/arm/stm32f4/console/console-config.c b/bsps/arm/stm32f4/console/console-config.c
index 6bf2d7e3b5..13557ed186 100644
--- a/bsps/arm/stm32f4/console/console-config.c
+++ b/bsps/arm/stm32f4/console/console-config.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/console/usart.c b/bsps/arm/stm32f4/console/usart.c
index 24e010d6bf..727d4b1799 100644
--- a/bsps/arm/stm32f4/console/usart.c
+++ b/bsps/arm/stm32f4/console/usart.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
@@ -20,6 +14,8 @@
#include <bsp/irq.h>
#include <bsp/usart.h>
#include <bsp/stm32f4.h>
+#include <termios.h>
+#include <string.h>
static volatile stm32f4_usart *usart_get_regs(const console_tbl *ct)
{
@@ -33,6 +29,24 @@ static rtems_vector_number usart_get_irq_number(const console_tbl *ct)
}
#endif
+#ifdef BSP_CONSOLE_USE_INTERRUPTS
+/**
+ * Read characters in an interrupt
+ */
+static void stm32f4_usart_interrupt(void *arg)
+{
+ rtems_termios_tty *tty = (rtems_termios_tty *) arg;
+ const console_tbl *ct = Console_Port_Tbl [tty->minor];
+ volatile stm32f4_usart *usart = usart_get_regs(ct);
+
+ while ((usart->sr & STM32F4_USART_SR_RXNE) == STM32F4_USART_SR_RXNE)
+ {
+ char data = STM32F4_USART_DR_GET(usart->dr);
+ rtems_termios_enqueue_raw_characters(tty, &data, sizeof(data));
+ }
+}
+#endif
+
static const stm32f4_rcc_index usart_rcc_index [] = {
STM32F4_RCC_USART1,
STM32F4_RCC_USART2,
@@ -134,29 +148,50 @@ static void usart_initialize(int minor)
usart->cr2 = 0;
usart->cr3 = 0;
usart->bbr = usart_get_bbr(usart, pclk, baud);
- usart->cr1 = STM32F4_USART_CR1_UE
- | STM32F4_USART_CR1_TE
- | STM32F4_USART_CR1_RE;
+ usart->cr1 = STM32F4_USART_CR1_UE // UART enable
+#ifdef BSP_CONSOLE_USE_INTERRUPTS
+ | STM32F4_USART_CR1_RXNEIE // RX interrupt
+#endif
+ | STM32F4_USART_CR1_TE // TX enable
+ | STM32F4_USART_CR1_RE; // RX enable
}
static int usart_first_open(int major, int minor, void *arg)
{
+ rtems_status_code sc = RTEMS_SUCCESSFUL;
rtems_libio_open_close_args_t *oc = (rtems_libio_open_close_args_t *) arg;
- struct rtems_termios_tty *tty = (struct rtems_termios_tty *) oc->iop->data1;
+ rtems_termios_tty *tty = (struct rtems_termios_tty *) oc->iop->data1;
const console_tbl *ct = Console_Port_Tbl [minor];
console_data *cd = &Console_Port_Data [minor];
cd->termios_data = tty;
rtems_termios_set_initial_baud(tty, ct->ulClock);
- return 0;
+#ifdef BSP_CONSOLE_USE_INTERRUPTS
+ sc = rtems_interrupt_handler_install(ct->ulIntVector,
+ ct->sDeviceName,
+ RTEMS_INTERRUPT_UNIQUE,
+ stm32f4_usart_interrupt,
+ tty);
+#endif
+
+ return sc;
}
static int usart_last_close(int major, int minor, void *arg)
{
- return 0;
+ rtems_status_code sc = RTEMS_SUCCESSFUL;
+#ifdef BSP_CONSOLE_USE_INTERRUPTS
+ rtems_libio_open_close_args_t *oc = (rtems_libio_open_close_args_t *) arg;
+ rtems_termios_tty *tty = (struct rtems_termios_tty *) oc->iop->data1;
+ const console_tbl *ct = Console_Port_Tbl [minor];
+
+ sc = rtems_interrupt_handler_remove(ct->ulIntVector, stm32f4_usart_interrupt, tty);
+#endif
+ return sc;
}
+#ifndef BSP_CONSOLE_USE_INTERRUPTS
static int usart_read_polled(int minor)
{
const console_tbl *ct = Console_Port_Tbl [minor];
@@ -168,6 +203,7 @@ static int usart_read_polled(int minor)
return -1;
}
}
+#endif
static void usart_write_polled(int minor, char c)
{
@@ -196,16 +232,30 @@ static ssize_t usart_write_support_polled(
return n;
}
+/**
+ * Configure settings from a termios call to tcsetattr()
+ */
static int usart_set_attributes(int minor, const struct termios *term)
{
- return -1;
+ console_tbl *ct = Console_Port_Tbl[minor];
+ volatile stm32f4_usart *usart = usart_get_regs(ct);
+ uint32_t pclk = usart_get_pclk(ct);
+ uint32_t baud = term->c_ispeed;
+
+ ct->ulClock = baud;
+ usart->bbr = usart_get_bbr(usart, pclk, baud);
+ return 0;
}
const console_fns stm32f4_usart_fns = {
.deviceProbe = libchip_serial_default_probe,
.deviceFirstOpen = usart_first_open,
.deviceLastClose = usart_last_close,
+#ifdef BSP_CONSOLE_USE_INTERRUPTS
+ .deviceRead = NULL,
+#else
.deviceRead = usart_read_polled,
+#endif
.deviceWrite = usart_write_support_polled,
.deviceInitialize = usart_initialize,
.deviceWritePolled = usart_write_polled,
diff --git a/bsps/arm/stm32f4/headers.am b/bsps/arm/stm32f4/headers.am
deleted file mode 100644
index f1270b546e..0000000000
--- a/bsps/arm/stm32f4/headers.am
+++ /dev/null
@@ -1,29 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/stm32f4/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/io.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/rcc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32_i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32_usart.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_adc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_exti.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_flash.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_otgfs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_pwr.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_syscfg.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_tim.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/usart.h
diff --git a/bsps/arm/stm32f4/i2c/i2c-config.c b/bsps/arm/stm32f4/i2c/i2c-config.c
index eac16bafc0..845dead4c2 100644
--- a/bsps/arm/stm32f4/i2c/i2c-config.c
+++ b/bsps/arm/stm32f4/i2c/i2c-config.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/i2c/i2c.c b/bsps/arm/stm32f4/i2c/i2c.c
index 1d0a409455..7b85382c7e 100644
--- a/bsps/arm/stm32f4/i2c/i2c.c
+++ b/bsps/arm/stm32f4/i2c/i2c.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp.h b/bsps/arm/stm32f4/include/bsp.h
index c37684f5aa..968545cd5a 100644
--- a/bsps/arm/stm32f4/include/bsp.h
+++ b/bsps/arm/stm32f4/include/bsp.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/i2c.h b/bsps/arm/stm32f4/include/bsp/i2c.h
index 9effe63ae1..599e51e1b0 100644
--- a/bsps/arm/stm32f4/include/bsp/i2c.h
+++ b/bsps/arm/stm32f4/include/bsp/i2c.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/io.h b/bsps/arm/stm32f4/include/bsp/io.h
index 412fa8fbfc..4fa39bdca9 100644
--- a/bsps/arm/stm32f4/include/bsp/io.h
+++ b/bsps/arm/stm32f4/include/bsp/io.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/irq.h b/bsps/arm/stm32f4/include/bsp/irq.h
index 586d68af82..d0360a058d 100644
--- a/bsps/arm/stm32f4/include/bsp/irq.h
+++ b/bsps/arm/stm32f4/include/bsp/irq.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/rcc.h b/bsps/arm/stm32f4/include/bsp/rcc.h
index 599cba9342..03030ba8c9 100644
--- a/bsps/arm/stm32f4/include/bsp/rcc.h
+++ b/bsps/arm/stm32f4/include/bsp/rcc.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32_i2c.h b/bsps/arm/stm32f4/include/bsp/stm32_i2c.h
index 21d9b34ed1..b3a6b1e688 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32_i2c.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32_i2c.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32_usart.h b/bsps/arm/stm32f4/include/bsp/stm32_usart.h
index c9c269533f..76431fc0f5 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32_usart.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32_usart.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h b/bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h
index d5324171a9..aa1a53a616 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h b/bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h
index ec7e675844..9305b16dbf 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h b/bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h
index c1c6629810..2e0340c44d 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4.h b/bsps/arm/stm32f4/include/bsp/stm32f4.h
index 9901e7ccfc..7f84480ece 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32f4.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32f4.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
index b129c23595..0026631298 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h
index 5c004328d7..7dadfbe756 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/include/bsp/usart.h b/bsps/arm/stm32f4/include/bsp/usart.h
index 3d5646a066..3c9fd3fd96 100644
--- a/bsps/arm/stm32f4/include/bsp/usart.h
+++ b/bsps/arm/stm32f4/include/bsp/usart.h
@@ -7,12 +7,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/start/bsp_specs b/bsps/arm/stm32f4/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/stm32f4/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/stm32f4/start/bspreset.c b/bsps/arm/stm32f4/start/bspreset.c
index ff46d4f86b..15b3fe1a91 100644
--- a/bsps/arm/stm32f4/start/bspreset.c
+++ b/bsps/arm/stm32f4/start/bspreset.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/start/bspstart.c b/bsps/arm/stm32f4/start/bspstart.c
index 8d4bf6b82b..0ec5ac27b5 100644
--- a/bsps/arm/stm32f4/start/bspstart.c
+++ b/bsps/arm/stm32f4/start/bspstart.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/start/bspstarthook.c b/bsps/arm/stm32f4/start/bspstarthook.c
index 8e9295b853..21a9189f26 100644
--- a/bsps/arm/stm32f4/start/bspstarthook.c
+++ b/bsps/arm/stm32f4/start/bspstarthook.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
@@ -15,11 +9,6 @@
#include <bsp.h>
#include <bsp/start.h>
-void BSP_START_TEXT_SECTION bsp_start_hook_0(void)
-{
- /* Do nothing */
-}
-
void BSP_START_TEXT_SECTION bsp_start_hook_1(void)
{
bsp_start_copy_sections();
diff --git a/bsps/arm/stm32f4/start/io.c b/bsps/arm/stm32f4/start/io.c
index dcbdb70ff5..3ac2d26af6 100644
--- a/bsps/arm/stm32f4/start/io.c
+++ b/bsps/arm/stm32f4/start/io.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/start/rcc.c b/bsps/arm/stm32f4/start/rcc.c
index ed0b2f1610..3c2a45565a 100644
--- a/bsps/arm/stm32f4/start/rcc.c
+++ b/bsps/arm/stm32f4/start/rcc.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
diff --git a/bsps/arm/stm32f4/start/start-config-io.c b/bsps/arm/stm32f4/start/start-config-io.c
index 712fd0705b..62b594e2ee 100644
--- a/bsps/arm/stm32f4/start/start-config-io.c
+++ b/bsps/arm/stm32f4/start/start-config-io.c
@@ -1,12 +1,6 @@
/*
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
*
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.