Browse Source

stm32: drop empty usart.c files

On some targets these weren't even being referenced, on others they
were, in all cases they were empty and contributed no value.

They _actually_ served to declare groupings for doxygen, but we can do
that in a different manner, without having to have dummy files around.
pull/931/merge
Karl Palsson 7 years ago
parent
commit
7b9baabd69
  1. 2
      lib/stm32/f0/Makefile
  2. 31
      lib/stm32/f0/usart.c
  3. 31
      lib/stm32/f1/usart.c
  4. 31
      lib/stm32/f2/usart.c
  5. 2
      lib/stm32/f3/Makefile
  6. 34
      lib/stm32/f3/usart.c
  7. 31
      lib/stm32/f4/usart.c
  8. 2
      lib/stm32/l1/Makefile
  9. 31
      lib/stm32/l1/usart.c

2
lib/stm32/f0/Makefile

@ -36,7 +36,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
ARFLAGS = rcs ARFLAGS = rcs
OBJS = can.o flash.o rcc.o usart.o dma.o rtc.o comparator.o crc.o \ OBJS = can.o flash.o rcc.o dma.o rtc.o comparator.o crc.o \
dac.o iwdg.o pwr.o gpio.o timer.o adc.o desig.o dac.o iwdg.o pwr.o gpio.o timer.o adc.o desig.o
OBJS += gpio_common_all.o gpio_common_f0234.o crc_common_all.o crc_v2.o \ OBJS += gpio_common_all.o gpio_common_f0234.o crc_common_all.o crc_v2.o \

31
lib/stm32/f0/usart.c

@ -1,31 +0,0 @@
/** @defgroup usart_file USART
*
* @ingroup STM32F0xx
*
* @brief <b>libopencm3 STM32F0xx USART</b>
*
* @version 1.0.0
*
* @date 7 Jul 2013
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/usart.h>

31
lib/stm32/f1/usart.c

@ -1,31 +0,0 @@
/** @defgroup usart_file USART
@ingroup STM32F1xx
@brief <b>libopencm3 STM32F1xx USART</b>
@version 1.0.0
@date 30 August 2012
LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/usart.h>

31
lib/stm32/f2/usart.c

@ -1,31 +0,0 @@
/** @defgroup usart_file USART
@ingroup STM32F2xx
@brief <b>libopencm3 STM32F2xx USART</b>
@version 1.0.0
@date 30 August 2012
LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/usart.h>

2
lib/stm32/f3/Makefile

@ -37,7 +37,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
ARFLAGS = rcs ARFLAGS = rcs
OBJS = rcc.o adc.o can.o pwr.o usart.o dma.o flash.o desig.o OBJS = rcc.o adc.o can.o pwr.o dma.o flash.o desig.o
OBJS += gpio_common_all.o gpio_common_f0234.o \ OBJS += gpio_common_all.o gpio_common_f0234.o \
dac_common_all.o crc_common_all.o crc_v2.o \ dac_common_all.o crc_common_all.o crc_v2.o \

34
lib/stm32/f3/usart.c

@ -1,34 +0,0 @@
/** @defgroup usart_file USART
*
* @ingroup STM32F3xx
*
* @brief <b>libopencm3 STM32F3xx USART</b>
*
* @version 1.0.0
*
* @date 30 August 2012
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/usart.h>
/**@}*/

31
lib/stm32/f4/usart.c

@ -1,31 +0,0 @@
/** @defgroup usart_file USART
@ingroup STM32F4xx
@brief <b>libopencm3 STM32F4xx USART</b>
@version 1.0.0
@date 30 August 2012
LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/usart.h>

2
lib/stm32/l1/Makefile

@ -35,7 +35,7 @@ TGT_CFLAGS += $(DEBUG_FLAGS)
TGT_CFLAGS += $(STANDARD_FLAGS) TGT_CFLAGS += $(STANDARD_FLAGS)
# ARFLAGS = rcsv # ARFLAGS = rcsv
ARFLAGS = rcs ARFLAGS = rcs
OBJS = crc.o desig.o flash.o rcc.o usart.o dma.o lcd.o OBJS = crc.o desig.o flash.o rcc.o dma.o lcd.o
OBJS += crc_common_all.o dac_common_all.o OBJS += crc_common_all.o dac_common_all.o
OBJS += dma_common_l1f013.o OBJS += dma_common_l1f013.o
OBJS += flash_common_l01.o OBJS += flash_common_l01.o

31
lib/stm32/l1/usart.c

@ -1,31 +0,0 @@
/** @defgroup usart_file USART
@ingroup STM32L1xx
@brief <b>libopencm3 STM32L1xx USART</b>
@version 1.0.0
@date 30 August 2012
LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/usart.h>
Loading…
Cancel
Save