diff --git a/lib/stm32/f0/spi.c b/lib/stm32/f0/spi.c
deleted file mode 100644
index c3410016..00000000
--- a/lib/stm32/f0/spi.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @defgroup spi_file SPI
-
-@ingroup STM32F0xx
-
-@brief libopencm3 STM32F0xx SPI
-
-@version 1.0.0
-
-@date 20 February 2014
-
-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 .
- */
-
-#include
diff --git a/lib/stm32/f1/spi.c b/lib/stm32/f1/spi.c
deleted file mode 100644
index 757f2aea..00000000
--- a/lib/stm32/f1/spi.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @defgroup spi_file SPI
-
-@ingroup STM32F1xx
-
-@brief libopencm3 STM32F1xx SPI
-
-@version 1.0.0
-
-@date 15 October 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 .
- */
-
-#include
diff --git a/lib/stm32/f2/spi.c b/lib/stm32/f2/spi.c
deleted file mode 100644
index 8fb70cd9..00000000
--- a/lib/stm32/f2/spi.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @defgroup spi_file SPI
-
-@ingroup STM32F2xx
-
-@brief libopencm3 STM32F2xx SPI
-
-@version 1.0.0
-
-@date 15 October 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 .
- */
-
-#include
diff --git a/lib/stm32/f3/spi.c b/lib/stm32/f3/spi.c
deleted file mode 100644
index 3dcc5240..00000000
--- a/lib/stm32/f3/spi.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @defgroup spi_file SPI
-
-@ingroup STM32F3xx
-
-@brief libopencm3 STM32F3xx SPI
-
-@version 1.0.0
-
-@date 20 February 2014
-
-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 .
- */
-
-#include
diff --git a/lib/stm32/f4/spi.c b/lib/stm32/f4/spi.c
deleted file mode 100644
index c8a6b411..00000000
--- a/lib/stm32/f4/spi.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @defgroup spi_file SPI
-
-@ingroup STM32F4xx
-
-@brief libopencm3 STM32F4xx SPI
-
-@version 1.0.0
-
-@date 15 October 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 .
- */
-
-#include
diff --git a/lib/stm32/f7/spi.c b/lib/stm32/f7/spi.c
deleted file mode 100644
index ace451ac..00000000
--- a/lib/stm32/f7/spi.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @defgroup spi_file SPI
-
-@ingroup STM32F7xx
-
-@brief libopencm3 STM32F7xx SPI
-
-@version 1.0.0
-
-@date 28 August 2018
-
-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 .
- */
-
-#include
diff --git a/lib/stm32/l1/spi.c b/lib/stm32/l1/spi.c
deleted file mode 100644
index 05969fb8..00000000
--- a/lib/stm32/l1/spi.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @defgroup spi_file SPI
-
-@ingroup STM32L1xx
-
-@brief libopencm3 STM32L1xx SPI
-
-@version 1.0.0
-
-@date 15 October 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 .
- */
-
-#include