aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKing Kévin <kingkevin@cuvoodoo.info>2021-03-31 14:06:10 +0200
committerKing Kévin <kingkevin@cuvoodoo.info>2021-03-31 14:10:07 +0200
commitd9a743048106b0c274e3f971df506f72e53cae8b (patch)
treeb8b757dbf407cc467aacea247f8b953cc96782f3
parent967cbb18320bec6f7af8aabeb3c7e80f579f789c (diff)
busvoodoo: minor, simplify licensebusvoodoo
-rw-r--r--lib/busvoodoo_global.c17
-rw-r--r--lib/busvoodoo_global.h15
-rw-r--r--lib/busvoodoo_hiz.c15
-rw-r--r--lib/busvoodoo_hiz.h15
-rw-r--r--lib/busvoodoo_i2c.c15
-rw-r--r--lib/busvoodoo_i2c.h15
-rw-r--r--lib/busvoodoo_oled.c15
-rw-r--r--lib/busvoodoo_oled.h15
-rw-r--r--lib/busvoodoo_onewire.c15
-rw-r--r--lib/busvoodoo_onewire.h15
-rw-r--r--lib/busvoodoo_rs232.c17
-rw-r--r--lib/busvoodoo_rs232.h17
-rw-r--r--lib/busvoodoo_rs485.c15
-rw-r--r--lib/busvoodoo_rs485.h15
-rw-r--r--lib/busvoodoo_sdio.c15
-rw-r--r--lib/busvoodoo_sdio.h15
-rw-r--r--lib/busvoodoo_spi.c15
-rw-r--r--lib/busvoodoo_spi.h15
-rw-r--r--lib/busvoodoo_uart.c17
-rw-r--r--lib/busvoodoo_uart.h15
-rw-r--r--lib/busvoodoo_uart_generic.c15
-rw-r--r--lib/busvoodoo_uart_generic.h15
22 files changed, 26 insertions, 312 deletions
diff --git a/lib/busvoodoo_global.c b/lib/busvoodoo_global.c
index 9b1de66..c6f8f28 100644
--- a/lib/busvoodoo_global.c
+++ b/lib/busvoodoo_global.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-/** BusVoodoo global definitions and methods (code)
+/** BusVoodoo global definitions and methods
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: time @ref busvoodoo_led_timer
*/
diff --git a/lib/busvoodoo_global.h b/lib/busvoodoo_global.h
index 8a4a8fc..5a7b874 100644
--- a/lib/busvoodoo_global.h
+++ b/lib/busvoodoo_global.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo global definitions and methods
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: time @ref busvoodoo_led_timer
*/
#pragma once
diff --git a/lib/busvoodoo_hiz.c b/lib/busvoodoo_hiz.c
index 64b07a5..0c74d18 100644
--- a/lib/busvoodoo_hiz.c
+++ b/lib/busvoodoo_hiz.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo high impedance (HiZ) default mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
*/
/* standard libraries */
#include <stdint.h> // standard integer types
diff --git a/lib/busvoodoo_hiz.h b/lib/busvoodoo_hiz.h
index 698a14a..37d99b1 100644
--- a/lib/busvoodoo_hiz.h
+++ b/lib/busvoodoo_hiz.h
@@ -1,20 +1,7 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo high impedance (HiZ) default mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @date 2018-2020
*/
diff --git a/lib/busvoodoo_i2c.c b/lib/busvoodoo_i2c.c
index 9e752a2..c1dee6f 100644
--- a/lib/busvoodoo_i2c.c
+++ b/lib/busvoodoo_i2c.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo I²C mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: I2C @ref busvoodoo_i2c
*/
/* standard libraries */
diff --git a/lib/busvoodoo_i2c.h b/lib/busvoodoo_i2c.h
index 2e09d36..5d0060b 100644
--- a/lib/busvoodoo_i2c.h
+++ b/lib/busvoodoo_i2c.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo I²C mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: I2C @ref busvoodoo_i2c
*/
diff --git a/lib/busvoodoo_oled.c b/lib/busvoodoo_oled.c
index 72e9353..a5e9179 100644
--- a/lib/busvoodoo_oled.c
+++ b/lib/busvoodoo_oled.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** library to show BusVoodoo mode information on SSD1306 OLED display: name, activity, pinout (code)
* @file busvoodoo_oled.c
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: I2C @ref oled_ssd1306_i2c
*/
/* standard libraries */
diff --git a/lib/busvoodoo_oled.h b/lib/busvoodoo_oled.h
index 7532eff..a77778f 100644
--- a/lib/busvoodoo_oled.h
+++ b/lib/busvoodoo_oled.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** library to show BusVoodoo mode information on SSD1306 OLED display: name, activity, pinout (API)
* @file busvoodoo_oled.h
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: I2C @ref oled_ssd1306_i2c
*/
#include "font.h"
diff --git a/lib/busvoodoo_onewire.c b/lib/busvoodoo_onewire.c
index 869d074..f5c2226 100644
--- a/lib/busvoodoo_onewire.c
+++ b/lib/busvoodoo_onewire.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo 1-wire mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: timer @ref onewire_master_timer
*/
/* standard libraries */
diff --git a/lib/busvoodoo_onewire.h b/lib/busvoodoo_onewire.h
index 4010be6..c5537ef 100644
--- a/lib/busvoodoo_onewire.h
+++ b/lib/busvoodoo_onewire.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo 1-wire mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: timer @ref onewire_master_timer
*/
diff --git a/lib/busvoodoo_rs232.c b/lib/busvoodoo_rs232.c
index faa314c..ec6be5e 100644
--- a/lib/busvoodoo_rs232.c
+++ b/lib/busvoodoo_rs232.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-/** BusVoodoo RS-232 mode (code)
+/** BusVoodoo RS-232 mode
* @file busvoodoo_rs232.c
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: USART @ref busvoodoo_rs232_usart
*/
/* standard libraries */
diff --git a/lib/busvoodoo_rs232.h b/lib/busvoodoo_rs232.h
index ce1e9e5..e0019e6 100644
--- a/lib/busvoodoo_rs232.h
+++ b/lib/busvoodoo_rs232.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-/** BusVoodoo RS-232 mode (API)
+/** BusVoodoo RS-232 mode
* @file busvoodoo_rs232.h
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: USART @ref busvoodoo_rs232_usart
*/
diff --git a/lib/busvoodoo_rs485.c b/lib/busvoodoo_rs485.c
index 03e9db2..7b29c0d 100644
--- a/lib/busvoodoo_rs485.c
+++ b/lib/busvoodoo_rs485.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo RS-485 mode (code)
* @file busvoodoo_rs485.c
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: USART @ref busvoodoo_rs485_usart
*/
/* standard libraries */
diff --git a/lib/busvoodoo_rs485.h b/lib/busvoodoo_rs485.h
index 26a4c48..643dcc0 100644
--- a/lib/busvoodoo_rs485.h
+++ b/lib/busvoodoo_rs485.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo RS-485/422 mode (API)
* @file busvoodoo_rs485.h
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: USART @ref busvoodoo_rs485_usart
*/
diff --git a/lib/busvoodoo_sdio.c b/lib/busvoodoo_sdio.c
index 2bbbd15..1aff52c 100644
--- a/lib/busvoodoo_sdio.c
+++ b/lib/busvoodoo_sdio.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo SDIO (MMC/eMMC) mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: SDIO
* @implements JESD84-B50.1 Embedded Multi-Media Card (e•MMC) Electrical Standard (5.01)
*/
diff --git a/lib/busvoodoo_sdio.h b/lib/busvoodoo_sdio.h
index 1008162..77a1f9a 100644
--- a/lib/busvoodoo_sdio.h
+++ b/lib/busvoodoo_sdio.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo SDIO (MMC/eMMC) mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: SDIO
*/
diff --git a/lib/busvoodoo_spi.c b/lib/busvoodoo_spi.c
index 9bbb156..b3129ef 100644
--- a/lib/busvoodoo_spi.c
+++ b/lib/busvoodoo_spi.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo SPI mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: SPI @ref busvoodoo_spi
*/
/* standard libraries */
diff --git a/lib/busvoodoo_spi.h b/lib/busvoodoo_spi.h
index fc007a6..0e6a4b6 100644
--- a/lib/busvoodoo_spi.h
+++ b/lib/busvoodoo_spi.h
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo SPI mode
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: SPI @ref busvoodoo_spi
*/
diff --git a/lib/busvoodoo_uart.c b/lib/busvoodoo_uart.c
index 89b7a9f..1bc0fe4 100644
--- a/lib/busvoodoo_uart.c
+++ b/lib/busvoodoo_uart.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-/** BusVoodoo UART mode (code)
+/** BusVoodoo UART mode
* @file busvoodoo_uart.c
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @note peripherals used: USART @ref busvoodoo_uart
*/
/* standard libraries */
diff --git a/lib/busvoodoo_uart.h b/lib/busvoodoo_uart.h
index b96d3e9..b73f0a7 100644
--- a/lib/busvoodoo_uart.h
+++ b/lib/busvoodoo_uart.h
@@ -1,20 +1,7 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo UART mode (API)
* @file busvoodoo_uart.h
* @author King Kévin <kingkevin@cuvoodoo.info>
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @date 2018
* @note peripherals used: USART @ref busvoodoo_uart
*/
diff --git a/lib/busvoodoo_uart_generic.c b/lib/busvoodoo_uart_generic.c
index 33313c4..7bf966b 100644
--- a/lib/busvoodoo_uart_generic.c
+++ b/lib/busvoodoo_uart_generic.c
@@ -1,21 +1,8 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo generic UART mode
* @note this only contains the common UART methods and should be supplied with mode specific methods and information
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @date 2018-2020
*/
/* standard libraries */
diff --git a/lib/busvoodoo_uart_generic.h b/lib/busvoodoo_uart_generic.h
index f8ac811..058a612 100644
--- a/lib/busvoodoo_uart_generic.h
+++ b/lib/busvoodoo_uart_generic.h
@@ -1,22 +1,9 @@
-/* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
/** BusVoodoo generic UART mode
* @note this only contains the common UART methods and should be supplied with mode specific methods and information
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
*/
#include <libopencm3/stm32/timer.h> // timer library