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 .
- *
- */
-/** BusVoodoo global definitions and methods (code)
+/** BusVoodoo global definitions and methods
* @file
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo global definitions and methods
* @file
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo high impedance (HiZ) default mode
* @file
* @author King Kévin
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
*/
/* standard libraries */
#include // 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 .
- *
- */
/** BusVoodoo high impedance (HiZ) default mode
* @file
* @author King Kévin
+ * @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 .
- *
- */
/** BusVoodoo I²C mode
* @file
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo I²C mode
* @file
* @author King Kévin
* @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 .
- *
- */
/** library to show BusVoodoo mode information on SSD1306 OLED display: name, activity, pinout (code)
* @file busvoodoo_oled.c
* @author King Kévin
* @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 .
- *
- */
/** library to show BusVoodoo mode information on SSD1306 OLED display: name, activity, pinout (API)
* @file busvoodoo_oled.h
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo 1-wire mode
* @file
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo 1-wire mode
* @file
* @author King Kévin
* @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 .
- *
- */
-/** BusVoodoo RS-232 mode (code)
+/** BusVoodoo RS-232 mode
* @file busvoodoo_rs232.c
* @author King Kévin
* @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 .
- *
- */
-/** BusVoodoo RS-232 mode (API)
+/** BusVoodoo RS-232 mode
* @file busvoodoo_rs232.h
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo RS-485 mode (code)
* @file busvoodoo_rs485.c
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo RS-485/422 mode (API)
* @file busvoodoo_rs485.h
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo SDIO (MMC/eMMC) mode
* @file
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo SDIO (MMC/eMMC) mode
* @file
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo SPI mode
* @file
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo SPI mode
* @file
* @author King Kévin
* @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 .
- *
- */
-/** BusVoodoo UART mode (code)
+/** BusVoodoo UART mode
* @file busvoodoo_uart.c
* @author King Kévin
* @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 .
- *
- */
/** BusVoodoo UART mode (API)
* @file busvoodoo_uart.h
* @author King Kévin
+ * @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 .
- *
- */
/** 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
+ * @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 .
- *
- */
/** 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
* @date 2018-2020
+ * @copyright SPDX-License-Identifier: GPL-3.0-or-later
*/
#include // timer library