aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/chconf.h2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/static_lwipopts.h2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.c2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.h2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/main.c2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.c2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.h2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/main.c2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/mcuconf.h2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/chconf.h2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/mcuconf.h2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c2
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-MEGA/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-MEGA/halconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-MEGA/main.c2
-rw-r--r--demos/AVR/NIL-ARDUINO-MEGA/mcuconf.h230
-rw-r--r--demos/AVR/NIL-ARDUINO-MINI/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-MINI/halconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-MINI/main.c2
-rw-r--r--demos/AVR/NIL-ARDUINO-MINI/mcuconf.h230
-rw-r--r--demos/AVR/NIL-ARDUINO-NANO/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-NANO/halconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-NANO/main.c2
-rw-r--r--demos/AVR/NIL-ARDUINO-NANO/mcuconf.h230
-rw-r--r--demos/AVR/NIL-ARDUINO-UNO/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-UNO/halconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-UNO/main.c2
-rw-r--r--demos/AVR/NIL-ARDUINO-UNO/mcuconf.h230
-rw-r--r--demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h2
-rw-r--r--demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h2
-rw-r--r--demos/AVR/NIL-DIGISPARK-ATTINY-167/mcuconf.h242
-rw-r--r--demos/AVR/NIL-MT-DB-X4/chconf.h2
-rw-r--r--demos/AVR/NIL-MT-DB-X4/halconf.h2
-rw-r--r--demos/AVR/NIL-MT-DB-X4/mcuconf.h230
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/halconf.h760
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/main.c158
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/mcuconf.h230
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c804
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h56
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/halconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/main.c2
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/mcuconf.h230
-rw-r--r--demos/AVR/RT-ARDUINO-MINI/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-MINI/halconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-MINI/main.c2
-rw-r--r--demos/AVR/RT-ARDUINO-MINI/mcuconf.h230
-rw-r--r--demos/AVR/RT-ARDUINO-NANO/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-NANO/halconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-NANO/main.c2
-rw-r--r--demos/AVR/RT-ARDUINO-NANO/mcuconf.h230
-rw-r--r--demos/AVR/RT-ARDUINO-UNO/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-UNO/halconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-UNO/main.c2
-rw-r--r--demos/AVR/RT-ARDUINO-UNO/mcuconf.h230
-rw-r--r--demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h2
-rw-r--r--demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h2
-rw-r--r--demos/AVR/RT-DIGISPARK-ATTINY-167/mcuconf.h242
-rw-r--r--demos/AVR/RT-MT-DB-X4/chconf.h2
-rw-r--r--demos/AVR/RT-MT-DB-X4/halconf.h2
-rw-r--r--demos/AVR/RT-MT-DB-X4/mcuconf.h230
-rw-r--r--demos/AVR/RT-PRO-MICRO/chconf.h1238
-rw-r--r--demos/AVR/RT-PRO-MICRO/halconf.h760
-rw-r--r--demos/AVR/RT-PRO-MICRO/main.c158
-rw-r--r--demos/AVR/RT-PRO-MICRO/mcuconf.h230
-rw-r--r--demos/AVR/RT-PRO-MICRO/usbcfg.c802
-rw-r--r--demos/AVR/RT-PRO-MICRO/usbcfg.h56
-rw-r--r--demos/AVR/TEST-SUITE-NIL/chconf.h2
-rw-r--r--demos/AVR/TEST-SUITE-NIL/halconf.h2
-rw-r--r--demos/AVR/TEST-SUITE-NIL/main.c2
-rw-r--r--demos/AVR/TEST-SUITE-NIL/mcuconf.h230
-rw-r--r--demos/AVR/TEST-SUITE-OSLIB/chconf.h2
-rw-r--r--demos/AVR/TEST-SUITE-OSLIB/halconf.h2
-rw-r--r--demos/AVR/TEST-SUITE-OSLIB/main.c2
-rw-r--r--demos/AVR/TEST-SUITE-OSLIB/mcuconf.h230
-rw-r--r--demos/AVR/TEST-SUITE-RT/chconf.h2
-rw-r--r--demos/AVR/TEST-SUITE-RT/halconf.h2
-rw-r--r--demos/AVR/TEST-SUITE-RT/main.c2
-rw-r--r--demos/AVR/TEST-SUITE-RT/mcuconf.h230
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h2
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h2
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/main.c2
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h2
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/chconf.h2
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/halconf.h2
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/main.c2
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/mcuconf.h2
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/nilconf.h2
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/halconf.h2
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/main.c2
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/mcuconf.h2
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/halconf.h2
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/main.c2
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/mcuconf.h2
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/halconf.h2
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/main.c2
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/mcuconf.h2
-rw-r--r--demos/SPC5/RT-SPC563M-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC563M-EVB/halconf.h2
-rw-r--r--demos/SPC5/RT-SPC563M-EVB/main.c2
-rw-r--r--demos/SPC5/RT-SPC563M-EVB/mcuconf.h2
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/halconf.h2
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/main.c2
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/mcuconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EC-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EC-EVB/halconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EC-EVB/main.c2
-rw-r--r--demos/SPC5/RT-SPC56EC-EVB/mcuconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/halconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/main.c2
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/mcuconf.h2
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c2
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/HAL-STM32F407-DISCOVERY/main.c2
-rw-r--r--demos/STM32/HAL-STM32F407-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/HAL-STM32F407-DISCOVERY/osalconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/main.c2
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/main.c2
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/main.c2
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h2
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/main.c2
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/mcuconf.h2
-rw-r--r--demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/NIL-STM32F746G-DISCOVERY/main.c2
-rw-r--r--demos/STM32/NIL-STM32F746G-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h2
-rw-r--r--demos/STM32/NIL-STM32L011K4-NUCLEO32/main.c2
-rw-r--r--demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h2
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/main.c2
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/chconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/main.c696
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c686
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.h52
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.c434
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.h110
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/chconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/chconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/chconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.h2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.h2
-rw-r--r--demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F030R8-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F030R8-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/main.c2
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F042K6-NUCLEO32/main.c2
-rw-r--r--demos/STM32/RT-STM32F042K6-NUCLEO32/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F070RB-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F070RB-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F072RB-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F072RB-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F091RC-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F091RC-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F100-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F100-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F100-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F100-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/main.c2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.h2
-rwxr-xr-xdemos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h2
-rwxr-xr-xdemos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h2
-rwxr-xr-xdemos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c2
-rwxr-xr-xdemos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c2
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.h2
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.h2
-rw-r--r--demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h2
-rwxr-xr-xdemos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c2
-rw-r--r--demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.c2
-rw-r--r--demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.h2
-rw-r--r--demos/STM32/RT-STM32F207-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F207-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F207-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F207-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32F207ZG-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F302R8-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F302R8-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY-REVC/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY-REVC/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F303K8-NUCLEO32/main.c2
-rw-r--r--demos/STM32/RT-STM32F303K8-NUCLEO32/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F303RE-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F303RE-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32F303ZE-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F334-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F334-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F334-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F334R8-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c2
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F401C-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F401C-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F401RE-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F401RE-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F401RE-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F410RB-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F410RB-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F411RE-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F411RE-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32F412ZG-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.h2
-rw-r--r--demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32F429ZI-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F446RE-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32F446RE-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32F446ZE-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F469I-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F469I-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32F746ZG-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32F767ZI-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F769I-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32F769I-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32H743I-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h2
-rw-r--r--demos/STM32/RT-STM32H743I-NUCLEO144/main.c2
-rw-r--r--demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L031K6-NUCLEO32/main.c2
-rw-r--r--demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.h2
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L152-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L152-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L152-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32L152-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO64/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L432KC-NUCLEO32/main.c2
-rw-r--r--demos/STM32/RT-STM32L432KC-NUCLEO32/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/main.c2
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/mcuconf.h2
-rw-r--r--demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L476RG-NUCLEO64/main.c2
-rw-r--r--demos/STM32/RT-STM32L476RG-NUCLEO64/mcuconf.h2
-rw-r--r--demos/various/NIL-ARMCM0-GENERIC/chconf.h2
-rw-r--r--demos/various/NIL-ARMCM0-GENERIC/main.c2
-rw-r--r--demos/various/NIL-ARMCM4-GENERIC/chconf.h2
-rw-r--r--demos/various/NIL-ARMCM4-GENERIC/main.c2
-rw-r--r--demos/various/RT-ARM7-GENERIC/chconf.h2
-rw-r--r--demos/various/RT-ARM7-GENERIC/main.c2
-rw-r--r--demos/various/RT-ARMCM0-GENERIC/chconf.h2
-rw-r--r--demos/various/RT-ARMCM0-GENERIC/main.c2
-rw-r--r--demos/various/RT-ARMCM4-GENERIC/chconf.h2
-rw-r--r--demos/various/RT-ARMCM4-GENERIC/main.c2
-rwxr-xr-xdemos/various/RT-Posix-Simulator/chconf.h2
-rwxr-xr-xdemos/various/RT-Posix-Simulator/halconf.h2
-rwxr-xr-xdemos/various/RT-Posix-Simulator/main.c2
-rw-r--r--demos/various/RT-Win32-Simulator/chconf.h2
-rw-r--r--demos/various/RT-Win32-Simulator/halconf.h2
-rw-r--r--demos/various/RT-Win32-Simulator/main.c2
-rw-r--r--os/common/abstractions/nasa_cfe/osal/include/osapi-os-custom.h2
-rw-r--r--os/common/abstractions/nasa_cfe/osal/src/osapi.c2
-rw-r--r--os/common/abstractions/nasa_cfe/psp/src/cfe_psp_exception.c2
-rw-r--r--os/common/abstractions/nasa_cfe/psp/src/cfe_psp_memory.c2
-rw-r--r--os/common/abstractions/nasa_cfe/psp/src/cfe_psp_support.c2
-rw-r--r--os/common/abstractions/nasa_cfe/psp/src/cfe_psp_timer.c2
-rw-r--r--os/common/portability/CW/ccportab.h2
-rw-r--r--os/common/portability/GCC/ccportab.h2
-rw-r--r--os/common/portability/GHS/ccportab.h2
-rw-r--r--os/common/ports/ARMCAx-TZ/compilers/GCC/monitor.S390
-rw-r--r--os/common/ports/ARMCMx/mpu.h2
-rw-r--r--os/common/startup/ARM/compilers/GCC/crt0.S2
-rw-r--r--os/common/startup/ARM/compilers/GCC/crt1.c2
-rw-r--r--os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld2
-rwxr-xr-xos/common/startup/ARM/compilers/GCC/ld/SAMA5D2.ld2
-rwxr-xr-xos/common/startup/ARM/compilers/GCC/ld/SAMA5D2ddr.ld2
-rw-r--r--os/common/startup/ARM/compilers/GCC/ld/rules.ld2
-rw-r--r--os/common/startup/ARM/compilers/GCC/vectors.S2
-rw-r--r--os/common/startup/ARM/devices/LPC214x/armparams.h2
-rw-r--r--os/common/startup/ARM/devices/LPC214x/lpc214x.h2
-rwxr-xr-xos/common/startup/ARM/devices/SAMA5D2/armparams.h2
-rw-r--r--os/common/startup/ARM/devices/SAMA5D2/boot.S186
-rw-r--r--os/common/startup/ARM/devices/SAMA5D2/sama5d2x.h736
-rw-r--r--os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S2
-rw-r--r--os/common/startup/ARMCAx-TZ/compilers/GCC/crt1.c2
-rwxr-xr-xos/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2.ld2
-rw-r--r--os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2ddr.ld2
-rw-r--r--os/common/startup/ARMCAx-TZ/compilers/GCC/ld/rules.ld2
-rw-r--r--os/common/startup/ARMCAx-TZ/compilers/GCC/vectors.S2
-rwxr-xr-xos/common/startup/ARMCAx-TZ/devices/SAMA5D2/armparams.h2
-rw-r--r--os/common/startup/ARMCAx-TZ/devices/SAMA5D2/boot.S210
-rw-r--r--os/common/startup/ARMCAx-TZ/devices/SAMA5D2/sama5d2x.h736
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/crt1.c2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x4.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x6.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F031x6.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F042x6.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F051x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F070xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F072xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F091xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F100xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB_maplemini_bootloader.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xD.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F107xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F207xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F302x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F334x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F373xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F405xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F429xI.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F469xI.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_ETH.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_MAX.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxI.ld2
-rwxr-xr-xos/common/startup/ARMCMx/compilers/GCC/ld/STM32H743xI.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x3.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x4.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x4.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x6.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x6.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x6.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073x8.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xZ.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L151x6.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xE.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xB.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xC.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L476xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/STM32L496xG.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/rules_data.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/ld/rules_stacks.ld2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/vectors.S1552
-rw-r--r--os/common/startup/ARMCMx/compilers/IAR/cstartup.s2
-rw-r--r--os/common/startup/ARMCMx/compilers/IAR/vectors.s2
-rw-r--r--os/common/startup/ARMCMx/compilers/RVCT/cstartup.s2
-rw-r--r--os/common/startup/ARMCMx/compilers/RVCT/vectors.s2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32F0xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32F2xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32F3xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32L0xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32L1xx/cmparams.h2
-rw-r--r--os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h2
-rw-r--r--os/common/startup/e200/compilers/CW/crt0.s2
-rw-r--r--os/common/startup/e200/compilers/CW/unhandled.s2
-rw-r--r--os/common/startup/e200/compilers/CW/vectors.h2
-rw-r--r--os/common/startup/e200/compilers/CW/vectors.s2
-rw-r--r--os/common/startup/e200/compilers/GCC/crt0.S2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC560B50.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC560B60.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC560B64.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC560D40.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC560P50.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC563M64.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC564A70.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC564A80.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC56EC74.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC56EL54_LSM.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC56EL60_LSM.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC56EL70_LSM.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/SPC57EM80_HSM.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/rules_z0.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/rules_z3.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/rules_z4.ld2
-rw-r--r--os/common/startup/e200/compilers/GCC/vectors.S2
-rw-r--r--os/common/startup/e200/compilers/GCC/vectors.h2
-rw-r--r--os/common/startup/e200/compilers/GHS/crt0.s2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC560B50.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC560B60.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC560B64.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC560D40.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC560P50.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC563M64.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC564A70.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC564A80.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC56EC74.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC56EL54_LSM.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC56EL60_LSM.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/ld/SPC56EL70_LSM.ld2
-rw-r--r--os/common/startup/e200/compilers/GHS/vectors.h2
-rw-r--r--os/common/startup/e200/compilers/GHS/vectors.s2
-rw-r--r--os/common/startup/e200/devices/SPC560BCxx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC560BCxx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC560BCxx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC560BCxx/ppcparams.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Bxx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC560Bxx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Bxx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Bxx/ppcparams.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Dxx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC560Dxx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Dxx/boot_cw.s2
-rw-r--r--os/common/startup/e200/devices/SPC560Dxx/boot_ghs.s2
-rw-r--r--os/common/startup/e200/devices/SPC560Dxx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Dxx/ppcparams.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Pxx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC560Pxx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Pxx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC560Pxx/ppcparams.h2
-rw-r--r--os/common/startup/e200/devices/SPC563Mxx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC563Mxx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC563Mxx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC563Mxx/ppcparams.h2
-rw-r--r--os/common/startup/e200/devices/SPC564Axx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC564Axx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC564Axx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC564Axx/ppcparams.h2
-rw-r--r--os/common/startup/e200/devices/SPC56ECxx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC56ECxx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC56ECxx/boot_cw.s2
-rw-r--r--os/common/startup/e200/devices/SPC56ECxx/boot_ghs.s2
-rw-r--r--os/common/startup/e200/devices/SPC56ECxx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC56ECxx/ppcparams.h2
-rw-r--r--os/common/startup/e200/devices/SPC56ELxx/boot.S2
-rw-r--r--os/common/startup/e200/devices/SPC56ELxx/boot.h2
-rw-r--r--os/common/startup/e200/devices/SPC56ELxx/intc.h2
-rw-r--r--os/common/startup/e200/devices/SPC56ELxx/ppcparams.h2
-rw-r--r--os/ex/dox/accelerometer.dox2
-rw-r--r--os/ex/dox/barometer.dox2
-rw-r--r--os/ex/dox/compass.dox2
-rw-r--r--os/ex/dox/flash.dox2
-rw-r--r--os/ex/dox/gyro.dox2
-rw-r--r--os/ex/dox/hal.dox2
-rw-r--r--os/ex/dox/hygrometer.dox2
-rw-r--r--os/ex/dox/jesd216flash.dox2
-rw-r--r--os/ex/dox/main.dox2
-rw-r--r--os/ex/dox/sensor.dox2
-rw-r--r--os/ex/dox/thermometer.dox2
-rw-r--r--os/hal/boards/ARDUINO_LEONARDO/board.c2
-rw-r--r--os/hal/boards/ARDUINO_LEONARDO/board.h2
-rw-r--r--os/hal/boards/ARDUINO_MEGA/board.c2
-rw-r--r--os/hal/boards/ARDUINO_MEGA/board.h2
-rw-r--r--os/hal/boards/ARDUINO_MINI/board.c2
-rw-r--r--os/hal/boards/ARDUINO_MINI/board.h2
-rw-r--r--os/hal/boards/ARDUINO_NANO/board.c2
-rw-r--r--os/hal/boards/ARDUINO_NANO/board.h2
-rw-r--r--os/hal/boards/ARDUINO_UNO/board.c2
-rw-r--r--os/hal/boards/ARDUINO_UNO/board.h2
-rw-r--r--os/hal/boards/ATSAMA5D2_XULT/board.c2
-rw-r--r--os/hal/boards/ATSAMA5D2_XULT/board.h2
-rw-r--r--os/hal/boards/DIGISPARK_ATTINY_167/board.c2
-rw-r--r--os/hal/boards/DIGISPARK_ATTINY_167/board.h2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_11C24/board.c2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_11C24/board.h2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_BB_1114/board.c2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_BB_1114/board.h2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.c2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.h2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_BB_1343/board.c2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_BB_1343/board.h2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_LPC812/board.c2
-rw-r--r--os/hal/boards/EA_LPCXPRESSO_LPC812/board.h2
-rw-r--r--os/hal/boards/GOLDBULL_STM32_F107VC/board.c2
-rw-r--r--os/hal/boards/GOLDBULL_STM32_F107VC/board.h2
-rw-r--r--os/hal/boards/MAPLEMINI_STM32_F103/board.c2
-rw-r--r--os/hal/boards/MAPLEMINI_STM32_F103/board.h2
-rw-r--r--os/hal/boards/MIKROE_CLICKER2_STM32/board.c2
-rw-r--r--os/hal/boards/MIKROE_CLICKER2_STM32/board.h2
-rw-r--r--os/hal/boards/NGX_BB_LPC11U14/board.c2
-rw-r--r--os/hal/boards/NGX_BB_LPC11U14/board.h2
-rw-r--r--os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c2
-rw-r--r--os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.h2
-rw-r--r--os/hal/boards/OLIMEX_AVR_CAN/board.c2
-rw-r--r--os/hal/boards/OLIMEX_AVR_CAN/board.h2
-rw-r--r--os/hal/boards/OLIMEX_AVR_MT_128/board.c2
-rw-r--r--os/hal/boards/OLIMEX_AVR_MT_128/board.h2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P1227/board.c2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P1227/board.h2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P1343/board.c2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P1343/board.h2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P2148/board.c2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P2148/board.h2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P2148/buzzer.c2
-rw-r--r--os/hal/boards/OLIMEX_LPC_P2148/buzzer.h2
-rw-r--r--os/hal/boards/OLIMEX_MSP430_P1611/board.c2
-rw-r--r--os/hal/boards/OLIMEX_MSP430_P1611/board.h2
-rw-r--r--os/hal/boards/OLIMEX_SAM7_EX256/board.c2
-rw-r--r--os/hal/boards/OLIMEX_SAM7_EX256/board.h2
-rw-r--r--os/hal/boards/OLIMEX_SAM7_P256/board.c2
-rw-r--r--os/hal/boards/OLIMEX_SAM7_P256/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_103STK/board.c2
-rw-r--r--os/hal/boards/OLIMEX_STM32_103STK/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_E407/board.c14
-rw-r--r--os/hal/boards/OLIMEX_STM32_E407/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_E407_REV_D/board.c14
-rw-r--r--os/hal/boards/OLIMEX_STM32_E407_REV_D/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_H103/board.c2
-rw-r--r--os/hal/boards/OLIMEX_STM32_H103/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_H407/board.c14
-rw-r--r--os/hal/boards/OLIMEX_STM32_H407/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_LCD/board.c2
-rw-r--r--os/hal/boards/OLIMEX_STM32_LCD/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_P103/board.c2
-rw-r--r--os/hal/boards/OLIMEX_STM32_P103/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_P107/board.c2
-rw-r--r--os/hal/boards/OLIMEX_STM32_P107/board.h2
-rw-r--r--os/hal/boards/OLIMEX_STM32_P407/board.c2
-rw-r--r--os/hal/boards/OLIMEX_STM32_P407/board.h2
-rw-r--r--os/hal/boards/RAISONANCE_REVA_STM8S/board.c2
-rw-r--r--os/hal/boards/RAISONANCE_REVA_STM8S/board.h2
-rwxr-xr-xos/hal/boards/SEEED_ARCH_MAX/board.c14
-rwxr-xr-xos/hal/boards/SEEED_ARCH_MAX/board.h2
-rwxr-xr-xos/hal/boards/SPARKFUN_PRO_MICRO/board.c2
-rwxr-xr-xos/hal/boards/SPARKFUN_PRO_MICRO/board.h2
-rw-r--r--os/hal/boards/STM32F103C8_MINIMAL/board.c2
-rw-r--r--os/hal/boards/STM32F103C8_MINIMAL/board.h2
-rw-r--r--os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.c2
-rw-r--r--os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.h2
-rw-r--r--os/hal/boards/ST_EVALKITST7580_1/board.c2
-rw-r--r--os/hal/boards/ST_EVALKITST7580_1/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC560B/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC560B/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC560BC/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC560BC/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC560D/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC560D/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC560P/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC560P/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC563M/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC563M/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC564A/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC564A/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC56EC/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC56EC/board.h2
-rw-r--r--os/hal/boards/ST_EVB_SPC56EL/board.c2
-rw-r--r--os/hal/boards/ST_EVB_SPC56EL/board.h2
-rw-r--r--os/hal/boards/ST_INEMO_M1_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_INEMO_M1_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F207ZG/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F207ZG/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F303ZE/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F303ZE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F412ZG/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F412ZG/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F429ZI/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F429ZI/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F446ZE/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F446ZE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F746ZG/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F746ZG/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F767ZI/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_F767ZI/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO144_H743ZI/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO144_H743ZI/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO32_F031K6/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO32_F031K6/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO32_F042K6/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO32_F042K6/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO32_F303K8/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO32_F303K8/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO32_L011K4/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO32_L011K4/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO32_L031K6/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO32_L031K6/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO32_L432KC/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO32_L432KC/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F030R8/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F030R8/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F070RB/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F070RB/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F072RB/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F072RB/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F091RC/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F091RC/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F103RB/board.c98
-rw-r--r--os/hal/boards/ST_NUCLEO64_F103RB/board.h520
-rw-r--r--os/hal/boards/ST_NUCLEO64_F302R8/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F302R8/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F303RE/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F303RE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F334R8/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F334R8/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F401RE/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F401RE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F410RB/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F410RB/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F411RE/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F411RE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F446RE/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_F446RE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L053R8/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L053R8/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L073RZ/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L073RZ/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L152RE/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L152RE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L476RG/board.c2
-rw-r--r--os/hal/boards/ST_NUCLEO64_L476RG/board.h2
-rw-r--r--os/hal/boards/ST_STM3210C_EVAL/board.c2
-rw-r--r--os/hal/boards/ST_STM3210C_EVAL/board.h2
-rw-r--r--os/hal/boards/ST_STM3210E_EVAL/board.c2
-rw-r--r--os/hal/boards/ST_STM3210E_EVAL/board.h2
-rw-r--r--os/hal/boards/ST_STM3220G_EVAL/board.c2
-rw-r--r--os/hal/boards/ST_STM3220G_EVAL/board.h2
-rw-r--r--os/hal/boards/ST_STM32373C_EVAL/board.c2
-rw-r--r--os/hal/boards/ST_STM32373C_EVAL/board.h2
-rw-r--r--os/hal/boards/ST_STM32F072B_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F072B_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F0_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F0_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F2_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F2_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F334_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F334_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F3_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F3_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.c2
-rw-r--r--os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.h2
-rw-r--r--os/hal/boards/ST_STM32F401C_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F401C_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F429I_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F429I_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F469I_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F469I_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F4_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32F4_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F746G_DISCOVERY/board.c8
-rw-r--r--os/hal/boards/ST_STM32F746G_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32F769I_DISCOVERY/board.c8
-rw-r--r--os/hal/boards/ST_STM32F769I_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32L053_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32L053_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32L476_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32L476_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32L_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32L_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM32VL_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM32VL_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM8L_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM8L_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/ST_STM8S_DISCOVERY/board.c2
-rw-r--r--os/hal/boards/ST_STM8S_DISCOVERY/board.h2
-rw-r--r--os/hal/boards/simulator/board.c2
-rw-r--r--os/hal/boards/simulator/board.h2
-rw-r--r--os/hal/dox/accelerometer.dox2
-rw-r--r--os/hal/dox/adc.dox2
-rw-r--r--os/hal/dox/barometer.dox2
-rw-r--r--os/hal/dox/can.dox2
-rw-r--r--os/hal/dox/compass.dox2
-rw-r--r--os/hal/dox/dac.dox2
-rw-r--r--os/hal/dox/ext.dox2
-rw-r--r--os/hal/dox/flash.dox2
-rw-r--r--os/hal/dox/gpt.dox2
-rw-r--r--os/hal/dox/gyro.dox2
-rw-r--r--os/hal/dox/hal.dox2
-rw-r--r--os/hal/dox/hal_buffers.dox2
-rw-r--r--os/hal/dox/hal_channels.dox2
-rw-r--r--os/hal/dox/hal_files.dox2
-rw-r--r--os/hal/dox/hal_ioblock.dox2
-rw-r--r--os/hal/dox/hal_peripherals.dox2
-rw-r--r--os/hal/dox/hal_queues.dox2
-rw-r--r--os/hal/dox/hal_streams.dox2
-rw-r--r--os/hal/dox/hygrometer.dox2
-rw-r--r--os/hal/dox/i2c.dox2
-rw-r--r--os/hal/dox/i2s.dox2
-rw-r--r--os/hal/dox/icu.dox2
-rw-r--r--os/hal/dox/jesd216flash.dox2
-rw-r--r--os/hal/dox/mac.dox2
-rw-r--r--os/hal/dox/main.dox2
-rw-r--r--os/hal/dox/mii.dox2
-rw-r--r--os/hal/dox/mmc_spi.dox2
-rw-r--r--os/hal/dox/mmcsd.dox2
-rw-r--r--os/hal/dox/norflash.dox2
-rw-r--r--os/hal/dox/pal.dox2
-rw-r--r--os/hal/dox/pwm.dox2
-rwxr-xr-xos/hal/dox/qspi.dox2
-rw-r--r--os/hal/dox/rtc.dox2
-rw-r--r--os/hal/dox/sdc.dox2
-rw-r--r--os/hal/dox/sensor.dox2
-rw-r--r--os/hal/dox/serial.dox2
-rw-r--r--os/hal/dox/serial_usb.dox2
-rw-r--r--os/hal/dox/spi.dox2
-rw-r--r--os/hal/dox/st.dox2
-rw-r--r--os/hal/dox/thermometer.dox2
-rw-r--r--os/hal/dox/uart.dox2
-rw-r--r--os/hal/dox/usb.dox2
-rw-r--r--os/hal/dox/usb_cdc.dox2
-rw-r--r--os/hal/dox/wdg.dox2
-rw-r--r--os/hal/include/hal.h2
-rw-r--r--os/hal/include/hal_adc.h2
-rw-r--r--os/hal/include/hal_buffers.h2
-rw-r--r--os/hal/include/hal_can.h2
-rw-r--r--os/hal/include/hal_channels.h2
-rw-r--r--os/hal/include/hal_crypto.h2
-rw-r--r--os/hal/include/hal_dac.h2
-rw-r--r--os/hal/include/hal_ext.h2
-rw-r--r--os/hal/include/hal_files.h2
-rw-r--r--os/hal/include/hal_gpt.h2
-rw-r--r--os/hal/include/hal_i2c.h2
-rw-r--r--os/hal/include/hal_i2s.h2
-rw-r--r--os/hal/include/hal_icu.h2
-rw-r--r--os/hal/include/hal_ioblock.h2
-rw-r--r--os/hal/include/hal_mac.h2
-rw-r--r--os/hal/include/hal_mii.h2
-rw-r--r--os/hal/include/hal_mmc_spi.h2
-rw-r--r--os/hal/include/hal_mmcsd.h2
-rw-r--r--os/hal/include/hal_pal.h2
-rw-r--r--os/hal/include/hal_pwm.h2
-rw-r--r--os/hal/include/hal_qspi.h2
-rw-r--r--os/hal/include/hal_queues.h2
-rw-r--r--os/hal/include/hal_rtc.h2
-rw-r--r--os/hal/include/hal_sdc.h2
-rw-r--r--os/hal/include/hal_serial.h2
-rw-r--r--os/hal/include/hal_serial_usb.h2
-rw-r--r--os/hal/include/hal_spi.h2
-rw-r--r--os/hal/include/hal_st.h2
-rw-r--r--os/hal/include/hal_streams.h2
-rw-r--r--os/hal/include/hal_uart.h2
-rw-r--r--os/hal/include/hal_usb.h2
-rw-r--r--os/hal/include/hal_usb_cdc.h2
-rw-r--r--os/hal/include/hal_wdg.h2
-rw-r--r--os/hal/lib/fallback/I2C/hal_i2c_lld.c2
-rw-r--r--os/hal/lib/fallback/I2C/hal_i2c_lld.h2
-rw-r--r--os/hal/lib/peripherals/displays/hal_displays.h2
-rw-r--r--os/hal/lib/peripherals/flash/hal_flash.c2
-rw-r--r--os/hal/lib/peripherals/flash/hal_flash.h2
-rw-r--r--os/hal/lib/peripherals/flash/hal_jesd216_flash.c2
-rw-r--r--os/hal/lib/peripherals/flash/hal_jesd216_flash.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_accelerometer.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_barometer.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_compass.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_gyroscope.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_hygrometer.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_sensors.h2
-rw-r--r--os/hal/lib/peripherals/sensors/hal_thermometer.h2
-rw-r--r--os/hal/lib/streams/chprintf.c2
-rw-r--r--os/hal/lib/streams/chprintf.h2
-rw-r--r--os/hal/lib/streams/memstreams.c2
-rw-r--r--os/hal/lib/streams/memstreams.h2
-rw-r--r--os/hal/lib/streams/nullstreams.c2
-rw-r--r--os/hal/lib/streams/nullstreams.h2
-rw-r--r--os/hal/osal/lib/osal_vt.c2
-rw-r--r--os/hal/osal/lib/osal_vt.h2
-rw-r--r--os/hal/osal/nil/osal.c2
-rw-r--r--os/hal/osal/nil/osal.h2
-rw-r--r--os/hal/osal/os-less/ARMCMx/osal.c2
-rw-r--r--os/hal/osal/os-less/ARMCMx/osal.h2
-rw-r--r--os/hal/osal/os-less/AVR/osal.c2
-rw-r--r--os/hal/osal/os-less/AVR/osal.h2
-rw-r--r--os/hal/osal/rt/osal.c2
-rw-r--r--os/hal/osal/rt/osal.h2
-rw-r--r--os/hal/ports/AVR/MEGA/ATMEGAxx/avr_pins.h2
-rw-r--r--os/hal/ports/AVR/MEGA/ATMEGAxx/avr_timers.h2
-rw-r--r--os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.h2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.c2
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.h2
-rw-r--r--os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.c2
-rw-r--r--os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.h2
-rw-r--r--os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.c2
-rw-r--r--os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.h2
-rw-r--r--os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.c2
-rw-r--r--os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h2
-rw-r--r--os/hal/ports/AVR/TINY/LLD/avr_pins.h2
-rw-r--r--os/hal/ports/AVR/TINY/LLD/avr_timers.h2
-rw-r--r--os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.c2
-rw-r--r--os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.h2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_lld.c2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_lld.h2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_pal_lld.c2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_pal_lld.h2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_serial_lld.c2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_serial_lld.h2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_spi_lld.c2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_spi_lld.h2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_st_lld.c2
-rw-r--r--os/hal/ports/LPC/LPC214x/hal_st_lld.h2
-rw-r--r--os/hal/ports/LPC/LPC214x/vic.c2
-rw-r--r--os/hal/ports/LPC/LPC214x/vic.h2
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.c22
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c2
-rw-r--r--os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h2
-rw-r--r--os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.h2
-rw-r--r--os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.c2
-rw-r--r--os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/aic.c2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/aic.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.c22
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_lld.c2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_lld.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.c2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_cache.c130
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_cache.h86
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_matrix.c2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h682
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_registry.h2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c2
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_secumod.h1108
-rw-r--r--os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.c2
-rw-r--r--os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.h2
-rw-r--r--os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv1/stm32_dma.c2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv2/stm32_dma.c2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h2
-rw-r--r--os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv2/stm32_gpio.h2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv3/stm32_gpio.h2
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.c2
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.h2
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h2
-rw-r--r--os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h2
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/stm32_usb.h2
-rw-r--r--os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F0xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F0xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_adc_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_adc_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld_f103.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32F1xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32F37x/hal_adc_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F37x/hal_adc_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F37x/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F37x/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F37x/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32F37x/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32F37x/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32F37x/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32F3xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F3xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32F7xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32F7xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F7xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32F7xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32F7xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32F7xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32H7xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32H7xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32H7xx/stm32_dmamux.h2
-rw-r--r--os/hal/ports/STM32/STM32H7xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32H7xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32H7xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32H7xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/hal_adc_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/platform.dox2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_registry.h2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/hal_lld.c2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_isr.h2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_rcc.h2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_registry.h2
-rw-r--r--os/hal/ports/common/ARMCMx/cache.h2
-rw-r--r--os/hal/ports/common/ARMCMx/mpu_v7m.h2
-rw-r--r--os/hal/ports/common/ARMCMx/nvic.c2
-rw-r--r--os/hal/ports/common/ARMCMx/nvic.h2
-rw-r--r--os/hal/ports/simulator/console.c2
-rw-r--r--os/hal/ports/simulator/console.h2
-rw-r--r--os/hal/ports/simulator/hal_pal_lld.c2
-rw-r--r--os/hal/ports/simulator/hal_pal_lld.h2
-rw-r--r--os/hal/ports/simulator/hal_st_lld.c2
-rw-r--r--os/hal/ports/simulator/hal_st_lld.h2
-rwxr-xr-xos/hal/ports/simulator/posix/hal_lld.c2
-rwxr-xr-xos/hal/ports/simulator/posix/hal_lld.h2
-rwxr-xr-xos/hal/ports/simulator/posix/hal_serial_lld.c2
-rwxr-xr-xos/hal/ports/simulator/posix/hal_serial_lld.h2
-rw-r--r--os/hal/ports/simulator/win32/hal_lld.c2
-rw-r--r--os/hal/ports/simulator/win32/hal_lld.h2
-rw-r--r--os/hal/ports/simulator/win32/hal_serial_lld.c2
-rw-r--r--os/hal/ports/simulator/win32/hal_serial_lld.h2
-rw-r--r--os/hal/src/hal.c2
-rw-r--r--os/hal/src/hal_adc.c2
-rw-r--r--os/hal/src/hal_buffers.c2
-rw-r--r--os/hal/src/hal_can.c2
-rw-r--r--os/hal/src/hal_crypto.c2
-rw-r--r--os/hal/src/hal_dac.c2
-rw-r--r--os/hal/src/hal_ext.c2
-rw-r--r--os/hal/src/hal_gpt.c2
-rw-r--r--os/hal/src/hal_i2c.c2
-rw-r--r--os/hal/src/hal_i2s.c2
-rw-r--r--os/hal/src/hal_icu.c2
-rw-r--r--os/hal/src/hal_mac.c2
-rw-r--r--os/hal/src/hal_mmc_spi.c2
-rw-r--r--os/hal/src/hal_mmcsd.c2
-rw-r--r--os/hal/src/hal_pal.c2
-rw-r--r--os/hal/src/hal_pwm.c2
-rw-r--r--os/hal/src/hal_qspi.c2
-rw-r--r--os/hal/src/hal_queues.c2
-rw-r--r--os/hal/src/hal_rtc.c2
-rw-r--r--os/hal/src/hal_sdc.c2
-rw-r--r--os/hal/src/hal_serial.c2
-rw-r--r--os/hal/src/hal_serial_usb.c2
-rw-r--r--os/hal/src/hal_spi.c2
-rw-r--r--os/hal/src/hal_st.c2
-rw-r--r--os/hal/src/hal_uart.c2
-rw-r--r--os/hal/src/hal_usb.c2
-rw-r--r--os/hal/src/hal_wdg.c2
-rw-r--r--os/hal/templates/board/board.c2
-rw-r--r--os/hal/templates/board/board.h2
-rw-r--r--os/hal/templates/hal_adc_lld.c2
-rw-r--r--os/hal/templates/hal_adc_lld.h2
-rw-r--r--os/hal/templates/hal_can_lld.c2
-rw-r--r--os/hal/templates/hal_can_lld.h2
-rw-r--r--os/hal/templates/hal_crypto_lld.c2
-rw-r--r--os/hal/templates/hal_crypto_lld.h2
-rw-r--r--os/hal/templates/hal_dac_lld.c2
-rw-r--r--os/hal/templates/hal_dac_lld.h2
-rw-r--r--os/hal/templates/hal_ext_lld.c2
-rw-r--r--os/hal/templates/hal_ext_lld.h2
-rw-r--r--os/hal/templates/hal_gpt_lld.c2
-rw-r--r--os/hal/templates/hal_gpt_lld.h2
-rw-r--r--os/hal/templates/hal_i2c_lld.c2
-rw-r--r--os/hal/templates/hal_i2c_lld.h2
-rw-r--r--os/hal/templates/hal_i2s_lld.c2
-rw-r--r--os/hal/templates/hal_i2s_lld.h2
-rw-r--r--os/hal/templates/hal_icu_lld.c2
-rw-r--r--os/hal/templates/hal_icu_lld.h2
-rw-r--r--os/hal/templates/hal_lld.c2
-rw-r--r--os/hal/templates/hal_lld.h2
-rw-r--r--os/hal/templates/hal_mac_lld.c2
-rw-r--r--os/hal/templates/hal_mac_lld.h2
-rw-r--r--os/hal/templates/hal_pal_lld.c2
-rw-r--r--os/hal/templates/hal_pal_lld.h2
-rw-r--r--os/hal/templates/hal_pwm_lld.c2
-rw-r--r--os/hal/templates/hal_pwm_lld.h2
-rw-r--r--os/hal/templates/hal_qspi_lld.c2
-rw-r--r--os/hal/templates/hal_qspi_lld.h2
-rw-r--r--os/hal/templates/hal_rtc_lld.c2
-rw-r--r--os/hal/templates/hal_rtc_lld.h2
-rw-r--r--os/hal/templates/hal_sdc_lld.c2
-rw-r--r--os/hal/templates/hal_sdc_lld.h2
-rw-r--r--os/hal/templates/hal_serial_lld.c2
-rw-r--r--os/hal/templates/hal_serial_lld.h2
-rw-r--r--os/hal/templates/hal_spi_lld.c2
-rw-r--r--os/hal/templates/hal_spi_lld.h2
-rw-r--r--os/hal/templates/hal_st_lld.c2
-rw-r--r--os/hal/templates/hal_st_lld.h2
-rw-r--r--os/hal/templates/hal_uart_lld.c2
-rw-r--r--os/hal/templates/hal_uart_lld.h2
-rw-r--r--os/hal/templates/hal_usb_lld.c2
-rw-r--r--os/hal/templates/hal_usb_lld.h2
-rw-r--r--os/hal/templates/hal_wdg_lld.c2
-rw-r--r--os/hal/templates/hal_wdg_lld.h2
-rw-r--r--os/hal/templates/halconf.h2
-rw-r--r--os/hal/templates/mcuconf.h2
-rw-r--r--os/hal/templates/osal/osal.c2
-rw-r--r--os/hal/templates/osal/osal.h2
-rw-r--r--os/nil/templates/chconf.h2
-rw-r--r--os/rt/templates/chconf.h2
-rw-r--r--os/various/cpp_wrappers/ch.cpp2
-rw-r--r--os/various/cpp_wrappers/ch.hpp2
-rw-r--r--os/various/evtimer.c2
-rw-r--r--os/various/evtimer.h2
-rw-r--r--os/various/fatfs_bindings/fatfs_syscall.c2
-rw-r--r--os/various/lwip_bindings/arch/cc.h2
-rw-r--r--os/various/lwip_bindings/arch/perf.h2
-rw-r--r--os/various/lwip_bindings/arch/sys_arch.c2
-rw-r--r--os/various/lwip_bindings/arch/sys_arch.h2
-rw-r--r--os/various/lwip_bindings/lwipthread.c2
-rw-r--r--os/various/lwip_bindings/lwipthread.h2
-rw-r--r--os/various/lwip_bindings/static_lwipopts.h2
-rw-r--r--os/various/shell/shell.c2
-rw-r--r--os/various/shell/shell.h2
-rw-r--r--os/various/shell/shell_cmd.c2
-rw-r--r--os/various/shell/shell_cmd.h2
-rw-r--r--os/various/syscalls.c2
-rw-r--r--os/various/various.dox2
-rw-r--r--os/various/wolfssl_bindings/hwrng.c160
-rw-r--r--os/various/wolfssl_bindings/wolfssl_chibios.c504
-rw-r--r--os/various/wolfssl_bindings/wolfssl_chibios.h138
-rw-r--r--test/crypto/source/test/cry_test_root.c2
-rw-r--r--test/crypto/source/test/cry_test_root.h2
-rw-r--r--test/crypto/source/test/cry_test_sequence_001.c2
-rw-r--r--test/crypto/source/test/cry_test_sequence_001.h2
-rw-r--r--test/crypto/source/test/cry_test_sequence_002.c2
-rw-r--r--test/crypto/source/test/cry_test_sequence_002.h2
-rw-r--r--test/crypto/source/test/cry_test_sequence_003.c2
-rw-r--r--test/crypto/source/test/cry_test_sequence_003.h2
-rw-r--r--test/crypto/source/test/cry_test_sequence_004.c2
-rw-r--r--test/crypto/source/test/cry_test_sequence_004.h2
-rw-r--r--test/crypto/source/test/cry_test_sequence_005.c2
-rw-r--r--test/crypto/source/test/cry_test_sequence_005.h2
-rw-r--r--test/crypto/source/test/cry_test_sequence_006.c2
-rw-r--r--test/crypto/source/test/cry_test_sequence_006.h2
-rw-r--r--test/crypto/source/test/cry_test_sequence_007.c2
-rw-r--r--test/crypto/source/test/cry_test_sequence_007.h2
-rw-r--r--test/crypto/source/testref/ref_aes.c2
-rw-r--r--test/crypto/source/testref/ref_aes.h2
-rw-r--r--test/crypto/source/testref/ref_des.c2
-rw-r--r--test/crypto/source/testref/ref_des.h2
-rw-r--r--test/crypto/source/testref/ref_sha.c2
-rw-r--r--test/crypto/source/testref/ref_sha.h2
-rw-r--r--test/hal/testbuild/main.c2
-rw-r--r--test/lib/ch_test.c2
-rw-r--r--test/lib/ch_test.h2
-rw-r--r--test/mfs/source/test/mfs_test_root.c2
-rw-r--r--test/mfs/source/test/mfs_test_root.h2
-rw-r--r--test/mfs/source/test/mfs_test_sequence_001.c2
-rw-r--r--test/mfs/source/test/mfs_test_sequence_001.h2
-rw-r--r--test/mfs/source/test/mfs_test_sequence_002.c2
-rw-r--r--test/mfs/source/test/mfs_test_sequence_002.h2
-rw-r--r--test/nil/source/test/nil_test_root.c2
-rw-r--r--test/nil/source/test/nil_test_root.h2
-rw-r--r--test/nil/source/test/nil_test_sequence_001.c2
-rw-r--r--test/nil/source/test/nil_test_sequence_001.h2
-rw-r--r--test/nil/source/test/nil_test_sequence_002.c2
-rw-r--r--test/nil/source/test/nil_test_sequence_002.h2
-rw-r--r--test/nil/source/test/nil_test_sequence_003.c2
-rw-r--r--test/nil/source/test/nil_test_sequence_003.h2
-rw-r--r--test/nil/source/test/nil_test_sequence_004.c2
-rw-r--r--test/nil/source/test/nil_test_sequence_004.h2
-rw-r--r--test/nil/testbuild/chconf.h2
-rw-r--r--test/nil/testbuild/main.c2
-rw-r--r--test/oslib/source/test/oslib_test_root.c2
-rw-r--r--test/oslib/source/test/oslib_test_root.h2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_001.c2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_001.h2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_002.c2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_002.h2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_003.c2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_003.h2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_004.c2
-rw-r--r--test/oslib/source/test/oslib_test_sequence_004.h2
-rw-r--r--test/rt/source/test/rt_test_root.c2
-rw-r--r--test/rt/source/test/rt_test_root.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_001.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_001.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_002.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_002.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_003.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_003.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_004.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_004.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_005.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_005.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_006.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_006.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_007.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_007.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_008.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_008.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_009.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_009.h2
-rw-r--r--test/rt/source/test/rt_test_sequence_010.c2
-rw-r--r--test/rt/source/test/rt_test_sequence_010.h2
-rw-r--r--test/rt/testbuild/chconf.h8
-rw-r--r--test/rt/testbuild/halconf.h2
-rw-r--r--test/rt/testbuild/main.c2
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h2
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h2
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c2
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/mcuconf.h2
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.c2
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/main.c2
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/mcuconf.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.c2
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-N25Q128/main.c2
-rw-r--r--testex/STM32/STM32F3xx/SPI-N25Q128/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-BMP085/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-BMP085/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-BMP085/main.c2
-rw-r--r--testex/STM32/STM32F4xx/I2C-BMP085/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-HTS221/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-HTS221/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-HTS221/main.c2
-rw-r--r--testex/STM32/STM32F4xx/I2C-HTS221/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MLD/main.c2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MLD/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/main.c2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c4
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DS0/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/main.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/main.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/main.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/mcuconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LIS3MLD/halconf.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LIS3MLD/mcuconf.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LSM6DS0/halconf.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LSM6DS0/main.c4
-rw-r--r--testex/STM32/STM32L4xx/I2C-LSM6DS0/mcuconf.h2
-rw-r--r--testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h2
-rw-r--r--testex/STM32/STM32L4xx/QSPI-N25Q128/main.c2
-rw-r--r--testex/STM32/STM32L4xx/QSPI-N25Q128/mcuconf.h2
-rw-r--r--testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h2
-rw-r--r--testex/STM32/STM32L4xx/SPI-L3GD20/main.c2
-rw-r--r--testex/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h2
-rwxr-xr-xtesthal/ATSAMA5D2/MATRIX/chconf.h2
-rw-r--r--testhal/ATSAMA5D2/MATRIX/halconf.h2
-rw-r--r--testhal/ATSAMA5D2/MATRIX/mcuconf.h2
-rw-r--r--testhal/ATSAMA5D2/SDMMC/chconf.h2
-rw-r--r--testhal/ATSAMA5D2/SDMMC/halconf.h2
-rw-r--r--testhal/ATSAMA5D2/SDMMC/main.c346
-rw-r--r--testhal/ATSAMA5D2/SDMMC/mcuconf.h2
-rwxr-xr-xtesthal/ATSAMA5D2/SECUMOD/chconf.h2
-rw-r--r--testhal/ATSAMA5D2/SECUMOD/halconf.h2
-rwxr-xr-xtesthal/ATSAMA5D2/SECUMOD/main.c474
-rw-r--r--testhal/ATSAMA5D2/SECUMOD/mcuconf.h2
-rwxr-xr-xtesthal/ATSAMA5D2/SERIAL/chconf.h2
-rw-r--r--testhal/ATSAMA5D2/SERIAL/halconf.h2
-rwxr-xr-xtesthal/ATSAMA5D2/SERIAL/main.c2
-rw-r--r--testhal/ATSAMA5D2/SERIAL/mcuconf.h2
-rw-r--r--testhal/ATSAMA5D2/SPI/chconf.h2
-rw-r--r--testhal/ATSAMA5D2/SPI/halconf.h2
-rw-r--r--testhal/ATSAMA5D2/SPI/main.c2
-rw-r--r--testhal/ATSAMA5D2/SPI/mcuconf.h2
-rwxr-xr-xtesthal/ATSAMA5D2/TC/chconf.h2
-rw-r--r--testhal/ATSAMA5D2/TC/halconf.h2
-rwxr-xr-xtesthal/ATSAMA5D2/TC/main.c156
-rw-r--r--testhal/ATSAMA5D2/TC/mcuconf.h2
-rw-r--r--testhal/ATSAMA5D2/UART/chconf.h2
-rw-r--r--testhal/ATSAMA5D2/UART/halconf.h2
-rw-r--r--testhal/ATSAMA5D2/UART/main.c2
-rw-r--r--testhal/ATSAMA5D2/UART/mcuconf.h2
-rw-r--r--testhal/AVR/MEGA/ADC/chconf.h2
-rw-r--r--testhal/AVR/MEGA/ADC/halconf.h2
-rw-r--r--testhal/AVR/MEGA/ADC/mcuconf.h230
-rw-r--r--testhal/AVR/MEGA/EXT/chconf.h2
-rw-r--r--testhal/AVR/MEGA/EXT/halconf.h2
-rw-r--r--testhal/AVR/MEGA/EXT/mcuconf.h230
-rw-r--r--testhal/AVR/MEGA/GPT/chconf.h2
-rw-r--r--testhal/AVR/MEGA/GPT/halconf.h2
-rw-r--r--testhal/AVR/MEGA/GPT/main.c2
-rw-r--r--testhal/AVR/MEGA/GPT/mcuconf.h230
-rw-r--r--testhal/AVR/MEGA/I2C/chconf.h2
-rw-r--r--testhal/AVR/MEGA/I2C/halconf.h2
-rw-r--r--testhal/AVR/MEGA/I2C/main.c2
-rw-r--r--testhal/AVR/MEGA/I2C/mcuconf.h230
-rw-r--r--testhal/AVR/MEGA/ICU/chconf.h2
-rw-r--r--testhal/AVR/MEGA/ICU/halconf.h2
-rw-r--r--testhal/AVR/MEGA/ICU/main.c2
-rw-r--r--testhal/AVR/MEGA/ICU/mcuconf.h230
-rw-r--r--testhal/AVR/MEGA/PWM/chconf.h2
-rw-r--r--testhal/AVR/MEGA/PWM/halconf.h2
-rw-r--r--testhal/AVR/MEGA/PWM/main.c2
-rw-r--r--testhal/AVR/MEGA/PWM/mcuconf.h230
-rw-r--r--testhal/AVR/MEGA/SPI/chconf.h2
-rw-r--r--testhal/AVR/MEGA/SPI/halconf.h2
-rw-r--r--testhal/AVR/MEGA/SPI/mcuconf.h230
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h230
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h230
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h230
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h230
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h2
-rw-r--r--testhal/STM32/STM32F0xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/ADC/main.c2
-rw-r--r--testhal/STM32/STM32F0xx/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/CAN/halconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/CAN/main.c2
-rw-r--r--testhal/STM32/STM32F0xx/CAN/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32F0xx/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32F0xx/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/halconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/main.c2
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/usbcfg.h2
-rw-r--r--testhal/STM32/STM32F0xx/WDG/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/WDG/halconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/WDG/main.c2
-rw-r--r--testhal/STM32/STM32F0xx/WDG/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/ADC/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/CAN/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/CAN/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/CAN/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/fake.c2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/fake.h2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/lis3.c2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/lis3.h2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/RTC/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/RTC/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/RTC/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/RTC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/SPI/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/SPI/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/SPI/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/UART/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/UART/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/UART/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/usbcfg.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/main.c2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h2
-rwxr-xr-xtesthal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c2
-rwxr-xr-xtesthal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.h2
-rw-r--r--testhal/STM32/STM32F2xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32F2xx/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/halconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/main.c2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/usbcfg.h2
-rw-r--r--testhal/STM32/STM32F37x/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/ADC/main.c2
-rw-r--r--testhal/STM32/STM32F37x/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/CAN/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/CAN/main.c2
-rw-r--r--testhal/STM32/STM32F37x/CAN/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/I2C/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/I2C/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/I2C/main.c2
-rw-r--r--testhal/STM32/STM32F37x/I2C/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SDADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SDADC/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SDADC/main.c2
-rw-r--r--testhal/STM32/STM32F37x/SDADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SPI/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SPI/main.c2
-rw-r--r--testhal/STM32/STM32F37x/SPI/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/UART/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/UART/main.c2
-rw-r--r--testhal/STM32/STM32F37x/UART/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/halconf.h2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/main.c2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/usbcfg.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC_DUAL/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/CAN/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/CAN/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/CAN/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/DAC/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/DAC/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/DAC/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/DAC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.h2
-rw-r--r--testhal/STM32/STM32F3xx/WDG/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/WDG/halconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/WDG/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/WDG/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/ADC/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/CAN/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/CAN/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/CAN/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/DAC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC_DUAL/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/DAC_DUAL/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DMA_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DMA_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DMA_STORM/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/DMA_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/GPT/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/GPT/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/GPT/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/GPT/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2C/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2C/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2C/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/I2C/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2S/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2S/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2S/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/I2S/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/extfunc.c2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/RTC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/RTC/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/RTC/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/RTC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/SDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/SDC/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/SDC/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/SDC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.h2
-rw-r--r--testhal/STM32/STM32F4xx/WDG/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/WDG/halconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/WDG/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/WDG/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/GPT-ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/GPT-ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/GPT-ADC/main.c2
-rw-r--r--testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/SPI/halconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/SPI/main.c2
-rw-r--r--testhal/STM32/STM32F7xx/SPI/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/halconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/main.c2
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/usbcfg.h2
-rw-r--r--testhal/STM32/STM32L0xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/ADC/main.c2
-rw-r--r--testhal/STM32/STM32L0xx/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/SPI/halconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/SPI/main.c2
-rw-r--r--testhal/STM32/STM32L0xx/SPI/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/halconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/main.c2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/usbcfg.h2
-rw-r--r--testhal/STM32/STM32L1xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/ADC/main.c2
-rw-r--r--testhal/STM32/STM32L1xx/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/DAC/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/DAC/halconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/DAC/main.c2
-rw-r--r--testhal/STM32/STM32L1xx/DAC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/PWM-ICU/halconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/PWM-ICU/main.c2
-rw-r--r--testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/SPI/halconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/SPI/main.c2
-rw-r--r--testhal/STM32/STM32L1xx/SPI/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/UART/halconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/UART/main.c2
-rw-r--r--testhal/STM32/STM32L1xx/UART/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/ADC/main.c2
-rw-r--r--testhal/STM32/STM32L4xx/ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/CAN/halconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/CAN/main.c2
-rw-r--r--testhal/STM32/STM32L4xx/CAN/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/GPT-ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/GPT-ADC/halconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/GPT-ADC/main.c2
-rw-r--r--testhal/STM32/STM32L4xx/GPT-ADC/mcuconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/IRQ_STORM/main.c2
-rw-r--r--testhal/STM32/STM32L4xx/IRQ_STORM/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f103_olimex/halconf.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32f103_olimex/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f303_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f373_eval/halconf.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32f373_eval/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f429_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f429_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f746_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f746_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l053_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l053_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l151_discovery/halconf.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32l151_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l476_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/PAL/main.c2
-rw-r--r--testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/QSPI-MFS/main.c2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/halconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/mcuconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.c2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f303_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f303_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f303_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f407_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f407_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f407_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/chconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/halconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/mcuconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.c2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.h2
-rwxr-xr-xtesthal/STM32/multi/SPI/main.c2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/chconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/mcuconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f303_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f303_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f303_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f407_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f407_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f407_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f746_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f746_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f746_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/UART/main.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/halconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/mcuconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/main.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/source/usbcfg.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/source/usbcfg.h2
-rw-r--r--testhal/common/irq_storm.c2
-rw-r--r--testhal/common/irq_storm.h2
1961 files changed, 12679 insertions, 12679 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/chconf.h
index 0585ef55e..8093b6f33 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/chconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h
index 16a009547..4ebc0e846 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h
index b4639f65e..fcdb66611 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/static_lwipopts.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/static_lwipopts.h
index a59d4b41a..956e7176f 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/static_lwipopts.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/static_lwipopts.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.c
index 33e39651c..c431d0703 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.h
index a15422eac..d9c4d5586 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/lwipthread.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/main.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/main.c
index ee1e5381b..acf589b49 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/main.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOSch_ - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.c
index 736589b3c..9756b5a5e 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.h
index e1d48379a..edcd62ae3 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/web/web.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h
index e467462d3..e7938699a 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h
index b534118ae..ffe70f76c 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/main.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/main.c
index 0b21f67c1..87d96c25c 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/main.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/mcuconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/mcuconf.h
index 7d587c117..324e467e4 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/mcuconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/chconf.h
index 0585ef55e..8093b6f33 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/chconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h
index b534118ae..ffe70f76c 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c
index 70529463e..1559deb93 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/mcuconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/mcuconf.h
index 6d68e4744..4af515d48 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/mcuconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h
index f61dc3f3e..49b16647b 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h
index b534118ae..ffe70f76c 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c
index 67442d860..57e6a72dc 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h
index 875ab2d89..ded7174eb 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h
index 64ed5c174..53da0c6ed 100644
--- a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-MEGA/halconf.h b/demos/AVR/NIL-ARDUINO-MEGA/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/NIL-ARDUINO-MEGA/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-MEGA/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-MEGA/main.c b/demos/AVR/NIL-ARDUINO-MEGA/main.c
index ea1b470c4..c36bbd675 100644
--- a/demos/AVR/NIL-ARDUINO-MEGA/main.c
+++ b/demos/AVR/NIL-ARDUINO-MEGA/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-MEGA/mcuconf.h b/demos/AVR/NIL-ARDUINO-MEGA/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/NIL-ARDUINO-MEGA/mcuconf.h
+++ b/demos/AVR/NIL-ARDUINO-MEGA/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/NIL-ARDUINO-MINI/chconf.h b/demos/AVR/NIL-ARDUINO-MINI/chconf.h
index c52704ba7..3f065219b 100644
--- a/demos/AVR/NIL-ARDUINO-MINI/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-MINI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-MINI/halconf.h b/demos/AVR/NIL-ARDUINO-MINI/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/NIL-ARDUINO-MINI/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-MINI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-MINI/main.c b/demos/AVR/NIL-ARDUINO-MINI/main.c
index ea1b470c4..c36bbd675 100644
--- a/demos/AVR/NIL-ARDUINO-MINI/main.c
+++ b/demos/AVR/NIL-ARDUINO-MINI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-MINI/mcuconf.h b/demos/AVR/NIL-ARDUINO-MINI/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/NIL-ARDUINO-MINI/mcuconf.h
+++ b/demos/AVR/NIL-ARDUINO-MINI/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/NIL-ARDUINO-NANO/chconf.h b/demos/AVR/NIL-ARDUINO-NANO/chconf.h
index 64ed5c174..53da0c6ed 100644
--- a/demos/AVR/NIL-ARDUINO-NANO/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-NANO/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-NANO/halconf.h b/demos/AVR/NIL-ARDUINO-NANO/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/NIL-ARDUINO-NANO/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-NANO/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-NANO/main.c b/demos/AVR/NIL-ARDUINO-NANO/main.c
index ea1b470c4..c36bbd675 100644
--- a/demos/AVR/NIL-ARDUINO-NANO/main.c
+++ b/demos/AVR/NIL-ARDUINO-NANO/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-NANO/mcuconf.h b/demos/AVR/NIL-ARDUINO-NANO/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/NIL-ARDUINO-NANO/mcuconf.h
+++ b/demos/AVR/NIL-ARDUINO-NANO/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/NIL-ARDUINO-UNO/chconf.h b/demos/AVR/NIL-ARDUINO-UNO/chconf.h
index 64ed5c174..53da0c6ed 100644
--- a/demos/AVR/NIL-ARDUINO-UNO/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-UNO/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-UNO/halconf.h b/demos/AVR/NIL-ARDUINO-UNO/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/NIL-ARDUINO-UNO/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-UNO/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-UNO/main.c b/demos/AVR/NIL-ARDUINO-UNO/main.c
index ea1b470c4..c36bbd675 100644
--- a/demos/AVR/NIL-ARDUINO-UNO/main.c
+++ b/demos/AVR/NIL-ARDUINO-UNO/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-ARDUINO-UNO/mcuconf.h b/demos/AVR/NIL-ARDUINO-UNO/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/NIL-ARDUINO-UNO/mcuconf.h
+++ b/demos/AVR/NIL-ARDUINO-UNO/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h
index 51ee2e97d..0e57069c8 100644
--- a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h
+++ b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h b/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h
index 9e7f4496f..ce67025c7 100644
--- a/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h
+++ b/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-DIGISPARK-ATTINY-167/mcuconf.h b/demos/AVR/NIL-DIGISPARK-ATTINY-167/mcuconf.h
index 130c6f71e..82eb2ba26 100644
--- a/demos/AVR/NIL-DIGISPARK-ATTINY-167/mcuconf.h
+++ b/demos/AVR/NIL-DIGISPARK-ATTINY-167/mcuconf.h
@@ -1,121 +1,121 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * UART driver system settings.
- */
-#define AVR_UART_USE_USART1 TRUE
-#define AVR_UART_USE_USART2 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 FALSE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * UART driver system settings.
+ */
+#define AVR_UART_USE_USART1 TRUE
+#define AVR_UART_USE_USART2 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 FALSE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/NIL-MT-DB-X4/chconf.h b/demos/AVR/NIL-MT-DB-X4/chconf.h
index 3b30e3b4c..48f3fe046 100644
--- a/demos/AVR/NIL-MT-DB-X4/chconf.h
+++ b/demos/AVR/NIL-MT-DB-X4/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-MT-DB-X4/halconf.h b/demos/AVR/NIL-MT-DB-X4/halconf.h
index 5a0b013a9..6123f1915 100644
--- a/demos/AVR/NIL-MT-DB-X4/halconf.h
+++ b/demos/AVR/NIL-MT-DB-X4/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/NIL-MT-DB-X4/mcuconf.h b/demos/AVR/NIL-MT-DB-X4/mcuconf.h
index 9a3836408..81bd4355d 100644
--- a/demos/AVR/NIL-MT-DB-X4/mcuconf.h
+++ b/demos/AVR/NIL-MT-DB-X4/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 FALSE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 FALSE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h b/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h b/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h
index 2408c3ff0..5260a288e 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h
@@ -1,380 +1,380 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file templates/halconf.h
- * @brief HAL configuration header.
- * @details HAL configuration file, this file allows to enable or disable the
- * various device drivers from your application. You may also use
- * this file in order to override the device drivers default settings.
- *
- * @addtogroup HAL_CONF
- * @{
- */
-
-#ifndef HALCONF_H
-#define HALCONF_H
-
-#include "mcuconf.h"
-
-/**
- * @brief Enables the TM subsystem.
- */
-#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
-#define HAL_USE_TM FALSE
-#endif
-
-/**
- * @brief Enables the PAL subsystem.
- */
-#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
-#define HAL_USE_PAL TRUE
-#endif
-
-/**
- * @brief Enables the ADC subsystem.
- */
-#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
-#define HAL_USE_ADC FALSE
-#endif
-
-/**
- * @brief Enables the DAC subsystem.
- */
-#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
-#define HAL_USE_DAC FALSE
-#endif
-
-/**
- * @brief Enables the CAN subsystem.
- */
-#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
-#define HAL_USE_CAN FALSE
-#endif
-
-/**
- * @brief Enables the EXT subsystem.
- */
-#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)
-#define HAL_USE_EXT FALSE
-#endif
-
-/**
- * @brief Enables the GPT subsystem.
- */
-#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
-#define HAL_USE_GPT FALSE
-#endif
-
-/**
- * @brief Enables the I2C subsystem.
- */
-#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
-#define HAL_USE_I2C FALSE
-#endif
-
-/**
- * @brief Enables the ICU subsystem.
- */
-#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
-#define HAL_USE_ICU FALSE
-#endif
-
-/**
- * @brief Enables the MAC subsystem.
- */
-#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
-#define HAL_USE_MAC FALSE
-#endif
-
-/**
- * @brief Enables the MMC_SPI subsystem.
- */
-#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
-#define HAL_USE_MMC_SPI FALSE
-#endif
-
-/**
- * @brief Enables the PWM subsystem.
- */
-#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
-#define HAL_USE_PWM FALSE
-#endif
-
-/**
- * @brief Enables the RTC subsystem.
- */
-#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
-#define HAL_USE_RTC FALSE
-#endif
-
-/**
- * @brief Enables the SDC subsystem.
- */
-#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
-#define HAL_USE_SDC FALSE
-#endif
-
-/**
- * @brief Enables the SERIAL subsystem.
- */
-#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL FALSE
-#endif
-
-/**
- * @brief Enables the SERIAL over USB subsystem.
- */
-#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL_USB TRUE
-#endif
-
-/**
- * @brief Enables the SPI subsystem.
- */
-#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
-#define HAL_USE_SPI FALSE
-#endif
-
-/**
- * @brief Enables the UART subsystem.
- */
-#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
-#define HAL_USE_UART FALSE
-#endif
-
-/**
- * @brief Enables the USB subsystem.
- */
-#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
-#define HAL_USE_USB TRUE
-#endif
-
-/**
- * @brief Enables the I2S subsystem.
- */
-#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
-#define HAL_USE_I2S FALSE
-#endif
-
-/**
- * @brief Enables the WDG subsystem.
- */
-#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__)
-#define HAL_USE_WDG FALSE
-#endif
-
-/*===========================================================================*/
-/* ADC driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__)
-#define ADC_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define ADC_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
-/* CAN driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Sleep mode related APIs inclusion switch.
- */
-#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)
-#define CAN_USE_SLEEP_MODE TRUE
-#endif
-
-/*===========================================================================*/
-/* I2C driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables the mutual exclusion APIs on the I2C bus.
- */
-#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define I2C_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
-/* MAC driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables an event sources for incoming packets.
- */
-#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
-#define MAC_USE_ZERO_COPY FALSE
-#endif
-
-/**
- * @brief Enables an event sources for incoming packets.
- */
-#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
-#define MAC_USE_EVENTS TRUE
-#endif
-
-/*===========================================================================*/
-/* MMC_SPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Delays insertions.
- * @details If enabled this options inserts delays into the MMC waiting
- * routines releasing some extra CPU time for the threads with
- * lower priority, this may slow down the driver a bit however.
- * This option is recommended also if the SPI driver does not
- * use a DMA channel and heavily loads the CPU.
- */
-#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
-#define MMC_NICE_WAITING TRUE
-#endif
-
-/*===========================================================================*/
-/* SDC driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Number of initialization attempts before rejecting the card.
- * @note Attempts are performed at 10mS intervals.
- */
-#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
-#define SDC_INIT_RETRY 100
-#endif
-
-/**
- * @brief Include support for MMC cards.
- * @note MMC support is not yet implemented so this option must be kept
- * at @p FALSE.
- */
-#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
-#define SDC_MMC_SUPPORT FALSE
-#endif
-
-/**
- * @brief Delays insertions.
- * @details If enabled this options inserts delays into the MMC waiting
- * routines releasing some extra CPU time for the threads with
- * lower priority, this may slow down the driver a bit however.
- */
-#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
-#define SDC_NICE_WAITING TRUE
-#endif
-
-/*===========================================================================*/
-/* SERIAL driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Default bit rate.
- * @details Configuration parameter, this is the baud rate selected for the
- * default configuration.
- */
-#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)
-#define SERIAL_DEFAULT_BITRATE 38400
-#endif
-
-/**
- * @brief Serial buffers size.
- * @details Configuration parameter, you can change the depth of the queue
- * buffers depending on the requirements of your application.
- * @note The default is 16 bytes for both the transmission and receive
- * buffers.
- */
-#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
-#define SERIAL_BUFFERS_SIZE 16
-#endif
-
-/*===========================================================================*/
-/* SERIAL_USB driver related setting. */
-/*===========================================================================*/
-
-/**
- * @brief Serial over USB buffers size.
- * @details Configuration parameter, the buffer size must be a multiple of
- * the USB data endpoint maximum packet size.
- * @note The default is 256 bytes for both the transmission and receive
- * buffers.
- */
-#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
-#define SERIAL_USB_BUFFERS_SIZE 64
-#endif
-
-/*===========================================================================*/
-/* SPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__)
-#define SPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define SPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
-/* UART driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(UART_USE_WAIT) || defined(__DOXYGEN__)
-#define UART_USE_WAIT FALSE
-#endif
-
-/**
- * @brief Enables the @p uartAcquireBus() and @p uartReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define UART_USE_MUTUAL_EXCLUSION FALSE
-#endif
-
-/*===========================================================================*/
-/* USB driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
-#define USB_USE_WAIT FALSE
-#endif
-
-#endif /* HALCONF_H */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file templates/halconf.h
+ * @brief HAL configuration header.
+ * @details HAL configuration file, this file allows to enable or disable the
+ * various device drivers from your application. You may also use
+ * this file in order to override the device drivers default settings.
+ *
+ * @addtogroup HAL_CONF
+ * @{
+ */
+
+#ifndef HALCONF_H
+#define HALCONF_H
+
+#include "mcuconf.h"
+
+/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM FALSE
+#endif
+
+/**
+ * @brief Enables the PAL subsystem.
+ */
+#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
+#define HAL_USE_PAL TRUE
+#endif
+
+/**
+ * @brief Enables the ADC subsystem.
+ */
+#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
+#define HAL_USE_ADC FALSE
+#endif
+
+/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC FALSE
+#endif
+
+/**
+ * @brief Enables the CAN subsystem.
+ */
+#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
+#define HAL_USE_CAN FALSE
+#endif
+
+/**
+ * @brief Enables the EXT subsystem.
+ */
+#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)
+#define HAL_USE_EXT FALSE
+#endif
+
+/**
+ * @brief Enables the GPT subsystem.
+ */
+#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
+#define HAL_USE_GPT FALSE
+#endif
+
+/**
+ * @brief Enables the I2C subsystem.
+ */
+#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
+#define HAL_USE_I2C FALSE
+#endif
+
+/**
+ * @brief Enables the ICU subsystem.
+ */
+#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
+#define HAL_USE_ICU FALSE
+#endif
+
+/**
+ * @brief Enables the MAC subsystem.
+ */
+#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
+#define HAL_USE_MAC FALSE
+#endif
+
+/**
+ * @brief Enables the MMC_SPI subsystem.
+ */
+#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
+#define HAL_USE_MMC_SPI FALSE
+#endif
+
+/**
+ * @brief Enables the PWM subsystem.
+ */
+#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
+#define HAL_USE_PWM FALSE
+#endif
+
+/**
+ * @brief Enables the RTC subsystem.
+ */
+#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
+#define HAL_USE_RTC FALSE
+#endif
+
+/**
+ * @brief Enables the SDC subsystem.
+ */
+#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
+#define HAL_USE_SDC FALSE
+#endif
+
+/**
+ * @brief Enables the SERIAL subsystem.
+ */
+#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
+#define HAL_USE_SERIAL FALSE
+#endif
+
+/**
+ * @brief Enables the SERIAL over USB subsystem.
+ */
+#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
+#define HAL_USE_SERIAL_USB TRUE
+#endif
+
+/**
+ * @brief Enables the SPI subsystem.
+ */
+#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
+#define HAL_USE_SPI FALSE
+#endif
+
+/**
+ * @brief Enables the UART subsystem.
+ */
+#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
+#define HAL_USE_UART FALSE
+#endif
+
+/**
+ * @brief Enables the USB subsystem.
+ */
+#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
+#define HAL_USE_USB TRUE
+#endif
+
+/**
+ * @brief Enables the I2S subsystem.
+ */
+#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
+#define HAL_USE_I2S FALSE
+#endif
+
+/**
+ * @brief Enables the WDG subsystem.
+ */
+#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__)
+#define HAL_USE_WDG FALSE
+#endif
+
+/*===========================================================================*/
+/* ADC driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__)
+#define ADC_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define ADC_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
+/*===========================================================================*/
+/* CAN driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Sleep mode related APIs inclusion switch.
+ */
+#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)
+#define CAN_USE_SLEEP_MODE TRUE
+#endif
+
+/*===========================================================================*/
+/* I2C driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables the mutual exclusion APIs on the I2C bus.
+ */
+#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define I2C_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
+/*===========================================================================*/
+/* MAC driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
+#define MAC_USE_ZERO_COPY FALSE
+#endif
+
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
+/*===========================================================================*/
+/* MMC_SPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Delays insertions.
+ * @details If enabled this options inserts delays into the MMC waiting
+ * routines releasing some extra CPU time for the threads with
+ * lower priority, this may slow down the driver a bit however.
+ * This option is recommended also if the SPI driver does not
+ * use a DMA channel and heavily loads the CPU.
+ */
+#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
+#define MMC_NICE_WAITING TRUE
+#endif
+
+/*===========================================================================*/
+/* SDC driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Number of initialization attempts before rejecting the card.
+ * @note Attempts are performed at 10mS intervals.
+ */
+#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
+#define SDC_INIT_RETRY 100
+#endif
+
+/**
+ * @brief Include support for MMC cards.
+ * @note MMC support is not yet implemented so this option must be kept
+ * at @p FALSE.
+ */
+#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
+#define SDC_MMC_SUPPORT FALSE
+#endif
+
+/**
+ * @brief Delays insertions.
+ * @details If enabled this options inserts delays into the MMC waiting
+ * routines releasing some extra CPU time for the threads with
+ * lower priority, this may slow down the driver a bit however.
+ */
+#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
+#define SDC_NICE_WAITING TRUE
+#endif
+
+/*===========================================================================*/
+/* SERIAL driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Default bit rate.
+ * @details Configuration parameter, this is the baud rate selected for the
+ * default configuration.
+ */
+#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)
+#define SERIAL_DEFAULT_BITRATE 38400
+#endif
+
+/**
+ * @brief Serial buffers size.
+ * @details Configuration parameter, you can change the depth of the queue
+ * buffers depending on the requirements of your application.
+ * @note The default is 16 bytes for both the transmission and receive
+ * buffers.
+ */
+#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
+#define SERIAL_BUFFERS_SIZE 16
+#endif
+
+/*===========================================================================*/
+/* SERIAL_USB driver related setting. */
+/*===========================================================================*/
+
+/**
+ * @brief Serial over USB buffers size.
+ * @details Configuration parameter, the buffer size must be a multiple of
+ * the USB data endpoint maximum packet size.
+ * @note The default is 256 bytes for both the transmission and receive
+ * buffers.
+ */
+#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
+#define SERIAL_USB_BUFFERS_SIZE 64
+#endif
+
+/*===========================================================================*/
+/* SPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__)
+#define SPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define SPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
+/*===========================================================================*/
+/* UART driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(UART_USE_WAIT) || defined(__DOXYGEN__)
+#define UART_USE_WAIT FALSE
+#endif
+
+/**
+ * @brief Enables the @p uartAcquireBus() and @p uartReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define UART_USE_MUTUAL_EXCLUSION FALSE
+#endif
+
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
+#endif /* HALCONF_H */
+
+/** @} */
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/main.c b/demos/AVR/RT-ARDUINO-LEONARDO/main.c
index bc68107be..4d3c03f42 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/main.c
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/main.c
@@ -1,79 +1,79 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "ch.h"
-#include "hal.h"
-#include "usbcfg.h"
-
-SerialUSBDriver SDU1;
-
-static THD_WORKING_AREA(waThread1, 32);
-static THD_FUNCTION(Thread1, arg) {
-
- (void)arg;
- chRegSetThreadName("Blinker");
- while (true) {
- palTogglePad(IOPORT3, BOARD_LED1);
- chThdSleepMilliseconds(500);
- }
-}
-
-/*
- * Application entry point.
- */
-int main(void) {
-
- /*
- * System initializations.
- * - HAL initialization, this also initializes the configured device drivers
- * and performs the board-specific initializations.
- * - Kernel initialization, the main() function becomes a thread and the
- * RTOS is active.
- */
- halInit();
- chSysInit();
-
- palSetPadMode(IOPORT3, BOARD_LED1, PAL_MODE_OUTPUT_PUSHPULL);
- palClearPad(IOPORT3, BOARD_LED1);
-
- /*
- * Initializes a serial-over-USB CDC driver.
- */
- sduObjectInit(&SDU1);
- sduStart(&SDU1, &serusbcfg);
-
- /*
- * Activates the USB driver and then the USB bus pull-up on D+.
- * Note, a delay is inserted in order to not have to disconnect the cable
- * after a reset.
- */
- usbDisconnectBus(serusbcfg.usbp);
- chThdSleepMilliseconds(1000);
- usbStart(serusbcfg.usbp, &usbcfg);
- usbConnectBus(serusbcfg.usbp);
-
- /*
- * Starts the LED blinker thread.
- */
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
-
- while(TRUE) {
- if (SDU1.config->usbp->state == USB_ACTIVE) {
- chnWrite(&SDU1, (const uint8_t *)"Hello from Arduino Leonardo!\r\n", 30);
- }
- chThdSleepMilliseconds(2113);
- }
-}
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "ch.h"
+#include "hal.h"
+#include "usbcfg.h"
+
+SerialUSBDriver SDU1;
+
+static THD_WORKING_AREA(waThread1, 32);
+static THD_FUNCTION(Thread1, arg) {
+
+ (void)arg;
+ chRegSetThreadName("Blinker");
+ while (true) {
+ palTogglePad(IOPORT3, BOARD_LED1);
+ chThdSleepMilliseconds(500);
+ }
+}
+
+/*
+ * Application entry point.
+ */
+int main(void) {
+
+ /*
+ * System initializations.
+ * - HAL initialization, this also initializes the configured device drivers
+ * and performs the board-specific initializations.
+ * - Kernel initialization, the main() function becomes a thread and the
+ * RTOS is active.
+ */
+ halInit();
+ chSysInit();
+
+ palSetPadMode(IOPORT3, BOARD_LED1, PAL_MODE_OUTPUT_PUSHPULL);
+ palClearPad(IOPORT3, BOARD_LED1);
+
+ /*
+ * Initializes a serial-over-USB CDC driver.
+ */
+ sduObjectInit(&SDU1);
+ sduStart(&SDU1, &serusbcfg);
+
+ /*
+ * Activates the USB driver and then the USB bus pull-up on D+.
+ * Note, a delay is inserted in order to not have to disconnect the cable
+ * after a reset.
+ */
+ usbDisconnectBus(serusbcfg.usbp);
+ chThdSleepMilliseconds(1000);
+ usbStart(serusbcfg.usbp, &usbcfg);
+ usbConnectBus(serusbcfg.usbp);
+
+ /*
+ * Starts the LED blinker thread.
+ */
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+
+ while(TRUE) {
+ if (SDU1.config->usbp->state == USB_ACTIVE) {
+ chnWrite(&SDU1, (const uint8_t *)"Hello from Arduino Leonardo!\r\n", 30);
+ }
+ chThdSleepMilliseconds(2113);
+ }
+}
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/mcuconf.h b/demos/AVR/RT-ARDUINO-LEONARDO/mcuconf.h
index a8ccb070c..3fe650663 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/mcuconf.h
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 FALSE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 TRUE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 FALSE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 TRUE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c b/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c
index 3cb7b767e..ac8667f3e 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c
@@ -1,402 +1,402 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "ch.h"
-#include "hal.h"
-#include "usbcfg.h"
-
-/*
- * Endpoints to be used for USBD1.
- */
-#define USBD1_DATA_REQUEST_EP 1
-#define USBD1_DATA_AVAILABLE_EP 3
-#define USBD1_INTERRUPT_REQUEST_EP 2
-
-#if (AVR_USB_USE_NAMED_ADDRESS_SPACES == TRUE) && defined(__FLASH)
-# undef ROMCONST
-# define ROMCONST const __flash
-#endif
-
-/* Virtual serial port over USB.*/
-SerialUSBDriver SDU1;
-
-/*
- * USB Device Descriptor.
- */
-static ROMCONST uint8_t vcom_device_descriptor_data[18] = {
- USB_DESC_DEVICE (0x0110, /* bcdUSB (1.1). */
- 0x02, /* bDeviceClass (CDC). */
- 0x00, /* bDeviceSubClass. */
- 0x00, /* bDeviceProtocol. */
- 0x40, /* bMaxPacketSize. */
- 0x2341, /* idVendor (Arduino LLC). */
- 0x0036, /* idProduct. */
- 0x0200, /* bcdDevice. */
- 2, /* iManufacturer. */
- 1, /* iProduct. */
- 3, /* iSerialNumber. */
- 1) /* bNumConfigurations. */
-};
-
-/*
- * Device Descriptor wrapper.
- */
-static ROMCONST USBDescriptor vcom_device_descriptor = {
- sizeof vcom_device_descriptor_data,
- vcom_device_descriptor_data
-};
-
-/* Configuration Descriptor tree for a CDC.*/
-static ROMCONST uint8_t vcom_configuration_descriptor_data[67] = {
- /* Configuration Descriptor.*/
- USB_DESC_CONFIGURATION(67, /* wTotalLength. */
- 0x02, /* bNumInterfaces. */
- 0x01, /* bConfigurationValue. */
- 0, /* iConfiguration. */
- 0xC0, /* bmAttributes (self powered). */
- 50), /* bMaxPower (100mA). */
- /* Interface Descriptor.*/
- USB_DESC_INTERFACE (0x00, /* bInterfaceNumber. */
- 0x00, /* bAlternateSetting. */
- 0x01, /* bNumEndpoints. */
- 0x02, /* bInterfaceClass (Communications
- Interface Class, CDC section
- 4.2). */
- 0x02, /* bInterfaceSubClass (Abstract
- Control Model, CDC section 4.3). */
- 0x01, /* bInterfaceProtocol (AT commands,
- CDC section 4.4). */
- 0), /* iInterface. */
- /* Header Functional Descriptor (CDC section 5.2.3).*/
- USB_DESC_BYTE (5), /* bLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x00), /* bDescriptorSubtype (Header
- Functional Descriptor. */
- USB_DESC_BCD (0x0110), /* bcdCDC. */
- /* Call Management Functional Descriptor. */
- USB_DESC_BYTE (5), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x01), /* bDescriptorSubtype (Call Management
- Functional Descriptor). */
- USB_DESC_BYTE (0x00), /* bmCapabilities (D0+D1). */
- USB_DESC_BYTE (0x01), /* bDataInterface. */
- /* ACM Functional Descriptor.*/
- USB_DESC_BYTE (4), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x02), /* bDescriptorSubtype (Abstract
- Control Management Descriptor). */
- USB_DESC_BYTE (0x02), /* bmCapabilities. */
- /* Union Functional Descriptor.*/
- USB_DESC_BYTE (5), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x06), /* bDescriptorSubtype (Union
- Functional Descriptor). */
- USB_DESC_BYTE (0x00), /* bMasterInterface (Communication
- Class Interface). */
- USB_DESC_BYTE (0x01), /* bSlaveInterface0 (Data Class
- Interface). */
- /* Endpoint 2 Descriptor.*/
- USB_DESC_ENDPOINT (USBD1_INTERRUPT_REQUEST_EP|0x80,
- 0x03, /* bmAttributes (Interrupt). */
- 0x0008, /* wMaxPacketSize. */
- 0xFF), /* bInterval. */
- /* Interface Descriptor.*/
- USB_DESC_INTERFACE (0x01, /* bInterfaceNumber. */
- 0x00, /* bAlternateSetting. */
- 0x02, /* bNumEndpoints. */
- 0x0A, /* bInterfaceClass (Data Class
- Interface, CDC section 4.5). */
- 0x00, /* bInterfaceSubClass (CDC section
- 4.6). */
- 0x00, /* bInterfaceProtocol (CDC section
- 4.7). */
- 0x00), /* iInterface. */
- /* Endpoint 3 Descriptor.*/
- USB_DESC_ENDPOINT (USBD1_DATA_AVAILABLE_EP, /* bEndpointAddress.*/
- 0x02, /* bmAttributes (Bulk). */
- 0x0040, /* wMaxPacketSize. */
- 0x00), /* bInterval. */
- /* Endpoint 1 Descriptor.*/
- USB_DESC_ENDPOINT (USBD1_DATA_REQUEST_EP|0x80, /* bEndpointAddress.*/
- 0x02, /* bmAttributes (Bulk). */
- 0x0040, /* wMaxPacketSize. */
- 0x00) /* bInterval. */
-};
-
-/*
- * Configuration Descriptor wrapper.
- */
-static ROMCONST USBDescriptor vcom_configuration_descriptor = {
- sizeof vcom_configuration_descriptor_data,
- vcom_configuration_descriptor_data
-};
-
-/*
- * U.S. English language identifier.
- */
-static ROMCONST uint8_t vcom_string0[] = {
- USB_DESC_BYTE(4), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- USB_DESC_WORD(0x0409) /* wLANGID (U.S. English). */
-};
-
-/*
- * Vendor string.
- */
-static ROMCONST uint8_t vcom_string1[] = {
- USB_DESC_BYTE(24), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- 'A', 0, 'r', 0, 'd', 0, 'u', 0, 'i', 0, 'n', 0, 'o', 0,
- ' ', 0, 'L', 0, 'L', 0, 'C', 0
-};
-
-/*
- * Device Description string.
- */
-static ROMCONST uint8_t vcom_string2[] = {
- USB_DESC_BYTE(56), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- 'C', 0, 'h', 0, 'i', 0, 'b', 0, 'i', 0, 'O', 0, 'S', 0, '/', 0,
- 'R', 0, 'T', 0, ' ', 0, 'V', 0, 'i', 0, 'r', 0, 't', 0, 'u', 0,
- 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0, 'M', 0, ' ', 0, 'P', 0,
- 'o', 0, 'r', 0, 't', 0
-};
-
-/*
- * Serial Number string.
- */
-static ROMCONST uint8_t vcom_string3[] = {
- USB_DESC_BYTE(8), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- '0' + CH_KERNEL_MAJOR, 0,
- '0' + CH_KERNEL_MINOR, 0,
- '0' + CH_KERNEL_PATCH, 0
-};
-
-/*
- * Strings wrappers array.
- */
-static ROMCONST USBDescriptor vcom_strings[] = {
- {sizeof vcom_string0, vcom_string0},
- {sizeof vcom_string1, vcom_string1},
- {sizeof vcom_string2, vcom_string2},
- {sizeof vcom_string3, vcom_string3}
-};
-
-/*
- * Handles the GET_DESCRIPTOR callback. All required descriptors must be
- * handled here.
- */
-static const USBDescriptor *get_descriptor(USBDriver *usbp,
- uint8_t dtype,
- uint8_t dindex,
- uint16_t lang) {
-
- (void)usbp;
- (void)lang;
- switch (dtype) {
- case USB_DESCRIPTOR_DEVICE:
- return &vcom_device_descriptor;
- case USB_DESCRIPTOR_CONFIGURATION:
- return &vcom_configuration_descriptor;
- case USB_DESCRIPTOR_STRING:
- if (dindex < 4)
- return &vcom_strings[dindex];
- }
- return NULL;
-}
-
-/**
- * @brief IN EP1 state.
- */
-static USBInEndpointState ep1state;
-
-/**
- * @brief EP1 initialization structure (IN).
- */
-static const USBEndpointConfig ep1config = {
- USB_EP_MODE_TYPE_BULK,
- NULL,
- sduDataTransmitted,
- NULL,
- 0x0040,
- 0x0000,
- &ep1state,
- NULL,
-};
-
-/**
- * @brief INTR EP2 state.
- */
-static USBInEndpointState ep2state;
-
-/**
- * @brief EP2 initialization structure.
- */
-static const USBEndpointConfig ep2config = {
- USB_EP_MODE_TYPE_INTR,
- NULL,
- sduInterruptTransmitted,
- NULL,
- 0x0010,
- 0x0000,
- &ep2state,
- NULL
-};
-
-/**
- * @brief OUT EP3 state.
- */
-static USBOutEndpointState ep3state;
-
-/**
- * @brief EP3 initialization structure (OUT).
- */
-static const USBEndpointConfig ep3config = {
- USB_EP_MODE_TYPE_BULK,
- NULL,
- NULL,
- sduDataReceived,
- 0x0000,
- 0x0040,
- NULL,
- &ep3state,
-};
-
-/*
- * Handles the USB driver global events.
- */
-static void usb_event(USBDriver *usbp, usbevent_t event) {
- extern SerialUSBDriver SDU1;
-
- switch (event) {
- case USB_EVENT_ADDRESS:
- return;
- case USB_EVENT_CONFIGURED:
- chSysLockFromISR();
-
- /* Enables the endpoints specified into the configuration.
- Note, this callback is invoked from an ISR so I-Class functions
- must be used.*/
- usbInitEndpointI(usbp, USBD1_DATA_REQUEST_EP, &ep1config);
- usbInitEndpointI(usbp, USBD1_DATA_AVAILABLE_EP, &ep2config);
- usbInitEndpointI(usbp, USBD1_INTERRUPT_REQUEST_EP, &ep3config);
-
- /* Resetting the state of the CDC subsystem.*/
- sduConfigureHookI(&SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_RESET:
- /* Falls into.*/
- case USB_EVENT_UNCONFIGURED:
- /* Falls into.*/
- case USB_EVENT_SUSPEND:
- chSysLockFromISR();
-
- /* Disconnection event on suspend.*/
- sduSuspendHookI(&SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_WAKEUP:
- chSysLockFromISR();
-
- /* Disconnection event on suspend.*/
- sduWakeupHookI(&SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_STALLED:
- return;
- }
- return;
-}
-
-bool usb_setup_hook(USBDriver *usbp) {
- /* Override GET_DESCRIPTOR requests to return data from program memory */
- if ((usbp->setup[0] & (USB_RTYPE_RECIPIENT_MASK | USB_RTYPE_TYPE_MASK)) ==
- (USB_RTYPE_RECIPIENT_DEVICE | USB_RTYPE_TYPE_STD) &&
- usbp->setup[1] == USB_REQ_GET_DESCRIPTOR) {
- const uint8_t dtype = usbp->setup[3];
- const uint8_t dindex = usbp->setup[2];
- const AVR_USB_TX_BUF_ADDRESS_SPACE uint8_t *ddata = NULL;
- size_t dsize = 0;
- switch (dtype) {
- case USB_DESCRIPTOR_DEVICE:
- dsize = sizeof(vcom_device_descriptor_data);
- ddata = vcom_device_descriptor_data;
- break;
- case USB_DESCRIPTOR_CONFIGURATION:
- dsize = sizeof(vcom_configuration_descriptor_data);
- ddata = vcom_configuration_descriptor_data;
- break;
- case USB_DESCRIPTOR_STRING:
- if (dindex == 0) {
- dsize = sizeof(vcom_string0);
- ddata = vcom_string0;
- } else if (dindex == 1) {
- dsize = sizeof(vcom_string1);
- ddata = vcom_string1;
- } else if (dindex == 2) {
- dsize = sizeof(vcom_string2);
- ddata = vcom_string2;
- } else if (dindex == 3) {
- dsize = sizeof(vcom_string3);
- ddata = vcom_string3;
- }
- break;
- }
- if (ddata == NULL) {
- return false;
- }
-
- usbSetupTransfer(usbp, ddata, dsize, NULL);
- return true;
- }
- return sduRequestsHook(usbp);
-}
-
-/*
- * Handles the USB driver start of frame event.
- */
-static void sof_handler(USBDriver *usbp) {
- (void)usbp;
-
- osalSysLockFromISR();
- sduSOFHookI(&SDU1);
- osalSysUnlockFromISR();
-}
-
-/*
- * USB driver configuration.
- */
-const USBConfig usbcfg = {
- usb_event,
- get_descriptor,
- usb_setup_hook,
- sof_handler
-};
-
-/*
- * Serial over USB driver configuration.
- */
-const SerialUSBConfig serusbcfg = {
- &USBD1,
- USBD1_DATA_REQUEST_EP,
- USBD1_DATA_AVAILABLE_EP,
- USBD1_INTERRUPT_REQUEST_EP
-};
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "ch.h"
+#include "hal.h"
+#include "usbcfg.h"
+
+/*
+ * Endpoints to be used for USBD1.
+ */
+#define USBD1_DATA_REQUEST_EP 1
+#define USBD1_DATA_AVAILABLE_EP 3
+#define USBD1_INTERRUPT_REQUEST_EP 2
+
+#if (AVR_USB_USE_NAMED_ADDRESS_SPACES == TRUE) && defined(__FLASH)
+# undef ROMCONST
+# define ROMCONST const __flash
+#endif
+
+/* Virtual serial port over USB.*/
+SerialUSBDriver SDU1;
+
+/*
+ * USB Device Descriptor.
+ */
+static ROMCONST uint8_t vcom_device_descriptor_data[18] = {
+ USB_DESC_DEVICE (0x0110, /* bcdUSB (1.1). */
+ 0x02, /* bDeviceClass (CDC). */
+ 0x00, /* bDeviceSubClass. */
+ 0x00, /* bDeviceProtocol. */
+ 0x40, /* bMaxPacketSize. */
+ 0x2341, /* idVendor (Arduino LLC). */
+ 0x0036, /* idProduct. */
+ 0x0200, /* bcdDevice. */
+ 2, /* iManufacturer. */
+ 1, /* iProduct. */
+ 3, /* iSerialNumber. */
+ 1) /* bNumConfigurations. */
+};
+
+/*
+ * Device Descriptor wrapper.
+ */
+static ROMCONST USBDescriptor vcom_device_descriptor = {
+ sizeof vcom_device_descriptor_data,
+ vcom_device_descriptor_data
+};
+
+/* Configuration Descriptor tree for a CDC.*/
+static ROMCONST uint8_t vcom_configuration_descriptor_data[67] = {
+ /* Configuration Descriptor.*/
+ USB_DESC_CONFIGURATION(67, /* wTotalLength. */
+ 0x02, /* bNumInterfaces. */
+ 0x01, /* bConfigurationValue. */
+ 0, /* iConfiguration. */
+ 0xC0, /* bmAttributes (self powered). */
+ 50), /* bMaxPower (100mA). */
+ /* Interface Descriptor.*/
+ USB_DESC_INTERFACE (0x00, /* bInterfaceNumber. */
+ 0x00, /* bAlternateSetting. */
+ 0x01, /* bNumEndpoints. */
+ 0x02, /* bInterfaceClass (Communications
+ Interface Class, CDC section
+ 4.2). */
+ 0x02, /* bInterfaceSubClass (Abstract
+ Control Model, CDC section 4.3). */
+ 0x01, /* bInterfaceProtocol (AT commands,
+ CDC section 4.4). */
+ 0), /* iInterface. */
+ /* Header Functional Descriptor (CDC section 5.2.3).*/
+ USB_DESC_BYTE (5), /* bLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x00), /* bDescriptorSubtype (Header
+ Functional Descriptor. */
+ USB_DESC_BCD (0x0110), /* bcdCDC. */
+ /* Call Management Functional Descriptor. */
+ USB_DESC_BYTE (5), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x01), /* bDescriptorSubtype (Call Management
+ Functional Descriptor). */
+ USB_DESC_BYTE (0x00), /* bmCapabilities (D0+D1). */
+ USB_DESC_BYTE (0x01), /* bDataInterface. */
+ /* ACM Functional Descriptor.*/
+ USB_DESC_BYTE (4), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x02), /* bDescriptorSubtype (Abstract
+ Control Management Descriptor). */
+ USB_DESC_BYTE (0x02), /* bmCapabilities. */
+ /* Union Functional Descriptor.*/
+ USB_DESC_BYTE (5), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x06), /* bDescriptorSubtype (Union
+ Functional Descriptor). */
+ USB_DESC_BYTE (0x00), /* bMasterInterface (Communication
+ Class Interface). */
+ USB_DESC_BYTE (0x01), /* bSlaveInterface0 (Data Class
+ Interface). */
+ /* Endpoint 2 Descriptor.*/
+ USB_DESC_ENDPOINT (USBD1_INTERRUPT_REQUEST_EP|0x80,
+ 0x03, /* bmAttributes (Interrupt). */
+ 0x0008, /* wMaxPacketSize. */
+ 0xFF), /* bInterval. */
+ /* Interface Descriptor.*/
+ USB_DESC_INTERFACE (0x01, /* bInterfaceNumber. */
+ 0x00, /* bAlternateSetting. */
+ 0x02, /* bNumEndpoints. */
+ 0x0A, /* bInterfaceClass (Data Class
+ Interface, CDC section 4.5). */
+ 0x00, /* bInterfaceSubClass (CDC section
+ 4.6). */
+ 0x00, /* bInterfaceProtocol (CDC section
+ 4.7). */
+ 0x00), /* iInterface. */
+ /* Endpoint 3 Descriptor.*/
+ USB_DESC_ENDPOINT (USBD1_DATA_AVAILABLE_EP, /* bEndpointAddress.*/
+ 0x02, /* bmAttributes (Bulk). */
+ 0x0040, /* wMaxPacketSize. */
+ 0x00), /* bInterval. */
+ /* Endpoint 1 Descriptor.*/
+ USB_DESC_ENDPOINT (USBD1_DATA_REQUEST_EP|0x80, /* bEndpointAddress.*/
+ 0x02, /* bmAttributes (Bulk). */
+ 0x0040, /* wMaxPacketSize. */
+ 0x00) /* bInterval. */
+};
+
+/*
+ * Configuration Descriptor wrapper.
+ */
+static ROMCONST USBDescriptor vcom_configuration_descriptor = {
+ sizeof vcom_configuration_descriptor_data,
+ vcom_configuration_descriptor_data
+};
+
+/*
+ * U.S. English language identifier.
+ */
+static ROMCONST uint8_t vcom_string0[] = {
+ USB_DESC_BYTE(4), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ USB_DESC_WORD(0x0409) /* wLANGID (U.S. English). */
+};
+
+/*
+ * Vendor string.
+ */
+static ROMCONST uint8_t vcom_string1[] = {
+ USB_DESC_BYTE(24), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ 'A', 0, 'r', 0, 'd', 0, 'u', 0, 'i', 0, 'n', 0, 'o', 0,
+ ' ', 0, 'L', 0, 'L', 0, 'C', 0
+};
+
+/*
+ * Device Description string.
+ */
+static ROMCONST uint8_t vcom_string2[] = {
+ USB_DESC_BYTE(56), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ 'C', 0, 'h', 0, 'i', 0, 'b', 0, 'i', 0, 'O', 0, 'S', 0, '/', 0,
+ 'R', 0, 'T', 0, ' ', 0, 'V', 0, 'i', 0, 'r', 0, 't', 0, 'u', 0,
+ 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0, 'M', 0, ' ', 0, 'P', 0,
+ 'o', 0, 'r', 0, 't', 0
+};
+
+/*
+ * Serial Number string.
+ */
+static ROMCONST uint8_t vcom_string3[] = {
+ USB_DESC_BYTE(8), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ '0' + CH_KERNEL_MAJOR, 0,
+ '0' + CH_KERNEL_MINOR, 0,
+ '0' + CH_KERNEL_PATCH, 0
+};
+
+/*
+ * Strings wrappers array.
+ */
+static ROMCONST USBDescriptor vcom_strings[] = {
+ {sizeof vcom_string0, vcom_string0},
+ {sizeof vcom_string1, vcom_string1},
+ {sizeof vcom_string2, vcom_string2},
+ {sizeof vcom_string3, vcom_string3}
+};
+
+/*
+ * Handles the GET_DESCRIPTOR callback. All required descriptors must be
+ * handled here.
+ */
+static const USBDescriptor *get_descriptor(USBDriver *usbp,
+ uint8_t dtype,
+ uint8_t dindex,
+ uint16_t lang) {
+
+ (void)usbp;
+ (void)lang;
+ switch (dtype) {
+ case USB_DESCRIPTOR_DEVICE:
+ return &vcom_device_descriptor;
+ case USB_DESCRIPTOR_CONFIGURATION:
+ return &vcom_configuration_descriptor;
+ case USB_DESCRIPTOR_STRING:
+ if (dindex < 4)
+ return &vcom_strings[dindex];
+ }
+ return NULL;
+}
+
+/**
+ * @brief IN EP1 state.
+ */
+static USBInEndpointState ep1state;
+
+/**
+ * @brief EP1 initialization structure (IN).
+ */
+static const USBEndpointConfig ep1config = {
+ USB_EP_MODE_TYPE_BULK,
+ NULL,
+ sduDataTransmitted,
+ NULL,
+ 0x0040,
+ 0x0000,
+ &ep1state,
+ NULL,
+};
+
+/**
+ * @brief INTR EP2 state.
+ */
+static USBInEndpointState ep2state;
+
+/**
+ * @brief EP2 initialization structure.
+ */
+static const USBEndpointConfig ep2config = {
+ USB_EP_MODE_TYPE_INTR,
+ NULL,
+ sduInterruptTransmitted,
+ NULL,
+ 0x0010,
+ 0x0000,
+ &ep2state,
+ NULL
+};
+
+/**
+ * @brief OUT EP3 state.
+ */
+static USBOutEndpointState ep3state;
+
+/**
+ * @brief EP3 initialization structure (OUT).
+ */
+static const USBEndpointConfig ep3config = {
+ USB_EP_MODE_TYPE_BULK,
+ NULL,
+ NULL,
+ sduDataReceived,
+ 0x0000,
+ 0x0040,
+ NULL,
+ &ep3state,
+};
+
+/*
+ * Handles the USB driver global events.
+ */
+static void usb_event(USBDriver *usbp, usbevent_t event) {
+ extern SerialUSBDriver SDU1;
+
+ switch (event) {
+ case USB_EVENT_ADDRESS:
+ return;
+ case USB_EVENT_CONFIGURED:
+ chSysLockFromISR();
+
+ /* Enables the endpoints specified into the configuration.
+ Note, this callback is invoked from an ISR so I-Class functions
+ must be used.*/
+ usbInitEndpointI(usbp, USBD1_DATA_REQUEST_EP, &ep1config);
+ usbInitEndpointI(usbp, USBD1_DATA_AVAILABLE_EP, &ep2config);
+ usbInitEndpointI(usbp, USBD1_INTERRUPT_REQUEST_EP, &ep3config);
+
+ /* Resetting the state of the CDC subsystem.*/
+ sduConfigureHookI(&SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_RESET:
+ /* Falls into.*/
+ case USB_EVENT_UNCONFIGURED:
+ /* Falls into.*/
+ case USB_EVENT_SUSPEND:
+ chSysLockFromISR();
+
+ /* Disconnection event on suspend.*/
+ sduSuspendHookI(&SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_WAKEUP:
+ chSysLockFromISR();
+
+ /* Disconnection event on suspend.*/
+ sduWakeupHookI(&SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_STALLED:
+ return;
+ }
+ return;
+}
+
+bool usb_setup_hook(USBDriver *usbp) {
+ /* Override GET_DESCRIPTOR requests to return data from program memory */
+ if ((usbp->setup[0] & (USB_RTYPE_RECIPIENT_MASK | USB_RTYPE_TYPE_MASK)) ==
+ (USB_RTYPE_RECIPIENT_DEVICE | USB_RTYPE_TYPE_STD) &&
+ usbp->setup[1] == USB_REQ_GET_DESCRIPTOR) {
+ const uint8_t dtype = usbp->setup[3];
+ const uint8_t dindex = usbp->setup[2];
+ const AVR_USB_TX_BUF_ADDRESS_SPACE uint8_t *ddata = NULL;
+ size_t dsize = 0;
+ switch (dtype) {
+ case USB_DESCRIPTOR_DEVICE:
+ dsize = sizeof(vcom_device_descriptor_data);
+ ddata = vcom_device_descriptor_data;
+ break;
+ case USB_DESCRIPTOR_CONFIGURATION:
+ dsize = sizeof(vcom_configuration_descriptor_data);
+ ddata = vcom_configuration_descriptor_data;
+ break;
+ case USB_DESCRIPTOR_STRING:
+ if (dindex == 0) {
+ dsize = sizeof(vcom_string0);
+ ddata = vcom_string0;
+ } else if (dindex == 1) {
+ dsize = sizeof(vcom_string1);
+ ddata = vcom_string1;
+ } else if (dindex == 2) {
+ dsize = sizeof(vcom_string2);
+ ddata = vcom_string2;
+ } else if (dindex == 3) {
+ dsize = sizeof(vcom_string3);
+ ddata = vcom_string3;
+ }
+ break;
+ }
+ if (ddata == NULL) {
+ return false;
+ }
+
+ usbSetupTransfer(usbp, ddata, dsize, NULL);
+ return true;
+ }
+ return sduRequestsHook(usbp);
+}
+
+/*
+ * Handles the USB driver start of frame event.
+ */
+static void sof_handler(USBDriver *usbp) {
+ (void)usbp;
+
+ osalSysLockFromISR();
+ sduSOFHookI(&SDU1);
+ osalSysUnlockFromISR();
+}
+
+/*
+ * USB driver configuration.
+ */
+const USBConfig usbcfg = {
+ usb_event,
+ get_descriptor,
+ usb_setup_hook,
+ sof_handler
+};
+
+/*
+ * Serial over USB driver configuration.
+ */
+const SerialUSBConfig serusbcfg = {
+ &USBD1,
+ USBD1_DATA_REQUEST_EP,
+ USBD1_DATA_AVAILABLE_EP,
+ USBD1_INTERRUPT_REQUEST_EP
+};
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h b/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h
index dfc476294..f4cab3ffa 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h
@@ -1,28 +1,28 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef _USBCFG_H_
-#define _USBCFG_H_
-
-extern const USBConfig usbcfg;
-extern const SerialUSBConfig serusbcfg;
-
-/* Virtual serial port over USB.*/
-extern SerialUSBDriver SDU1;
-
-#endif /* _USBCFG_H_ */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef _USBCFG_H_
+#define _USBCFG_H_
+
+extern const USBConfig usbcfg;
+extern const SerialUSBConfig serusbcfg;
+
+/* Virtual serial port over USB.*/
+extern SerialUSBDriver SDU1;
+
+#endif /* _USBCFG_H_ */
+
+/** @} */
diff --git a/demos/AVR/RT-ARDUINO-MEGA/chconf.h b/demos/AVR/RT-ARDUINO-MEGA/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/chconf.h
+++ b/demos/AVR/RT-ARDUINO-MEGA/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-MEGA/halconf.h b/demos/AVR/RT-ARDUINO-MEGA/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/halconf.h
+++ b/demos/AVR/RT-ARDUINO-MEGA/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-MEGA/main.c b/demos/AVR/RT-ARDUINO-MEGA/main.c
index 73aba4ea6..fbfbbbae5 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/main.c
+++ b/demos/AVR/RT-ARDUINO-MEGA/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-MEGA/mcuconf.h b/demos/AVR/RT-ARDUINO-MEGA/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/mcuconf.h
+++ b/demos/AVR/RT-ARDUINO-MEGA/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-ARDUINO-MINI/chconf.h b/demos/AVR/RT-ARDUINO-MINI/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/demos/AVR/RT-ARDUINO-MINI/chconf.h
+++ b/demos/AVR/RT-ARDUINO-MINI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-MINI/halconf.h b/demos/AVR/RT-ARDUINO-MINI/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/RT-ARDUINO-MINI/halconf.h
+++ b/demos/AVR/RT-ARDUINO-MINI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-MINI/main.c b/demos/AVR/RT-ARDUINO-MINI/main.c
index 4b25768f4..b4c0176c5 100644
--- a/demos/AVR/RT-ARDUINO-MINI/main.c
+++ b/demos/AVR/RT-ARDUINO-MINI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-MINI/mcuconf.h b/demos/AVR/RT-ARDUINO-MINI/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/RT-ARDUINO-MINI/mcuconf.h
+++ b/demos/AVR/RT-ARDUINO-MINI/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-ARDUINO-NANO/chconf.h b/demos/AVR/RT-ARDUINO-NANO/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/demos/AVR/RT-ARDUINO-NANO/chconf.h
+++ b/demos/AVR/RT-ARDUINO-NANO/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-NANO/halconf.h b/demos/AVR/RT-ARDUINO-NANO/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/RT-ARDUINO-NANO/halconf.h
+++ b/demos/AVR/RT-ARDUINO-NANO/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-NANO/main.c b/demos/AVR/RT-ARDUINO-NANO/main.c
index 9554981ec..3356fa6d9 100644
--- a/demos/AVR/RT-ARDUINO-NANO/main.c
+++ b/demos/AVR/RT-ARDUINO-NANO/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-NANO/mcuconf.h b/demos/AVR/RT-ARDUINO-NANO/mcuconf.h
index 3d3b54622..9088ee992 100644
--- a/demos/AVR/RT-ARDUINO-NANO/mcuconf.h
+++ b/demos/AVR/RT-ARDUINO-NANO/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- ²* I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ ²* I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-ARDUINO-UNO/chconf.h b/demos/AVR/RT-ARDUINO-UNO/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/demos/AVR/RT-ARDUINO-UNO/chconf.h
+++ b/demos/AVR/RT-ARDUINO-UNO/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-UNO/halconf.h b/demos/AVR/RT-ARDUINO-UNO/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/RT-ARDUINO-UNO/halconf.h
+++ b/demos/AVR/RT-ARDUINO-UNO/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-UNO/main.c b/demos/AVR/RT-ARDUINO-UNO/main.c
index 4b25768f4..b4c0176c5 100644
--- a/demos/AVR/RT-ARDUINO-UNO/main.c
+++ b/demos/AVR/RT-ARDUINO-UNO/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-ARDUINO-UNO/mcuconf.h b/demos/AVR/RT-ARDUINO-UNO/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/RT-ARDUINO-UNO/mcuconf.h
+++ b/demos/AVR/RT-ARDUINO-UNO/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
index 3d8050a87..e33090522 100644
--- a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
+++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h
index f7283590a..58540d1b5 100644
--- a/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h
+++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/mcuconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/mcuconf.h
index 130c6f71e..82eb2ba26 100644
--- a/demos/AVR/RT-DIGISPARK-ATTINY-167/mcuconf.h
+++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/mcuconf.h
@@ -1,121 +1,121 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * UART driver system settings.
- */
-#define AVR_UART_USE_USART1 TRUE
-#define AVR_UART_USE_USART2 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 FALSE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * UART driver system settings.
+ */
+#define AVR_UART_USE_USART1 TRUE
+#define AVR_UART_USE_USART2 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 FALSE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-MT-DB-X4/chconf.h b/demos/AVR/RT-MT-DB-X4/chconf.h
index 04655a3fc..e95d0fb23 100644
--- a/demos/AVR/RT-MT-DB-X4/chconf.h
+++ b/demos/AVR/RT-MT-DB-X4/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-MT-DB-X4/halconf.h b/demos/AVR/RT-MT-DB-X4/halconf.h
index 5a0b013a9..6123f1915 100644
--- a/demos/AVR/RT-MT-DB-X4/halconf.h
+++ b/demos/AVR/RT-MT-DB-X4/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/RT-MT-DB-X4/mcuconf.h b/demos/AVR/RT-MT-DB-X4/mcuconf.h
index 9a3836408..81bd4355d 100644
--- a/demos/AVR/RT-MT-DB-X4/mcuconf.h
+++ b/demos/AVR/RT-MT-DB-X4/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 FALSE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 FALSE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-PRO-MICRO/chconf.h b/demos/AVR/RT-PRO-MICRO/chconf.h
index 564e272f8..2f63e6f13 100644
--- a/demos/AVR/RT-PRO-MICRO/chconf.h
+++ b/demos/AVR/RT-PRO-MICRO/chconf.h
@@ -1,619 +1,619 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file templates/chconf.h
- * @brief Configuration file template.
- * @details A copy of this file must be placed in each project directory, it
- * contains the application specific kernel settings.
- *
- * @addtogroup config
- * @details Kernel related settings and hooks.
- * @{
- */
-
-#ifndef CHCONF_H
-#define CHCONF_H
-
-#define _CHIBIOS_RT_CONF_
-#define _CHIBIOS_RT_CONF_VER_5_0_
-
-/*===========================================================================*/
-/**
- * @name System timers settings
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief System time counter resolution.
- * @note Allowed values are 16 or 32 bits.
- */
-#define CH_CFG_ST_RESOLUTION 16
-
-/**
- * @brief System tick frequency.
- * @details Frequency of the system timer that drives the system ticks. This
- * setting also defines the system tick time unit.
- */
-#define CH_CFG_ST_FREQUENCY 15624
-
-/**
- * @brief Time intervals data size.
- * @note Allowed values are 16, 32 or 64 bits.
- */
-#define CH_CFG_INTERVALS_SIZE 16
-
-/**
- * @brief Time types data size.
- * @note Allowed values are 16 or 32 bits.
- */
-#define CH_CFG_TIME_TYPES_SIZE 16
-
-/**
- * @brief Time delta constant for the tick-less mode.
- * @note If this value is zero then the system uses the classic
- * periodic tick. This value represents the minimum number
- * of ticks that is safe to specify in a timeout directive.
- * The value one is not valid, timeouts are rounded up to
- * this value.
- */
-#define CH_CFG_ST_TIMEDELTA 2
-
-/** @} */
-
-/*===========================================================================*/
-/**
- * @name Kernel parameters and options
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief Round robin interval.
- * @details This constant is the number of system ticks allowed for the
- * threads before preemption occurs. Setting this value to zero
- * disables the preemption for threads with equal priority and the
- * round robin becomes cooperative. Note that higher priority
- * threads can still preempt, the kernel is always preemptive.
- *
- * @note Disabling the round robin preemption makes the kernel more compact
- * and generally faster.
- */
-#define CH_CFG_TIME_QUANTUM 0
-
-/**
- * @brief Managed RAM size.
- * @details Size of the RAM area to be managed by the OS. If set to zero
- * then the whole available RAM is used. The core memory is made
- * available to the heap allocator and/or can be used directly through
- * the simplified core memory allocator.
- *
- * @note In order to let the OS manage the whole RAM the linker script must
- * provide the @p __heap_base__ and @p __heap_end__ symbols.
- * @note Requires @p CH_CFG_USE_MEMCORE.
- */
-#define CH_CFG_MEMCORE_SIZE 128
-
-/**
- * @brief Idle thread automatic spawn suppression.
- * @details When this option is activated the function @p chSysInit()
- * does not spawn the idle thread automatically. The application has
- * then the responsibility to do one of the following:
- * - Spawn a custom idle thread at priority @p IDLEPRIO.
- * - Change the main() thread priority to @p IDLEPRIO then enter
- * an endless loop. In this scenario the @p main() thread acts as
- * the idle thread.
- * .
- * @note Unless an idle thread is spawned the @p main() thread must not
- * enter a sleep state.
- */
-#define CH_CFG_NO_IDLE_THREAD FALSE
-
-/** @} */
-
-/*===========================================================================*/
-/**
- * @name Performance options
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief OS optimization.
- * @details If enabled then time efficient rather than space efficient code
- * is used when two possible implementations exist.
- *
- * @note This is not related to the compiler optimization options.
- * @note The default is @p TRUE.
- */
-#define CH_CFG_OPTIMIZE_SPEED TRUE
-
-/** @} */
-
-/*===========================================================================*/
-/**
- * @name Subsystem options
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief Time Measurement APIs.
- * @details If enabled then the time measurement APIs are included in
- * the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_TM FALSE
-
-/**
- * @brief Threads registry APIs.
- * @details If enabled then the registry APIs are included in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_REGISTRY TRUE
-
-/**
- * @brief Threads synchronization APIs.
- * @details If enabled then the @p chThdWait() function is included in
- * the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_WAITEXIT TRUE
-
-/**
- * @brief Semaphores APIs.
- * @details If enabled then the Semaphores APIs are included in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_SEMAPHORES TRUE
-
-/**
- * @brief Semaphores queuing mode.
- * @details If enabled then the threads are enqueued on semaphores by
- * priority rather than in FIFO order.
- *
- * @note The default is @p FALSE. Enable this if you have special requirements.
- * @note Requires @p CH_CFG_USE_SEMAPHORES.
- */
-#define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE
-
-/**
- * @brief Mutexes APIs.
- * @details If enabled then the mutexes APIs are included in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_MUTEXES TRUE
-
-/**
- * @brief Enables recursive behavior on mutexes.
- * @note Recursive mutexes are heavier and have an increased
- * memory footprint.
- *
- * @note The default is @p FALSE.
- * @note Requires @p CH_CFG_USE_MUTEXES.
- */
-#define CH_CFG_USE_MUTEXES_RECURSIVE FALSE
-
-/**
- * @brief Conditional Variables APIs.
- * @details If enabled then the conditional variables APIs are included
- * in the kernel.
- *
- * @note The default is @p TRUE.
- * @note Requires @p CH_CFG_USE_MUTEXES.
- */
-#define CH_CFG_USE_CONDVARS TRUE
-
-/**
- * @brief Conditional Variables APIs with timeout.
- * @details If enabled then the conditional variables APIs with timeout
- * specification are included in the kernel.
- *
- * @note The default is @p TRUE.
- * @note Requires @p CH_CFG_USE_CONDVARS.
- */
-#define CH_CFG_USE_CONDVARS_TIMEOUT TRUE
-
-/**
- * @brief Events Flags APIs.
- * @details If enabled then the event flags APIs are included in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_EVENTS TRUE
-
-/**
- * @brief Events Flags APIs with timeout.
- * @details If enabled then the events APIs with timeout specification
- * are included in the kernel.
- *
- * @note The default is @p TRUE.
- * @note Requires @p CH_CFG_USE_EVENTS.
- */
-#define CH_CFG_USE_EVENTS_TIMEOUT TRUE
-
-/**
- * @brief Synchronous Messages APIs.
- * @details If enabled then the synchronous messages APIs are included
- * in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_MESSAGES TRUE
-
-/**
- * @brief Synchronous Messages queuing mode.
- * @details If enabled then messages are served by priority rather than in
- * FIFO order.
- *
- * @note The default is @p FALSE. Enable this if you have special requirements.
- * @note Requires @p CH_CFG_USE_MESSAGES.
- */
-#define CH_CFG_USE_MESSAGES_PRIORITY FALSE
-
-/**
- * @brief Mailboxes APIs.
- * @details If enabled then the asynchronous messages (mailboxes) APIs are
- * included in the kernel.
- *
- * @note The default is @p TRUE.
- * @note Requires @p CH_CFG_USE_SEMAPHORES.
- */
-#define CH_CFG_USE_MAILBOXES TRUE
-
-/**
- * @brief Core Memory Manager APIs.
- * @details If enabled then the core memory manager APIs are included
- * in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_MEMCORE TRUE
-
-/**
- * @brief Heap Allocator APIs.
- * @details If enabled then the memory heap allocator APIs are included
- * in the kernel.
- *
- * @note The default is @p TRUE.
- * @note Requires @p CH_CFG_USE_MEMCORE and either @p CH_CFG_USE_MUTEXES or
- * @p CH_CFG_USE_SEMAPHORES.
- * @note Mutexes are recommended.
- */
-#define CH_CFG_USE_HEAP TRUE
-
-/**
- * @brief Memory Pools Allocator APIs.
- * @details If enabled then the memory pools allocator APIs are included
- * in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_MEMPOOLS TRUE
-
-/**
- * @brief Objects FIFOs APIs.
- * @details If enabled then the objects FIFOs APIs are included
- * in the kernel.
- *
- * @note The default is @p TRUE.
- */
-#define CH_CFG_USE_OBJ_FIFOS TRUE
-
-/**
- * @brief Dynamic Threads APIs.
- * @details If enabled then the dynamic threads creation APIs are included
- * in the kernel.
- *
- * @note The default is @p TRUE.
- * @note Requires @p CH_CFG_USE_WAITEXIT.
- * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS.
- */
-#define CH_CFG_USE_DYNAMIC FALSE
-
-/** @} */
-
-/*===========================================================================*/
-/**
- * @name Objects factory options
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief Objects Factory APIs.
- * @details If enabled then the objects factory APIs are included in the
- * kernel.
- *
- * @note The default is @p FALSE.
- */
-#define CH_CFG_USE_FACTORY FALSE
-
-/**
- * @brief Maximum length for object names.
- * @details If the specified length is zero then the name is stored by
- * pointer but this could have unintended side effects.
- */
-#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
-
-/**
- * @brief Enables the registry of generic objects.
- */
-#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
-
-/**
- * @brief Enables factory for generic buffers.
- */
-#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
-
-/**
- * @brief Enables factory for semaphores.
- */
-#define CH_CFG_FACTORY_SEMAPHORES TRUE
-
-/**
- * @brief Enables factory for mailboxes.
- */
-#define CH_CFG_FACTORY_MAILBOXES TRUE
-
-/**
- * @brief Enables factory for objects FIFOs.
- */
-#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
-
-/** @} */
-
-/*===========================================================================*/
-/**
- * @name Debug options
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief Debug option, kernel statistics.
- *
- * @note The default is @p FALSE.
- */
-#define CH_DBG_STATISTICS FALSE
-
-/**
- * @brief Debug option, system state check.
- * @details If enabled the correct call protocol for system APIs is checked
- * at runtime.
- *
- * @note The default is @p FALSE.
- */
-#define CH_DBG_SYSTEM_STATE_CHECK FALSE
-
-/**
- * @brief Debug option, parameters checks.
- * @details If enabled then the checks on the API functions input
- * parameters are activated.
- *
- * @note The default is @p FALSE.
- */
-#define CH_DBG_ENABLE_CHECKS FALSE
-
-/**
- * @brief Debug option, consistency checks.
- * @details If enabled then all the assertions in the kernel code are
- * activated. This includes consistency checks inside the kernel,
- * runtime anomalies and port-defined checks.
- *
- * @note The default is @p FALSE.
- */
-#define CH_DBG_ENABLE_ASSERTS FALSE
-
-/**
- * @brief Debug option, trace buffer.
- * @details If enabled then the trace buffer is activated.
- *
- * @note The default is @p CH_DBG_TRACE_MASK_DISABLED.
- */
-#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
-
-/**
- * @brief Debug option, trace buffer.
- * @details If enabled then the trace buffer is activated.
- *
- * @note The default is @p FALSE.
- */
-#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
-
-/**
- * @brief Trace buffer entries.
- * @note The trace buffer is only allocated if @p CH_DBG_TRACE_MASK is
- * different from @p CH_DBG_TRACE_MASK_DISABLED.
- */
-#define CH_DBG_TRACE_BUFFER_SIZE 128
-
-/**
- * @brief Debug option, stack checks.
- * @details If enabled then a runtime stack check is performed.
- *
- * @note The default is @p FALSE.
- * @note The stack check is performed in a architecture/port dependent way.
- * It may not be implemented or some ports.
- * @note The default failure mode is to halt the system with the global
- * @p panic_msg variable set to @p NULL.
- */
-#define CH_DBG_ENABLE_STACK_CHECK FALSE
-
-/**
- * @brief Debug option, stacks initialization.
- * @details If enabled then the threads working area is filled with a byte
- * value when a thread is created. This can be useful for the
- * runtime measurement of the used stack.
- *
- * @note The default is @p FALSE.
- */
-#define CH_DBG_FILL_THREADS FALSE
-
-/**
- * @brief Debug option, threads profiling.
- * @details If enabled then a field is added to the @p Thread structure that
- * counts the system ticks occurred while executing the thread.
- *
- * @note The default is @p TRUE.
- * @note This debug option is defaulted to TRUE because it is required by
- * some test cases into the test suite.
- */
-#define CH_DBG_THREADS_PROFILING FALSE
-
-/** @} */
-
-/*===========================================================================*/
-/**
- * @name Kernel hooks
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief System structure extension.
- * @details User fields added to the end of the @p ch_system_t structure.
- */
-#define CH_CFG_SYSTEM_EXTRA_FIELDS \
- /* Add threads custom fields here.*/
-
-/**
- * @brief System initialization hook.
- * @details User initialization code added to the @p chSysInit() function
- * just before interrupts are enabled globally.
- */
-#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
- /* Add threads initialization code here.*/ \
-}
-
-/**
- * @brief Threads descriptor structure extension.
- * @details User fields added to the end of the @p thread_t structure.
- */
-#define CH_CFG_THREAD_EXTRA_FIELDS \
- /* Add threads custom fields here.*/
-
-/**
- * @brief Threads initialization hook.
- * @details User initialization code added to the @p chThdInit() API.
- *
- * @note It is invoked from within @p chThdInit() and implicitly from all
- * the threads creation APIs.
- */
-#define CH_CFG_THREAD_INIT_HOOK(tp) { \
- /* Add threads initialization code here.*/ \
-}
-
-/**
- * @brief Threads finalization hook.
- * @details User finalization code added to the @p chThdExit() API.
- */
-#define CH_CFG_THREAD_EXIT_HOOK(tp) { \
- /* Add threads finalization code here.*/ \
-}
-
-/**
- * @brief Context switch hook.
- * @details This hook is invoked just before switching between threads.
- */
-#define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \
- /* Context switch code here.*/ \
-}
-
-/**
- * @brief ISR enter hook.
- */
-#define CH_CFG_IRQ_PROLOGUE_HOOK() { \
- /* IRQ prologue code here.*/ \
-}
-
-/**
- * @brief ISR exit hook.
- */
-#define CH_CFG_IRQ_EPILOGUE_HOOK() { \
- /* IRQ epilogue code here.*/ \
-}
-
-/**
- * @brief Idle thread enter hook.
- * @note This hook is invoked within a critical zone, no OS functions
- * should be invoked from here.
- * @note This macro can be used to activate a power saving mode.
- */
-#define CH_CFG_IDLE_ENTER_HOOK() { \
- /* Idle-enter code here.*/ \
-}
-
-/**
- * @brief Idle thread leave hook.
- * @note This hook is invoked within a critical zone, no OS functions
- * should be invoked from here.
- * @note This macro can be used to deactivate a power saving mode.
- */
-#define CH_CFG_IDLE_LEAVE_HOOK() { \
- /* Idle-leave code here.*/ \
-}
-
-/**
- * @brief Idle Loop hook.
- * @details This hook is continuously invoked by the idle thread loop.
- */
-#define CH_CFG_IDLE_LOOP_HOOK() { \
- /* Idle loop code here.*/ \
-}
-
-/**
- * @brief System tick event hook.
- * @details This hook is invoked in the system tick handler immediately
- * after processing the virtual timers queue.
- */
-#define CH_CFG_SYSTEM_TICK_HOOK() { \
- /* System tick event code here.*/ \
-}
-
-/**
- * @brief System halt hook.
- * @details This hook is invoked in case to a system halting error before
- * the system is halted.
- */
-#define CH_CFG_SYSTEM_HALT_HOOK(reason) { \
- /* System halt code here.*/ \
-}
-
-/**
- * @brief Trace hook.
- * @details This hook is invoked each time a new record is written in the
- * trace buffer.
- */
-#define CH_CFG_TRACE_HOOK(tep) { \
- /* Trace code here.*/ \
-}
-
-/** @} */
-
-/*===========================================================================*/
-/* Port-specific settings (override port settings defaulted in chcore.h). */
-/*===========================================================================*/
-
-#endif /* CHCONF_H */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file templates/chconf.h
+ * @brief Configuration file template.
+ * @details A copy of this file must be placed in each project directory, it
+ * contains the application specific kernel settings.
+ *
+ * @addtogroup config
+ * @details Kernel related settings and hooks.
+ * @{
+ */
+
+#ifndef CHCONF_H
+#define CHCONF_H
+
+#define _CHIBIOS_RT_CONF_
+#define _CHIBIOS_RT_CONF_VER_5_0_
+
+/*===========================================================================*/
+/**
+ * @name System timers settings
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief System time counter resolution.
+ * @note Allowed values are 16 or 32 bits.
+ */
+#define CH_CFG_ST_RESOLUTION 16
+
+/**
+ * @brief System tick frequency.
+ * @details Frequency of the system timer that drives the system ticks. This
+ * setting also defines the system tick time unit.
+ */
+#define CH_CFG_ST_FREQUENCY 15624
+
+/**
+ * @brief Time intervals data size.
+ * @note Allowed values are 16, 32 or 64 bits.
+ */
+#define CH_CFG_INTERVALS_SIZE 16
+
+/**
+ * @brief Time types data size.
+ * @note Allowed values are 16 or 32 bits.
+ */
+#define CH_CFG_TIME_TYPES_SIZE 16
+
+/**
+ * @brief Time delta constant for the tick-less mode.
+ * @note If this value is zero then the system uses the classic
+ * periodic tick. This value represents the minimum number
+ * of ticks that is safe to specify in a timeout directive.
+ * The value one is not valid, timeouts are rounded up to
+ * this value.
+ */
+#define CH_CFG_ST_TIMEDELTA 2
+
+/** @} */
+
+/*===========================================================================*/
+/**
+ * @name Kernel parameters and options
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief Round robin interval.
+ * @details This constant is the number of system ticks allowed for the
+ * threads before preemption occurs. Setting this value to zero
+ * disables the preemption for threads with equal priority and the
+ * round robin becomes cooperative. Note that higher priority
+ * threads can still preempt, the kernel is always preemptive.
+ *
+ * @note Disabling the round robin preemption makes the kernel more compact
+ * and generally faster.
+ */
+#define CH_CFG_TIME_QUANTUM 0
+
+/**
+ * @brief Managed RAM size.
+ * @details Size of the RAM area to be managed by the OS. If set to zero
+ * then the whole available RAM is used. The core memory is made
+ * available to the heap allocator and/or can be used directly through
+ * the simplified core memory allocator.
+ *
+ * @note In order to let the OS manage the whole RAM the linker script must
+ * provide the @p __heap_base__ and @p __heap_end__ symbols.
+ * @note Requires @p CH_CFG_USE_MEMCORE.
+ */
+#define CH_CFG_MEMCORE_SIZE 128
+
+/**
+ * @brief Idle thread automatic spawn suppression.
+ * @details When this option is activated the function @p chSysInit()
+ * does not spawn the idle thread automatically. The application has
+ * then the responsibility to do one of the following:
+ * - Spawn a custom idle thread at priority @p IDLEPRIO.
+ * - Change the main() thread priority to @p IDLEPRIO then enter
+ * an endless loop. In this scenario the @p main() thread acts as
+ * the idle thread.
+ * .
+ * @note Unless an idle thread is spawned the @p main() thread must not
+ * enter a sleep state.
+ */
+#define CH_CFG_NO_IDLE_THREAD FALSE
+
+/** @} */
+
+/*===========================================================================*/
+/**
+ * @name Performance options
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief OS optimization.
+ * @details If enabled then time efficient rather than space efficient code
+ * is used when two possible implementations exist.
+ *
+ * @note This is not related to the compiler optimization options.
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_OPTIMIZE_SPEED TRUE
+
+/** @} */
+
+/*===========================================================================*/
+/**
+ * @name Subsystem options
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief Time Measurement APIs.
+ * @details If enabled then the time measurement APIs are included in
+ * the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_TM FALSE
+
+/**
+ * @brief Threads registry APIs.
+ * @details If enabled then the registry APIs are included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_REGISTRY TRUE
+
+/**
+ * @brief Threads synchronization APIs.
+ * @details If enabled then the @p chThdWait() function is included in
+ * the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_WAITEXIT TRUE
+
+/**
+ * @brief Semaphores APIs.
+ * @details If enabled then the Semaphores APIs are included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_SEMAPHORES TRUE
+
+/**
+ * @brief Semaphores queuing mode.
+ * @details If enabled then the threads are enqueued on semaphores by
+ * priority rather than in FIFO order.
+ *
+ * @note The default is @p FALSE. Enable this if you have special requirements.
+ * @note Requires @p CH_CFG_USE_SEMAPHORES.
+ */
+#define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE
+
+/**
+ * @brief Mutexes APIs.
+ * @details If enabled then the mutexes APIs are included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_MUTEXES TRUE
+
+/**
+ * @brief Enables recursive behavior on mutexes.
+ * @note Recursive mutexes are heavier and have an increased
+ * memory footprint.
+ *
+ * @note The default is @p FALSE.
+ * @note Requires @p CH_CFG_USE_MUTEXES.
+ */
+#define CH_CFG_USE_MUTEXES_RECURSIVE FALSE
+
+/**
+ * @brief Conditional Variables APIs.
+ * @details If enabled then the conditional variables APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ * @note Requires @p CH_CFG_USE_MUTEXES.
+ */
+#define CH_CFG_USE_CONDVARS TRUE
+
+/**
+ * @brief Conditional Variables APIs with timeout.
+ * @details If enabled then the conditional variables APIs with timeout
+ * specification are included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ * @note Requires @p CH_CFG_USE_CONDVARS.
+ */
+#define CH_CFG_USE_CONDVARS_TIMEOUT TRUE
+
+/**
+ * @brief Events Flags APIs.
+ * @details If enabled then the event flags APIs are included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_EVENTS TRUE
+
+/**
+ * @brief Events Flags APIs with timeout.
+ * @details If enabled then the events APIs with timeout specification
+ * are included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ * @note Requires @p CH_CFG_USE_EVENTS.
+ */
+#define CH_CFG_USE_EVENTS_TIMEOUT TRUE
+
+/**
+ * @brief Synchronous Messages APIs.
+ * @details If enabled then the synchronous messages APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_MESSAGES TRUE
+
+/**
+ * @brief Synchronous Messages queuing mode.
+ * @details If enabled then messages are served by priority rather than in
+ * FIFO order.
+ *
+ * @note The default is @p FALSE. Enable this if you have special requirements.
+ * @note Requires @p CH_CFG_USE_MESSAGES.
+ */
+#define CH_CFG_USE_MESSAGES_PRIORITY FALSE
+
+/**
+ * @brief Mailboxes APIs.
+ * @details If enabled then the asynchronous messages (mailboxes) APIs are
+ * included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ * @note Requires @p CH_CFG_USE_SEMAPHORES.
+ */
+#define CH_CFG_USE_MAILBOXES TRUE
+
+/**
+ * @brief Core Memory Manager APIs.
+ * @details If enabled then the core memory manager APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_MEMCORE TRUE
+
+/**
+ * @brief Heap Allocator APIs.
+ * @details If enabled then the memory heap allocator APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ * @note Requires @p CH_CFG_USE_MEMCORE and either @p CH_CFG_USE_MUTEXES or
+ * @p CH_CFG_USE_SEMAPHORES.
+ * @note Mutexes are recommended.
+ */
+#define CH_CFG_USE_HEAP TRUE
+
+/**
+ * @brief Memory Pools Allocator APIs.
+ * @details If enabled then the memory pools allocator APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_MEMPOOLS TRUE
+
+/**
+ * @brief Objects FIFOs APIs.
+ * @details If enabled then the objects FIFOs APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_OBJ_FIFOS TRUE
+
+/**
+ * @brief Dynamic Threads APIs.
+ * @details If enabled then the dynamic threads creation APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ * @note Requires @p CH_CFG_USE_WAITEXIT.
+ * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS.
+ */
+#define CH_CFG_USE_DYNAMIC FALSE
+
+/** @} */
+
+/*===========================================================================*/
+/**
+ * @name Objects factory options
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief Objects Factory APIs.
+ * @details If enabled then the objects factory APIs are included in the
+ * kernel.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_CFG_USE_FACTORY FALSE
+
+/**
+ * @brief Maximum length for object names.
+ * @details If the specified length is zero then the name is stored by
+ * pointer but this could have unintended side effects.
+ */
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
+
+/**
+ * @brief Enables the registry of generic objects.
+ */
+#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
+
+/**
+ * @brief Enables factory for generic buffers.
+ */
+#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
+
+/**
+ * @brief Enables factory for semaphores.
+ */
+#define CH_CFG_FACTORY_SEMAPHORES TRUE
+
+/**
+ * @brief Enables factory for mailboxes.
+ */
+#define CH_CFG_FACTORY_MAILBOXES TRUE
+
+/**
+ * @brief Enables factory for objects FIFOs.
+ */
+#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
+
+/** @} */
+
+/*===========================================================================*/
+/**
+ * @name Debug options
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief Debug option, kernel statistics.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_DBG_STATISTICS FALSE
+
+/**
+ * @brief Debug option, system state check.
+ * @details If enabled the correct call protocol for system APIs is checked
+ * at runtime.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_DBG_SYSTEM_STATE_CHECK FALSE
+
+/**
+ * @brief Debug option, parameters checks.
+ * @details If enabled then the checks on the API functions input
+ * parameters are activated.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_DBG_ENABLE_CHECKS FALSE
+
+/**
+ * @brief Debug option, consistency checks.
+ * @details If enabled then all the assertions in the kernel code are
+ * activated. This includes consistency checks inside the kernel,
+ * runtime anomalies and port-defined checks.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_DBG_ENABLE_ASSERTS FALSE
+
+/**
+ * @brief Debug option, trace buffer.
+ * @details If enabled then the trace buffer is activated.
+ *
+ * @note The default is @p CH_DBG_TRACE_MASK_DISABLED.
+ */
+#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
+
+/**
+ * @brief Debug option, trace buffer.
+ * @details If enabled then the trace buffer is activated.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
+
+/**
+ * @brief Trace buffer entries.
+ * @note The trace buffer is only allocated if @p CH_DBG_TRACE_MASK is
+ * different from @p CH_DBG_TRACE_MASK_DISABLED.
+ */
+#define CH_DBG_TRACE_BUFFER_SIZE 128
+
+/**
+ * @brief Debug option, stack checks.
+ * @details If enabled then a runtime stack check is performed.
+ *
+ * @note The default is @p FALSE.
+ * @note The stack check is performed in a architecture/port dependent way.
+ * It may not be implemented or some ports.
+ * @note The default failure mode is to halt the system with the global
+ * @p panic_msg variable set to @p NULL.
+ */
+#define CH_DBG_ENABLE_STACK_CHECK FALSE
+
+/**
+ * @brief Debug option, stacks initialization.
+ * @details If enabled then the threads working area is filled with a byte
+ * value when a thread is created. This can be useful for the
+ * runtime measurement of the used stack.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_DBG_FILL_THREADS FALSE
+
+/**
+ * @brief Debug option, threads profiling.
+ * @details If enabled then a field is added to the @p Thread structure that
+ * counts the system ticks occurred while executing the thread.
+ *
+ * @note The default is @p TRUE.
+ * @note This debug option is defaulted to TRUE because it is required by
+ * some test cases into the test suite.
+ */
+#define CH_DBG_THREADS_PROFILING FALSE
+
+/** @} */
+
+/*===========================================================================*/
+/**
+ * @name Kernel hooks
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
+ * @brief Threads descriptor structure extension.
+ * @details User fields added to the end of the @p thread_t structure.
+ */
+#define CH_CFG_THREAD_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief Threads initialization hook.
+ * @details User initialization code added to the @p chThdInit() API.
+ *
+ * @note It is invoked from within @p chThdInit() and implicitly from all
+ * the threads creation APIs.
+ */
+#define CH_CFG_THREAD_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
+ * @brief Threads finalization hook.
+ * @details User finalization code added to the @p chThdExit() API.
+ */
+#define CH_CFG_THREAD_EXIT_HOOK(tp) { \
+ /* Add threads finalization code here.*/ \
+}
+
+/**
+ * @brief Context switch hook.
+ * @details This hook is invoked just before switching between threads.
+ */
+#define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \
+ /* Context switch code here.*/ \
+}
+
+/**
+ * @brief ISR enter hook.
+ */
+#define CH_CFG_IRQ_PROLOGUE_HOOK() { \
+ /* IRQ prologue code here.*/ \
+}
+
+/**
+ * @brief ISR exit hook.
+ */
+#define CH_CFG_IRQ_EPILOGUE_HOOK() { \
+ /* IRQ epilogue code here.*/ \
+}
+
+/**
+ * @brief Idle thread enter hook.
+ * @note This hook is invoked within a critical zone, no OS functions
+ * should be invoked from here.
+ * @note This macro can be used to activate a power saving mode.
+ */
+#define CH_CFG_IDLE_ENTER_HOOK() { \
+ /* Idle-enter code here.*/ \
+}
+
+/**
+ * @brief Idle thread leave hook.
+ * @note This hook is invoked within a critical zone, no OS functions
+ * should be invoked from here.
+ * @note This macro can be used to deactivate a power saving mode.
+ */
+#define CH_CFG_IDLE_LEAVE_HOOK() { \
+ /* Idle-leave code here.*/ \
+}
+
+/**
+ * @brief Idle Loop hook.
+ * @details This hook is continuously invoked by the idle thread loop.
+ */
+#define CH_CFG_IDLE_LOOP_HOOK() { \
+ /* Idle loop code here.*/ \
+}
+
+/**
+ * @brief System tick event hook.
+ * @details This hook is invoked in the system tick handler immediately
+ * after processing the virtual timers queue.
+ */
+#define CH_CFG_SYSTEM_TICK_HOOK() { \
+ /* System tick event code here.*/ \
+}
+
+/**
+ * @brief System halt hook.
+ * @details This hook is invoked in case to a system halting error before
+ * the system is halted.
+ */
+#define CH_CFG_SYSTEM_HALT_HOOK(reason) { \
+ /* System halt code here.*/ \
+}
+
+/**
+ * @brief Trace hook.
+ * @details This hook is invoked each time a new record is written in the
+ * trace buffer.
+ */
+#define CH_CFG_TRACE_HOOK(tep) { \
+ /* Trace code here.*/ \
+}
+
+/** @} */
+
+/*===========================================================================*/
+/* Port-specific settings (override port settings defaulted in chcore.h). */
+/*===========================================================================*/
+
+#endif /* CHCONF_H */
+
+/** @} */
diff --git a/demos/AVR/RT-PRO-MICRO/halconf.h b/demos/AVR/RT-PRO-MICRO/halconf.h
index 2408c3ff0..5260a288e 100644
--- a/demos/AVR/RT-PRO-MICRO/halconf.h
+++ b/demos/AVR/RT-PRO-MICRO/halconf.h
@@ -1,380 +1,380 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file templates/halconf.h
- * @brief HAL configuration header.
- * @details HAL configuration file, this file allows to enable or disable the
- * various device drivers from your application. You may also use
- * this file in order to override the device drivers default settings.
- *
- * @addtogroup HAL_CONF
- * @{
- */
-
-#ifndef HALCONF_H
-#define HALCONF_H
-
-#include "mcuconf.h"
-
-/**
- * @brief Enables the TM subsystem.
- */
-#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
-#define HAL_USE_TM FALSE
-#endif
-
-/**
- * @brief Enables the PAL subsystem.
- */
-#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
-#define HAL_USE_PAL TRUE
-#endif
-
-/**
- * @brief Enables the ADC subsystem.
- */
-#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
-#define HAL_USE_ADC FALSE
-#endif
-
-/**
- * @brief Enables the DAC subsystem.
- */
-#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
-#define HAL_USE_DAC FALSE
-#endif
-
-/**
- * @brief Enables the CAN subsystem.
- */
-#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
-#define HAL_USE_CAN FALSE
-#endif
-
-/**
- * @brief Enables the EXT subsystem.
- */
-#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)
-#define HAL_USE_EXT FALSE
-#endif
-
-/**
- * @brief Enables the GPT subsystem.
- */
-#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
-#define HAL_USE_GPT FALSE
-#endif
-
-/**
- * @brief Enables the I2C subsystem.
- */
-#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
-#define HAL_USE_I2C FALSE
-#endif
-
-/**
- * @brief Enables the ICU subsystem.
- */
-#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
-#define HAL_USE_ICU FALSE
-#endif
-
-/**
- * @brief Enables the MAC subsystem.
- */
-#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
-#define HAL_USE_MAC FALSE
-#endif
-
-/**
- * @brief Enables the MMC_SPI subsystem.
- */
-#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
-#define HAL_USE_MMC_SPI FALSE
-#endif
-
-/**
- * @brief Enables the PWM subsystem.
- */
-#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
-#define HAL_USE_PWM FALSE
-#endif
-
-/**
- * @brief Enables the RTC subsystem.
- */
-#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
-#define HAL_USE_RTC FALSE
-#endif
-
-/**
- * @brief Enables the SDC subsystem.
- */
-#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
-#define HAL_USE_SDC FALSE
-#endif
-
-/**
- * @brief Enables the SERIAL subsystem.
- */
-#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL FALSE
-#endif
-
-/**
- * @brief Enables the SERIAL over USB subsystem.
- */
-#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL_USB TRUE
-#endif
-
-/**
- * @brief Enables the SPI subsystem.
- */
-#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
-#define HAL_USE_SPI FALSE
-#endif
-
-/**
- * @brief Enables the UART subsystem.
- */
-#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
-#define HAL_USE_UART FALSE
-#endif
-
-/**
- * @brief Enables the USB subsystem.
- */
-#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
-#define HAL_USE_USB TRUE
-#endif
-
-/**
- * @brief Enables the I2S subsystem.
- */
-#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
-#define HAL_USE_I2S FALSE
-#endif
-
-/**
- * @brief Enables the WDG subsystem.
- */
-#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__)
-#define HAL_USE_WDG FALSE
-#endif
-
-/*===========================================================================*/
-/* ADC driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__)
-#define ADC_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define ADC_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
-/* CAN driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Sleep mode related APIs inclusion switch.
- */
-#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)
-#define CAN_USE_SLEEP_MODE TRUE
-#endif
-
-/*===========================================================================*/
-/* I2C driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables the mutual exclusion APIs on the I2C bus.
- */
-#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define I2C_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
-/* MAC driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables an event sources for incoming packets.
- */
-#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
-#define MAC_USE_ZERO_COPY FALSE
-#endif
-
-/**
- * @brief Enables an event sources for incoming packets.
- */
-#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
-#define MAC_USE_EVENTS TRUE
-#endif
-
-/*===========================================================================*/
-/* MMC_SPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Delays insertions.
- * @details If enabled this options inserts delays into the MMC waiting
- * routines releasing some extra CPU time for the threads with
- * lower priority, this may slow down the driver a bit however.
- * This option is recommended also if the SPI driver does not
- * use a DMA channel and heavily loads the CPU.
- */
-#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
-#define MMC_NICE_WAITING TRUE
-#endif
-
-/*===========================================================================*/
-/* SDC driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Number of initialization attempts before rejecting the card.
- * @note Attempts are performed at 10mS intervals.
- */
-#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
-#define SDC_INIT_RETRY 100
-#endif
-
-/**
- * @brief Include support for MMC cards.
- * @note MMC support is not yet implemented so this option must be kept
- * at @p FALSE.
- */
-#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
-#define SDC_MMC_SUPPORT FALSE
-#endif
-
-/**
- * @brief Delays insertions.
- * @details If enabled this options inserts delays into the MMC waiting
- * routines releasing some extra CPU time for the threads with
- * lower priority, this may slow down the driver a bit however.
- */
-#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
-#define SDC_NICE_WAITING TRUE
-#endif
-
-/*===========================================================================*/
-/* SERIAL driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Default bit rate.
- * @details Configuration parameter, this is the baud rate selected for the
- * default configuration.
- */
-#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)
-#define SERIAL_DEFAULT_BITRATE 38400
-#endif
-
-/**
- * @brief Serial buffers size.
- * @details Configuration parameter, you can change the depth of the queue
- * buffers depending on the requirements of your application.
- * @note The default is 16 bytes for both the transmission and receive
- * buffers.
- */
-#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
-#define SERIAL_BUFFERS_SIZE 16
-#endif
-
-/*===========================================================================*/
-/* SERIAL_USB driver related setting. */
-/*===========================================================================*/
-
-/**
- * @brief Serial over USB buffers size.
- * @details Configuration parameter, the buffer size must be a multiple of
- * the USB data endpoint maximum packet size.
- * @note The default is 256 bytes for both the transmission and receive
- * buffers.
- */
-#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
-#define SERIAL_USB_BUFFERS_SIZE 64
-#endif
-
-/*===========================================================================*/
-/* SPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__)
-#define SPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define SPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
-/* UART driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(UART_USE_WAIT) || defined(__DOXYGEN__)
-#define UART_USE_WAIT FALSE
-#endif
-
-/**
- * @brief Enables the @p uartAcquireBus() and @p uartReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define UART_USE_MUTUAL_EXCLUSION FALSE
-#endif
-
-/*===========================================================================*/
-/* USB driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
-#define USB_USE_WAIT FALSE
-#endif
-
-#endif /* HALCONF_H */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file templates/halconf.h
+ * @brief HAL configuration header.
+ * @details HAL configuration file, this file allows to enable or disable the
+ * various device drivers from your application. You may also use
+ * this file in order to override the device drivers default settings.
+ *
+ * @addtogroup HAL_CONF
+ * @{
+ */
+
+#ifndef HALCONF_H
+#define HALCONF_H
+
+#include "mcuconf.h"
+
+/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM FALSE
+#endif
+
+/**
+ * @brief Enables the PAL subsystem.
+ */
+#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
+#define HAL_USE_PAL TRUE
+#endif
+
+/**
+ * @brief Enables the ADC subsystem.
+ */
+#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
+#define HAL_USE_ADC FALSE
+#endif
+
+/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC FALSE
+#endif
+
+/**
+ * @brief Enables the CAN subsystem.
+ */
+#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
+#define HAL_USE_CAN FALSE
+#endif
+
+/**
+ * @brief Enables the EXT subsystem.
+ */
+#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)
+#define HAL_USE_EXT FALSE
+#endif
+
+/**
+ * @brief Enables the GPT subsystem.
+ */
+#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
+#define HAL_USE_GPT FALSE
+#endif
+
+/**
+ * @brief Enables the I2C subsystem.
+ */
+#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
+#define HAL_USE_I2C FALSE
+#endif
+
+/**
+ * @brief Enables the ICU subsystem.
+ */
+#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
+#define HAL_USE_ICU FALSE
+#endif
+
+/**
+ * @brief Enables the MAC subsystem.
+ */
+#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
+#define HAL_USE_MAC FALSE
+#endif
+
+/**
+ * @brief Enables the MMC_SPI subsystem.
+ */
+#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
+#define HAL_USE_MMC_SPI FALSE
+#endif
+
+/**
+ * @brief Enables the PWM subsystem.
+ */
+#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
+#define HAL_USE_PWM FALSE
+#endif
+
+/**
+ * @brief Enables the RTC subsystem.
+ */
+#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
+#define HAL_USE_RTC FALSE
+#endif
+
+/**
+ * @brief Enables the SDC subsystem.
+ */
+#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
+#define HAL_USE_SDC FALSE
+#endif
+
+/**
+ * @brief Enables the SERIAL subsystem.
+ */
+#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
+#define HAL_USE_SERIAL FALSE
+#endif
+
+/**
+ * @brief Enables the SERIAL over USB subsystem.
+ */
+#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
+#define HAL_USE_SERIAL_USB TRUE
+#endif
+
+/**
+ * @brief Enables the SPI subsystem.
+ */
+#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
+#define HAL_USE_SPI FALSE
+#endif
+
+/**
+ * @brief Enables the UART subsystem.
+ */
+#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
+#define HAL_USE_UART FALSE
+#endif
+
+/**
+ * @brief Enables the USB subsystem.
+ */
+#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
+#define HAL_USE_USB TRUE
+#endif
+
+/**
+ * @brief Enables the I2S subsystem.
+ */
+#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
+#define HAL_USE_I2S FALSE
+#endif
+
+/**
+ * @brief Enables the WDG subsystem.
+ */
+#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__)
+#define HAL_USE_WDG FALSE
+#endif
+
+/*===========================================================================*/
+/* ADC driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__)
+#define ADC_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define ADC_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
+/*===========================================================================*/
+/* CAN driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Sleep mode related APIs inclusion switch.
+ */
+#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)
+#define CAN_USE_SLEEP_MODE TRUE
+#endif
+
+/*===========================================================================*/
+/* I2C driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables the mutual exclusion APIs on the I2C bus.
+ */
+#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define I2C_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
+/*===========================================================================*/
+/* MAC driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
+#define MAC_USE_ZERO_COPY FALSE
+#endif
+
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
+/*===========================================================================*/
+/* MMC_SPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Delays insertions.
+ * @details If enabled this options inserts delays into the MMC waiting
+ * routines releasing some extra CPU time for the threads with
+ * lower priority, this may slow down the driver a bit however.
+ * This option is recommended also if the SPI driver does not
+ * use a DMA channel and heavily loads the CPU.
+ */
+#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
+#define MMC_NICE_WAITING TRUE
+#endif
+
+/*===========================================================================*/
+/* SDC driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Number of initialization attempts before rejecting the card.
+ * @note Attempts are performed at 10mS intervals.
+ */
+#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
+#define SDC_INIT_RETRY 100
+#endif
+
+/**
+ * @brief Include support for MMC cards.
+ * @note MMC support is not yet implemented so this option must be kept
+ * at @p FALSE.
+ */
+#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
+#define SDC_MMC_SUPPORT FALSE
+#endif
+
+/**
+ * @brief Delays insertions.
+ * @details If enabled this options inserts delays into the MMC waiting
+ * routines releasing some extra CPU time for the threads with
+ * lower priority, this may slow down the driver a bit however.
+ */
+#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
+#define SDC_NICE_WAITING TRUE
+#endif
+
+/*===========================================================================*/
+/* SERIAL driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Default bit rate.
+ * @details Configuration parameter, this is the baud rate selected for the
+ * default configuration.
+ */
+#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)
+#define SERIAL_DEFAULT_BITRATE 38400
+#endif
+
+/**
+ * @brief Serial buffers size.
+ * @details Configuration parameter, you can change the depth of the queue
+ * buffers depending on the requirements of your application.
+ * @note The default is 16 bytes for both the transmission and receive
+ * buffers.
+ */
+#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
+#define SERIAL_BUFFERS_SIZE 16
+#endif
+
+/*===========================================================================*/
+/* SERIAL_USB driver related setting. */
+/*===========================================================================*/
+
+/**
+ * @brief Serial over USB buffers size.
+ * @details Configuration parameter, the buffer size must be a multiple of
+ * the USB data endpoint maximum packet size.
+ * @note The default is 256 bytes for both the transmission and receive
+ * buffers.
+ */
+#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
+#define SERIAL_USB_BUFFERS_SIZE 64
+#endif
+
+/*===========================================================================*/
+/* SPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__)
+#define SPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define SPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
+/*===========================================================================*/
+/* UART driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(UART_USE_WAIT) || defined(__DOXYGEN__)
+#define UART_USE_WAIT FALSE
+#endif
+
+/**
+ * @brief Enables the @p uartAcquireBus() and @p uartReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define UART_USE_MUTUAL_EXCLUSION FALSE
+#endif
+
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
+#endif /* HALCONF_H */
+
+/** @} */
diff --git a/demos/AVR/RT-PRO-MICRO/main.c b/demos/AVR/RT-PRO-MICRO/main.c
index 5b81bcd8c..4c2d57299 100644
--- a/demos/AVR/RT-PRO-MICRO/main.c
+++ b/demos/AVR/RT-PRO-MICRO/main.c
@@ -1,79 +1,79 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "ch.h"
-#include "hal.h"
-#include "usbcfg.h"
-
-SerialUSBDriver SDU1;
-
-static THD_WORKING_AREA(waThread1, 32);
-static THD_FUNCTION(Thread1, arg) {
-
- (void)arg;
- chRegSetThreadName("Blinker");
- while (true) {
- palTogglePad(IOPORT4, BOARD_LED1);
- chThdSleepMilliseconds(1000);
- }
-}
-
-/*
- * Application entry point.
- */
-int main(void) {
-
- /*
- * System initializations.
- * - HAL initialization, this also initializes the configured device drivers
- * and performs the board-specific initializations.
- * - Kernel initialization, the main() function becomes a thread and the
- * RTOS is active.
- */
- halInit();
- chSysInit();
-
- palSetPadMode(IOPORT4, BOARD_LED1, PAL_MODE_OUTPUT_PUSHPULL);
- palClearPad(IOPORT4, BOARD_LED1);
-
- /*
- * Initializes a serial-over-USB CDC driver.
- */
- sduObjectInit(&SDU1);
- sduStart(&SDU1, &serusbcfg);
-
- /*
- * Activates the USB driver and then the USB bus pull-up on D+.
- * Note, a delay is inserted in order to not have to disconnect the cable
- * after a reset.
- */
- usbDisconnectBus(serusbcfg.usbp);
- chThdSleepMilliseconds(1000);
- usbStart(serusbcfg.usbp, &usbcfg);
- usbConnectBus(serusbcfg.usbp);
-
- /*
- * Starts the LED blinker thread.
- */
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
-
- while(TRUE) {
- if (SDU1.config->usbp->state == USB_ACTIVE) {
- chnWrite(&SDU1, (const uint8_t *)"Hello World!\r\n", 14);
- }
- chThdSleepMilliseconds(2000);
- }
-}
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "ch.h"
+#include "hal.h"
+#include "usbcfg.h"
+
+SerialUSBDriver SDU1;
+
+static THD_WORKING_AREA(waThread1, 32);
+static THD_FUNCTION(Thread1, arg) {
+
+ (void)arg;
+ chRegSetThreadName("Blinker");
+ while (true) {
+ palTogglePad(IOPORT4, BOARD_LED1);
+ chThdSleepMilliseconds(1000);
+ }
+}
+
+/*
+ * Application entry point.
+ */
+int main(void) {
+
+ /*
+ * System initializations.
+ * - HAL initialization, this also initializes the configured device drivers
+ * and performs the board-specific initializations.
+ * - Kernel initialization, the main() function becomes a thread and the
+ * RTOS is active.
+ */
+ halInit();
+ chSysInit();
+
+ palSetPadMode(IOPORT4, BOARD_LED1, PAL_MODE_OUTPUT_PUSHPULL);
+ palClearPad(IOPORT4, BOARD_LED1);
+
+ /*
+ * Initializes a serial-over-USB CDC driver.
+ */
+ sduObjectInit(&SDU1);
+ sduStart(&SDU1, &serusbcfg);
+
+ /*
+ * Activates the USB driver and then the USB bus pull-up on D+.
+ * Note, a delay is inserted in order to not have to disconnect the cable
+ * after a reset.
+ */
+ usbDisconnectBus(serusbcfg.usbp);
+ chThdSleepMilliseconds(1000);
+ usbStart(serusbcfg.usbp, &usbcfg);
+ usbConnectBus(serusbcfg.usbp);
+
+ /*
+ * Starts the LED blinker thread.
+ */
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+
+ while(TRUE) {
+ if (SDU1.config->usbp->state == USB_ACTIVE) {
+ chnWrite(&SDU1, (const uint8_t *)"Hello World!\r\n", 14);
+ }
+ chThdSleepMilliseconds(2000);
+ }
+}
diff --git a/demos/AVR/RT-PRO-MICRO/mcuconf.h b/demos/AVR/RT-PRO-MICRO/mcuconf.h
index a8ccb070c..3fe650663 100644
--- a/demos/AVR/RT-PRO-MICRO/mcuconf.h
+++ b/demos/AVR/RT-PRO-MICRO/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 FALSE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 TRUE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 FALSE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 TRUE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/RT-PRO-MICRO/usbcfg.c b/demos/AVR/RT-PRO-MICRO/usbcfg.c
index 851c576c4..fce1b00c6 100644
--- a/demos/AVR/RT-PRO-MICRO/usbcfg.c
+++ b/demos/AVR/RT-PRO-MICRO/usbcfg.c
@@ -1,401 +1,401 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "ch.h"
-#include "hal.h"
-#include "usbcfg.h"
-
-/*
- * Endpoints to be used for USBD1.
- */
-#define USBD1_DATA_REQUEST_EP 1
-#define USBD1_DATA_AVAILABLE_EP 3
-#define USBD1_INTERRUPT_REQUEST_EP 2
-
-#if (AVR_USB_USE_NAMED_ADDRESS_SPACES == TRUE) && defined(__FLASH)
-# undef ROMCONST
-# define ROMCONST const __flash
-#endif
-
-/* Virtual serial port over USB.*/
-SerialUSBDriver SDU1;
-
-/*
- * USB Device Descriptor.
- */
-static ROMCONST uint8_t vcom_device_descriptor_data[18] = {
- USB_DESC_DEVICE (0x0110, /* bcdUSB (1.1). */
- 0x02, /* bDeviceClass (CDC). */
- 0x00, /* bDeviceSubClass. */
- 0x00, /* bDeviceProtocol. */
- 0x40, /* bMaxPacketSize. */
- 0x1b4f, /* idVendor (Sparkfun). */
- 0x9206, /* idProduct. */
- 0x0200, /* bcdDevice. */
- 1, /* iManufacturer. */
- 2, /* iProduct. */
- 3, /* iSerialNumber. */
- 1) /* bNumConfigurations. */
-};
-
-/*
- * Device Descriptor wrapper.
- */
-static ROMCONST USBDescriptor vcom_device_descriptor = {
- sizeof vcom_device_descriptor_data,
- vcom_device_descriptor_data
-};
-
-/* Configuration Descriptor tree for a CDC.*/
-static ROMCONST uint8_t vcom_configuration_descriptor_data[67] = {
- /* Configuration Descriptor.*/
- USB_DESC_CONFIGURATION(67, /* wTotalLength. */
- 0x02, /* bNumInterfaces. */
- 0x01, /* bConfigurationValue. */
- 0, /* iConfiguration. */
- 0xC0, /* bmAttributes (self powered). */
- 50), /* bMaxPower (100mA). */
- /* Interface Descriptor.*/
- USB_DESC_INTERFACE (0x00, /* bInterfaceNumber. */
- 0x00, /* bAlternateSetting. */
- 0x01, /* bNumEndpoints. */
- 0x02, /* bInterfaceClass (Communications
- Interface Class, CDC section
- 4.2). */
- 0x02, /* bInterfaceSubClass (Abstract
- Control Model, CDC section 4.3). */
- 0x01, /* bInterfaceProtocol (AT commands,
- CDC section 4.4). */
- 0), /* iInterface. */
- /* Header Functional Descriptor (CDC section 5.2.3).*/
- USB_DESC_BYTE (5), /* bLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x00), /* bDescriptorSubtype (Header
- Functional Descriptor. */
- USB_DESC_BCD (0x0110), /* bcdCDC. */
- /* Call Management Functional Descriptor. */
- USB_DESC_BYTE (5), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x01), /* bDescriptorSubtype (Call Management
- Functional Descriptor). */
- USB_DESC_BYTE (0x00), /* bmCapabilities (D0+D1). */
- USB_DESC_BYTE (0x01), /* bDataInterface. */
- /* ACM Functional Descriptor.*/
- USB_DESC_BYTE (4), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x02), /* bDescriptorSubtype (Abstract
- Control Management Descriptor). */
- USB_DESC_BYTE (0x02), /* bmCapabilities. */
- /* Union Functional Descriptor.*/
- USB_DESC_BYTE (5), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x06), /* bDescriptorSubtype (Union
- Functional Descriptor). */
- USB_DESC_BYTE (0x00), /* bMasterInterface (Communication
- Class Interface). */
- USB_DESC_BYTE (0x01), /* bSlaveInterface0 (Data Class
- Interface). */
- /* Endpoint 2 Descriptor.*/
- USB_DESC_ENDPOINT (USBD1_INTERRUPT_REQUEST_EP|0x80,
- 0x03, /* bmAttributes (Interrupt). */
- 0x0008, /* wMaxPacketSize. */
- 0xFF), /* bInterval. */
- /* Interface Descriptor.*/
- USB_DESC_INTERFACE (0x01, /* bInterfaceNumber. */
- 0x00, /* bAlternateSetting. */
- 0x02, /* bNumEndpoints. */
- 0x0A, /* bInterfaceClass (Data Class
- Interface, CDC section 4.5). */
- 0x00, /* bInterfaceSubClass (CDC section
- 4.6). */
- 0x00, /* bInterfaceProtocol (CDC section
- 4.7). */
- 0x00), /* iInterface. */
- /* Endpoint 3 Descriptor.*/
- USB_DESC_ENDPOINT (USBD1_DATA_AVAILABLE_EP, /* bEndpointAddress.*/
- 0x02, /* bmAttributes (Bulk). */
- 0x0040, /* wMaxPacketSize. */
- 0x00), /* bInterval. */
- /* Endpoint 1 Descriptor.*/
- USB_DESC_ENDPOINT (USBD1_DATA_REQUEST_EP|0x80, /* bEndpointAddress.*/
- 0x02, /* bmAttributes (Bulk). */
- 0x0040, /* wMaxPacketSize. */
- 0x00) /* bInterval. */
-};
-
-/*
- * Configuration Descriptor wrapper.
- */
-static ROMCONST USBDescriptor vcom_configuration_descriptor = {
- sizeof vcom_configuration_descriptor_data,
- vcom_configuration_descriptor_data
-};
-
-/*
- * U.S. English language identifier.
- */
-static ROMCONST uint8_t vcom_string0[] = {
- USB_DESC_BYTE(4), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- USB_DESC_WORD(0x0409) /* wLANGID (U.S. English). */
-};
-
-/*
- * Vendor string.
- */
-static ROMCONST uint8_t vcom_string1[] = {
- USB_DESC_BYTE(18), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- 'S', 0, 'p', 0, 'a', 0, 'r', 0, 'k', 0, 'f', 0, 'u', 0, 'n', 0,
-};
-
-/*
- * Device Description string.
- */
-static ROMCONST uint8_t vcom_string2[] = {
- USB_DESC_BYTE(56), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- 'C', 0, 'h', 0, 'i', 0, 'b', 0, 'i', 0, 'O', 0, 'S', 0, '/', 0,
- 'R', 0, 'T', 0, ' ', 0, 'V', 0, 'i', 0, 'r', 0, 't', 0, 'u', 0,
- 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0, 'M', 0, ' ', 0, 'P', 0,
- 'o', 0, 'r', 0, 't', 0
-};
-
-/*
- * Serial Number string.
- */
-static ROMCONST uint8_t vcom_string3[] = {
- USB_DESC_BYTE(8), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- '0' + CH_KERNEL_MAJOR, 0,
- '0' + CH_KERNEL_MINOR, 0,
- '0' + CH_KERNEL_PATCH, 0
-};
-
-/*
- * Strings wrappers array.
- */
-static ROMCONST USBDescriptor vcom_strings[] = {
- {sizeof vcom_string0, vcom_string0},
- {sizeof vcom_string1, vcom_string1},
- {sizeof vcom_string2, vcom_string2},
- {sizeof vcom_string3, vcom_string3}
-};
-
-/*
- * Handles the GET_DESCRIPTOR callback. All required descriptors must be
- * handled here.
- */
-static const USBDescriptor *get_descriptor(USBDriver *usbp,
- uint8_t dtype,
- uint8_t dindex,
- uint16_t lang) {
-
- (void)usbp;
- (void)lang;
- switch (dtype) {
- case USB_DESCRIPTOR_DEVICE:
- return &vcom_device_descriptor;
- case USB_DESCRIPTOR_CONFIGURATION:
- return &vcom_configuration_descriptor;
- case USB_DESCRIPTOR_STRING:
- if (dindex < 4)
- return &vcom_strings[dindex];
- }
- return NULL;
-}
-
-/**
- * @brief IN EP1 state.
- */
-static USBInEndpointState ep1state;
-
-/**
- * @brief EP1 initialization structure (IN).
- */
-static const USBEndpointConfig ep1config = {
- USB_EP_MODE_TYPE_BULK,
- NULL,
- sduDataTransmitted,
- NULL,
- 0x0040,
- 0x0000,
- &ep1state,
- NULL,
-};
-
-/**
- * @brief INTR EP2 state.
- */
-static USBInEndpointState ep2state;
-
-/**
- * @brief EP2 initialization structure.
- */
-static const USBEndpointConfig ep2config = {
- USB_EP_MODE_TYPE_INTR,
- NULL,
- sduInterruptTransmitted,
- NULL,
- 0x0010,
- 0x0000,
- &ep2state,
- NULL
-};
-
-/**
- * @brief OUT EP3 state.
- */
-static USBOutEndpointState ep3state;
-
-/**
- * @brief EP3 initialization structure (OUT).
- */
-static const USBEndpointConfig ep3config = {
- USB_EP_MODE_TYPE_BULK,
- NULL,
- NULL,
- sduDataReceived,
- 0x0000,
- 0x0040,
- NULL,
- &ep3state,
-};
-
-/*
- * Handles the USB driver global events.
- */
-static void usb_event(USBDriver *usbp, usbevent_t event) {
- extern SerialUSBDriver SDU1;
-
- switch (event) {
- case USB_EVENT_ADDRESS:
- return;
- case USB_EVENT_CONFIGURED:
- chSysLockFromISR();
-
- /* Enables the endpoints specified into the configuration.
- Note, this callback is invoked from an ISR so I-Class functions
- must be used.*/
- usbInitEndpointI(usbp, USBD1_DATA_REQUEST_EP, &ep1config);
- usbInitEndpointI(usbp, USBD1_DATA_AVAILABLE_EP, &ep2config);
- usbInitEndpointI(usbp, USBD1_INTERRUPT_REQUEST_EP, &ep3config);
-
- /* Resetting the state of the CDC subsystem.*/
- sduConfigureHookI(&SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_RESET:
- /* Falls into.*/
- case USB_EVENT_UNCONFIGURED:
- /* Falls into.*/
- case USB_EVENT_SUSPEND:
- chSysLockFromISR();
-
- /* Disconnection event on suspend.*/
- sduSuspendHookI(&SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_WAKEUP:
- chSysLockFromISR();
-
- /* Disconnection event on suspend.*/
- sduWakeupHookI(&SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_STALLED:
- return;
- }
- return;
-}
-
-bool usb_setup_hook(USBDriver *usbp) {
- /* Override GET_DESCRIPTOR requests to return data from program memory */
- if ((usbp->setup[0] & (USB_RTYPE_RECIPIENT_MASK | USB_RTYPE_TYPE_MASK)) ==
- (USB_RTYPE_RECIPIENT_DEVICE | USB_RTYPE_TYPE_STD) &&
- usbp->setup[1] == USB_REQ_GET_DESCRIPTOR) {
- const uint8_t dtype = usbp->setup[3];
- const uint8_t dindex = usbp->setup[2];
- const AVR_USB_TX_BUF_ADDRESS_SPACE uint8_t *ddata = NULL;
- size_t dsize = 0;
- switch (dtype) {
- case USB_DESCRIPTOR_DEVICE:
- dsize = sizeof(vcom_device_descriptor_data);
- ddata = vcom_device_descriptor_data;
- break;
- case USB_DESCRIPTOR_CONFIGURATION:
- dsize = sizeof(vcom_configuration_descriptor_data);
- ddata = vcom_configuration_descriptor_data;
- break;
- case USB_DESCRIPTOR_STRING:
- if (dindex == 0) {
- dsize = sizeof(vcom_string0);
- ddata = vcom_string0;
- } else if (dindex == 1) {
- dsize = sizeof(vcom_string1);
- ddata = vcom_string1;
- } else if (dindex == 2) {
- dsize = sizeof(vcom_string2);
- ddata = vcom_string2;
- } else if (dindex == 3) {
- dsize = sizeof(vcom_string3);
- ddata = vcom_string3;
- }
- break;
- }
- if (ddata == NULL) {
- return false;
- }
-
- usbSetupTransfer(usbp, ddata, dsize, NULL);
- return true;
- }
- return sduRequestsHook(usbp);
-}
-
-/*
- * Handles the USB driver start of frame event.
- */
-static void sof_handler(USBDriver *usbp) {
- (void)usbp;
-
- osalSysLockFromISR();
- sduSOFHookI(&SDU1);
- osalSysUnlockFromISR();
-}
-
-/*
- * USB driver configuration.
- */
-const USBConfig usbcfg = {
- usb_event,
- get_descriptor,
- usb_setup_hook,
- sof_handler
-};
-
-/*
- * Serial over USB driver configuration.
- */
-const SerialUSBConfig serusbcfg = {
- &USBD1,
- USBD1_DATA_REQUEST_EP,
- USBD1_DATA_AVAILABLE_EP,
- USBD1_INTERRUPT_REQUEST_EP
-};
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "ch.h"
+#include "hal.h"
+#include "usbcfg.h"
+
+/*
+ * Endpoints to be used for USBD1.
+ */
+#define USBD1_DATA_REQUEST_EP 1
+#define USBD1_DATA_AVAILABLE_EP 3
+#define USBD1_INTERRUPT_REQUEST_EP 2
+
+#if (AVR_USB_USE_NAMED_ADDRESS_SPACES == TRUE) && defined(__FLASH)
+# undef ROMCONST
+# define ROMCONST const __flash
+#endif
+
+/* Virtual serial port over USB.*/
+SerialUSBDriver SDU1;
+
+/*
+ * USB Device Descriptor.
+ */
+static ROMCONST uint8_t vcom_device_descriptor_data[18] = {
+ USB_DESC_DEVICE (0x0110, /* bcdUSB (1.1). */
+ 0x02, /* bDeviceClass (CDC). */
+ 0x00, /* bDeviceSubClass. */
+ 0x00, /* bDeviceProtocol. */
+ 0x40, /* bMaxPacketSize. */
+ 0x1b4f, /* idVendor (Sparkfun). */
+ 0x9206, /* idProduct. */
+ 0x0200, /* bcdDevice. */
+ 1, /* iManufacturer. */
+ 2, /* iProduct. */
+ 3, /* iSerialNumber. */
+ 1) /* bNumConfigurations. */
+};
+
+/*
+ * Device Descriptor wrapper.
+ */
+static ROMCONST USBDescriptor vcom_device_descriptor = {
+ sizeof vcom_device_descriptor_data,
+ vcom_device_descriptor_data
+};
+
+/* Configuration Descriptor tree for a CDC.*/
+static ROMCONST uint8_t vcom_configuration_descriptor_data[67] = {
+ /* Configuration Descriptor.*/
+ USB_DESC_CONFIGURATION(67, /* wTotalLength. */
+ 0x02, /* bNumInterfaces. */
+ 0x01, /* bConfigurationValue. */
+ 0, /* iConfiguration. */
+ 0xC0, /* bmAttributes (self powered). */
+ 50), /* bMaxPower (100mA). */
+ /* Interface Descriptor.*/
+ USB_DESC_INTERFACE (0x00, /* bInterfaceNumber. */
+ 0x00, /* bAlternateSetting. */
+ 0x01, /* bNumEndpoints. */
+ 0x02, /* bInterfaceClass (Communications
+ Interface Class, CDC section
+ 4.2). */
+ 0x02, /* bInterfaceSubClass (Abstract
+ Control Model, CDC section 4.3). */
+ 0x01, /* bInterfaceProtocol (AT commands,
+ CDC section 4.4). */
+ 0), /* iInterface. */
+ /* Header Functional Descriptor (CDC section 5.2.3).*/
+ USB_DESC_BYTE (5), /* bLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x00), /* bDescriptorSubtype (Header
+ Functional Descriptor. */
+ USB_DESC_BCD (0x0110), /* bcdCDC. */
+ /* Call Management Functional Descriptor. */
+ USB_DESC_BYTE (5), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x01), /* bDescriptorSubtype (Call Management
+ Functional Descriptor). */
+ USB_DESC_BYTE (0x00), /* bmCapabilities (D0+D1). */
+ USB_DESC_BYTE (0x01), /* bDataInterface. */
+ /* ACM Functional Descriptor.*/
+ USB_DESC_BYTE (4), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x02), /* bDescriptorSubtype (Abstract
+ Control Management Descriptor). */
+ USB_DESC_BYTE (0x02), /* bmCapabilities. */
+ /* Union Functional Descriptor.*/
+ USB_DESC_BYTE (5), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x06), /* bDescriptorSubtype (Union
+ Functional Descriptor). */
+ USB_DESC_BYTE (0x00), /* bMasterInterface (Communication
+ Class Interface). */
+ USB_DESC_BYTE (0x01), /* bSlaveInterface0 (Data Class
+ Interface). */
+ /* Endpoint 2 Descriptor.*/
+ USB_DESC_ENDPOINT (USBD1_INTERRUPT_REQUEST_EP|0x80,
+ 0x03, /* bmAttributes (Interrupt). */
+ 0x0008, /* wMaxPacketSize. */
+ 0xFF), /* bInterval. */
+ /* Interface Descriptor.*/
+ USB_DESC_INTERFACE (0x01, /* bInterfaceNumber. */
+ 0x00, /* bAlternateSetting. */
+ 0x02, /* bNumEndpoints. */
+ 0x0A, /* bInterfaceClass (Data Class
+ Interface, CDC section 4.5). */
+ 0x00, /* bInterfaceSubClass (CDC section
+ 4.6). */
+ 0x00, /* bInterfaceProtocol (CDC section
+ 4.7). */
+ 0x00), /* iInterface. */
+ /* Endpoint 3 Descriptor.*/
+ USB_DESC_ENDPOINT (USBD1_DATA_AVAILABLE_EP, /* bEndpointAddress.*/
+ 0x02, /* bmAttributes (Bulk). */
+ 0x0040, /* wMaxPacketSize. */
+ 0x00), /* bInterval. */
+ /* Endpoint 1 Descriptor.*/
+ USB_DESC_ENDPOINT (USBD1_DATA_REQUEST_EP|0x80, /* bEndpointAddress.*/
+ 0x02, /* bmAttributes (Bulk). */
+ 0x0040, /* wMaxPacketSize. */
+ 0x00) /* bInterval. */
+};
+
+/*
+ * Configuration Descriptor wrapper.
+ */
+static ROMCONST USBDescriptor vcom_configuration_descriptor = {
+ sizeof vcom_configuration_descriptor_data,
+ vcom_configuration_descriptor_data
+};
+
+/*
+ * U.S. English language identifier.
+ */
+static ROMCONST uint8_t vcom_string0[] = {
+ USB_DESC_BYTE(4), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ USB_DESC_WORD(0x0409) /* wLANGID (U.S. English). */
+};
+
+/*
+ * Vendor string.
+ */
+static ROMCONST uint8_t vcom_string1[] = {
+ USB_DESC_BYTE(18), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ 'S', 0, 'p', 0, 'a', 0, 'r', 0, 'k', 0, 'f', 0, 'u', 0, 'n', 0,
+};
+
+/*
+ * Device Description string.
+ */
+static ROMCONST uint8_t vcom_string2[] = {
+ USB_DESC_BYTE(56), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ 'C', 0, 'h', 0, 'i', 0, 'b', 0, 'i', 0, 'O', 0, 'S', 0, '/', 0,
+ 'R', 0, 'T', 0, ' ', 0, 'V', 0, 'i', 0, 'r', 0, 't', 0, 'u', 0,
+ 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0, 'M', 0, ' ', 0, 'P', 0,
+ 'o', 0, 'r', 0, 't', 0
+};
+
+/*
+ * Serial Number string.
+ */
+static ROMCONST uint8_t vcom_string3[] = {
+ USB_DESC_BYTE(8), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ '0' + CH_KERNEL_MAJOR, 0,
+ '0' + CH_KERNEL_MINOR, 0,
+ '0' + CH_KERNEL_PATCH, 0
+};
+
+/*
+ * Strings wrappers array.
+ */
+static ROMCONST USBDescriptor vcom_strings[] = {
+ {sizeof vcom_string0, vcom_string0},
+ {sizeof vcom_string1, vcom_string1},
+ {sizeof vcom_string2, vcom_string2},
+ {sizeof vcom_string3, vcom_string3}
+};
+
+/*
+ * Handles the GET_DESCRIPTOR callback. All required descriptors must be
+ * handled here.
+ */
+static const USBDescriptor *get_descriptor(USBDriver *usbp,
+ uint8_t dtype,
+ uint8_t dindex,
+ uint16_t lang) {
+
+ (void)usbp;
+ (void)lang;
+ switch (dtype) {
+ case USB_DESCRIPTOR_DEVICE:
+ return &vcom_device_descriptor;
+ case USB_DESCRIPTOR_CONFIGURATION:
+ return &vcom_configuration_descriptor;
+ case USB_DESCRIPTOR_STRING:
+ if (dindex < 4)
+ return &vcom_strings[dindex];
+ }
+ return NULL;
+}
+
+/**
+ * @brief IN EP1 state.
+ */
+static USBInEndpointState ep1state;
+
+/**
+ * @brief EP1 initialization structure (IN).
+ */
+static const USBEndpointConfig ep1config = {
+ USB_EP_MODE_TYPE_BULK,
+ NULL,
+ sduDataTransmitted,
+ NULL,
+ 0x0040,
+ 0x0000,
+ &ep1state,
+ NULL,
+};
+
+/**
+ * @brief INTR EP2 state.
+ */
+static USBInEndpointState ep2state;
+
+/**
+ * @brief EP2 initialization structure.
+ */
+static const USBEndpointConfig ep2config = {
+ USB_EP_MODE_TYPE_INTR,
+ NULL,
+ sduInterruptTransmitted,
+ NULL,
+ 0x0010,
+ 0x0000,
+ &ep2state,
+ NULL
+};
+
+/**
+ * @brief OUT EP3 state.
+ */
+static USBOutEndpointState ep3state;
+
+/**
+ * @brief EP3 initialization structure (OUT).
+ */
+static const USBEndpointConfig ep3config = {
+ USB_EP_MODE_TYPE_BULK,
+ NULL,
+ NULL,
+ sduDataReceived,
+ 0x0000,
+ 0x0040,
+ NULL,
+ &ep3state,
+};
+
+/*
+ * Handles the USB driver global events.
+ */
+static void usb_event(USBDriver *usbp, usbevent_t event) {
+ extern SerialUSBDriver SDU1;
+
+ switch (event) {
+ case USB_EVENT_ADDRESS:
+ return;
+ case USB_EVENT_CONFIGURED:
+ chSysLockFromISR();
+
+ /* Enables the endpoints specified into the configuration.
+ Note, this callback is invoked from an ISR so I-Class functions
+ must be used.*/
+ usbInitEndpointI(usbp, USBD1_DATA_REQUEST_EP, &ep1config);
+ usbInitEndpointI(usbp, USBD1_DATA_AVAILABLE_EP, &ep2config);
+ usbInitEndpointI(usbp, USBD1_INTERRUPT_REQUEST_EP, &ep3config);
+
+ /* Resetting the state of the CDC subsystem.*/
+ sduConfigureHookI(&SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_RESET:
+ /* Falls into.*/
+ case USB_EVENT_UNCONFIGURED:
+ /* Falls into.*/
+ case USB_EVENT_SUSPEND:
+ chSysLockFromISR();
+
+ /* Disconnection event on suspend.*/
+ sduSuspendHookI(&SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_WAKEUP:
+ chSysLockFromISR();
+
+ /* Disconnection event on suspend.*/
+ sduWakeupHookI(&SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_STALLED:
+ return;
+ }
+ return;
+}
+
+bool usb_setup_hook(USBDriver *usbp) {
+ /* Override GET_DESCRIPTOR requests to return data from program memory */
+ if ((usbp->setup[0] & (USB_RTYPE_RECIPIENT_MASK | USB_RTYPE_TYPE_MASK)) ==
+ (USB_RTYPE_RECIPIENT_DEVICE | USB_RTYPE_TYPE_STD) &&
+ usbp->setup[1] == USB_REQ_GET_DESCRIPTOR) {
+ const uint8_t dtype = usbp->setup[3];
+ const uint8_t dindex = usbp->setup[2];
+ const AVR_USB_TX_BUF_ADDRESS_SPACE uint8_t *ddata = NULL;
+ size_t dsize = 0;
+ switch (dtype) {
+ case USB_DESCRIPTOR_DEVICE:
+ dsize = sizeof(vcom_device_descriptor_data);
+ ddata = vcom_device_descriptor_data;
+ break;
+ case USB_DESCRIPTOR_CONFIGURATION:
+ dsize = sizeof(vcom_configuration_descriptor_data);
+ ddata = vcom_configuration_descriptor_data;
+ break;
+ case USB_DESCRIPTOR_STRING:
+ if (dindex == 0) {
+ dsize = sizeof(vcom_string0);
+ ddata = vcom_string0;
+ } else if (dindex == 1) {
+ dsize = sizeof(vcom_string1);
+ ddata = vcom_string1;
+ } else if (dindex == 2) {
+ dsize = sizeof(vcom_string2);
+ ddata = vcom_string2;
+ } else if (dindex == 3) {
+ dsize = sizeof(vcom_string3);
+ ddata = vcom_string3;
+ }
+ break;
+ }
+ if (ddata == NULL) {
+ return false;
+ }
+
+ usbSetupTransfer(usbp, ddata, dsize, NULL);
+ return true;
+ }
+ return sduRequestsHook(usbp);
+}
+
+/*
+ * Handles the USB driver start of frame event.
+ */
+static void sof_handler(USBDriver *usbp) {
+ (void)usbp;
+
+ osalSysLockFromISR();
+ sduSOFHookI(&SDU1);
+ osalSysUnlockFromISR();
+}
+
+/*
+ * USB driver configuration.
+ */
+const USBConfig usbcfg = {
+ usb_event,
+ get_descriptor,
+ usb_setup_hook,
+ sof_handler
+};
+
+/*
+ * Serial over USB driver configuration.
+ */
+const SerialUSBConfig serusbcfg = {
+ &USBD1,
+ USBD1_DATA_REQUEST_EP,
+ USBD1_DATA_AVAILABLE_EP,
+ USBD1_INTERRUPT_REQUEST_EP
+};
diff --git a/demos/AVR/RT-PRO-MICRO/usbcfg.h b/demos/AVR/RT-PRO-MICRO/usbcfg.h
index dfc476294..f4cab3ffa 100644
--- a/demos/AVR/RT-PRO-MICRO/usbcfg.h
+++ b/demos/AVR/RT-PRO-MICRO/usbcfg.h
@@ -1,28 +1,28 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef _USBCFG_H_
-#define _USBCFG_H_
-
-extern const USBConfig usbcfg;
-extern const SerialUSBConfig serusbcfg;
-
-/* Virtual serial port over USB.*/
-extern SerialUSBDriver SDU1;
-
-#endif /* _USBCFG_H_ */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef _USBCFG_H_
+#define _USBCFG_H_
+
+extern const USBConfig usbcfg;
+extern const SerialUSBConfig serusbcfg;
+
+/* Virtual serial port over USB.*/
+extern SerialUSBDriver SDU1;
+
+#endif /* _USBCFG_H_ */
+
+/** @} */
diff --git a/demos/AVR/TEST-SUITE-NIL/chconf.h b/demos/AVR/TEST-SUITE-NIL/chconf.h
index 64ed5c174..53da0c6ed 100644
--- a/demos/AVR/TEST-SUITE-NIL/chconf.h
+++ b/demos/AVR/TEST-SUITE-NIL/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-NIL/halconf.h b/demos/AVR/TEST-SUITE-NIL/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/TEST-SUITE-NIL/halconf.h
+++ b/demos/AVR/TEST-SUITE-NIL/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-NIL/main.c b/demos/AVR/TEST-SUITE-NIL/main.c
index f19caa32d..bbd6e078f 100644
--- a/demos/AVR/TEST-SUITE-NIL/main.c
+++ b/demos/AVR/TEST-SUITE-NIL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-NIL/mcuconf.h b/demos/AVR/TEST-SUITE-NIL/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/TEST-SUITE-NIL/mcuconf.h
+++ b/demos/AVR/TEST-SUITE-NIL/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/TEST-SUITE-OSLIB/chconf.h b/demos/AVR/TEST-SUITE-OSLIB/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/demos/AVR/TEST-SUITE-OSLIB/chconf.h
+++ b/demos/AVR/TEST-SUITE-OSLIB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-OSLIB/halconf.h b/demos/AVR/TEST-SUITE-OSLIB/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/TEST-SUITE-OSLIB/halconf.h
+++ b/demos/AVR/TEST-SUITE-OSLIB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-OSLIB/main.c b/demos/AVR/TEST-SUITE-OSLIB/main.c
index ac302125c..28ce40563 100644
--- a/demos/AVR/TEST-SUITE-OSLIB/main.c
+++ b/demos/AVR/TEST-SUITE-OSLIB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-OSLIB/mcuconf.h b/demos/AVR/TEST-SUITE-OSLIB/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/TEST-SUITE-OSLIB/mcuconf.h
+++ b/demos/AVR/TEST-SUITE-OSLIB/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/AVR/TEST-SUITE-RT/chconf.h b/demos/AVR/TEST-SUITE-RT/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/demos/AVR/TEST-SUITE-RT/chconf.h
+++ b/demos/AVR/TEST-SUITE-RT/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-RT/halconf.h b/demos/AVR/TEST-SUITE-RT/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/demos/AVR/TEST-SUITE-RT/halconf.h
+++ b/demos/AVR/TEST-SUITE-RT/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-RT/main.c b/demos/AVR/TEST-SUITE-RT/main.c
index e5f2be77d..079967943 100644
--- a/demos/AVR/TEST-SUITE-RT/main.c
+++ b/demos/AVR/TEST-SUITE-RT/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/AVR/TEST-SUITE-RT/mcuconf.h b/demos/AVR/TEST-SUITE-RT/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/demos/AVR/TEST-SUITE-RT/mcuconf.h
+++ b/demos/AVR/TEST-SUITE-RT/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c b/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c
index 2c63f6315..45db7f75d 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h
index 4a3c210d9..08654fc18 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/NIL-SPC560D-EVB/chconf.h b/demos/SPC5/NIL-SPC560D-EVB/chconf.h
index 87f60a583..0c37d8202 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/chconf.h
+++ b/demos/SPC5/NIL-SPC560D-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/NIL-SPC560D-EVB/halconf.h b/demos/SPC5/NIL-SPC560D-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/halconf.h
+++ b/demos/SPC5/NIL-SPC560D-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/NIL-SPC560D-EVB/main.c b/demos/SPC5/NIL-SPC560D-EVB/main.c
index c139acb11..47b4a8169 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/main.c
+++ b/demos/SPC5/NIL-SPC560D-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h b/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h
index b00ea6b10..f45d2aba1 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h
+++ b/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/NIL-SPC560D-EVB/nilconf.h b/demos/SPC5/NIL-SPC560D-EVB/nilconf.h
index 8f45bb1b9..2868e2589 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/nilconf.h
+++ b/demos/SPC5/NIL-SPC560D-EVB/nilconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560B-EVB/chconf.h b/demos/SPC5/RT-SPC560B-EVB/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/SPC5/RT-SPC560B-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC560B-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560B-EVB/halconf.h b/demos/SPC5/RT-SPC560B-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/RT-SPC560B-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560B-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560B-EVB/main.c b/demos/SPC5/RT-SPC560B-EVB/main.c
index 98b1028bb..498467c76 100644
--- a/demos/SPC5/RT-SPC560B-EVB/main.c
+++ b/demos/SPC5/RT-SPC560B-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560B-EVB/mcuconf.h b/demos/SPC5/RT-SPC560B-EVB/mcuconf.h
index b5cbafa82..fa3507bf4 100644
--- a/demos/SPC5/RT-SPC560B-EVB/mcuconf.h
+++ b/demos/SPC5/RT-SPC560B-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560D-EVB/chconf.h b/demos/SPC5/RT-SPC560D-EVB/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/SPC5/RT-SPC560D-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC560D-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560D-EVB/halconf.h b/demos/SPC5/RT-SPC560D-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/RT-SPC560D-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560D-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560D-EVB/main.c b/demos/SPC5/RT-SPC560D-EVB/main.c
index 1a4d14785..ec711946e 100644
--- a/demos/SPC5/RT-SPC560D-EVB/main.c
+++ b/demos/SPC5/RT-SPC560D-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560D-EVB/mcuconf.h b/demos/SPC5/RT-SPC560D-EVB/mcuconf.h
index b00ea6b10..f45d2aba1 100644
--- a/demos/SPC5/RT-SPC560D-EVB/mcuconf.h
+++ b/demos/SPC5/RT-SPC560D-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560P-EVB/chconf.h b/demos/SPC5/RT-SPC560P-EVB/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/SPC5/RT-SPC560P-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC560P-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560P-EVB/halconf.h b/demos/SPC5/RT-SPC560P-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/RT-SPC560P-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560P-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560P-EVB/main.c b/demos/SPC5/RT-SPC560P-EVB/main.c
index f0eef04c5..e081d104f 100644
--- a/demos/SPC5/RT-SPC560P-EVB/main.c
+++ b/demos/SPC5/RT-SPC560P-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC560P-EVB/mcuconf.h b/demos/SPC5/RT-SPC560P-EVB/mcuconf.h
index 9c1c86fc4..4f144e29c 100644
--- a/demos/SPC5/RT-SPC560P-EVB/mcuconf.h
+++ b/demos/SPC5/RT-SPC560P-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC563M-EVB/chconf.h b/demos/SPC5/RT-SPC563M-EVB/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/SPC5/RT-SPC563M-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC563M-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC563M-EVB/halconf.h b/demos/SPC5/RT-SPC563M-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/RT-SPC563M-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC563M-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC563M-EVB/main.c b/demos/SPC5/RT-SPC563M-EVB/main.c
index 30a19694c..0ae08d1f6 100644
--- a/demos/SPC5/RT-SPC563M-EVB/main.c
+++ b/demos/SPC5/RT-SPC563M-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC563M-EVB/mcuconf.h b/demos/SPC5/RT-SPC563M-EVB/mcuconf.h
index 09ddf2bf1..34a3aa991 100644
--- a/demos/SPC5/RT-SPC563M-EVB/mcuconf.h
+++ b/demos/SPC5/RT-SPC563M-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC564A-EVB/chconf.h b/demos/SPC5/RT-SPC564A-EVB/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/SPC5/RT-SPC564A-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC564A-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC564A-EVB/halconf.h b/demos/SPC5/RT-SPC564A-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/RT-SPC564A-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC564A-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC564A-EVB/main.c b/demos/SPC5/RT-SPC564A-EVB/main.c
index 30a19694c..0ae08d1f6 100644
--- a/demos/SPC5/RT-SPC564A-EVB/main.c
+++ b/demos/SPC5/RT-SPC564A-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC564A-EVB/mcuconf.h b/demos/SPC5/RT-SPC564A-EVB/mcuconf.h
index 12c8aa867..e48e46029 100644
--- a/demos/SPC5/RT-SPC564A-EVB/mcuconf.h
+++ b/demos/SPC5/RT-SPC564A-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EC-EVB/chconf.h b/demos/SPC5/RT-SPC56EC-EVB/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/SPC5/RT-SPC56EC-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC56EC-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EC-EVB/halconf.h b/demos/SPC5/RT-SPC56EC-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/RT-SPC56EC-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC56EC-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EC-EVB/main.c b/demos/SPC5/RT-SPC56EC-EVB/main.c
index 1a4d14785..ec711946e 100644
--- a/demos/SPC5/RT-SPC56EC-EVB/main.c
+++ b/demos/SPC5/RT-SPC56EC-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h b/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h
index a1bff3af5..0627aa26a 100644
--- a/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h
+++ b/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EL-EVB/chconf.h b/demos/SPC5/RT-SPC56EL-EVB/chconf.h
index d8fce6f97..468ffe85e 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC56EL-EVB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EL-EVB/halconf.h b/demos/SPC5/RT-SPC56EL-EVB/halconf.h
index 4bac49bb2..9a6373617 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC56EL-EVB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EL-EVB/main.c b/demos/SPC5/RT-SPC56EL-EVB/main.c
index f0eef04c5..e081d104f 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/main.c
+++ b/demos/SPC5/RT-SPC56EL-EVB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h b/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h
index 485a9419b..b7c28dad5 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h
+++ b/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h
index 5cafc6434..532a70333 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c
index 2365f1eec..71f799c61 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/mcuconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/mcuconf.h
index 6cd1b89d3..d04cdfa77 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/mcuconf.h
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h b/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/HAL-STM32F407-DISCOVERY/main.c b/demos/STM32/HAL-STM32F407-DISCOVERY/main.c
index 5787f6055..d09d13832 100644
--- a/demos/STM32/HAL-STM32F407-DISCOVERY/main.c
+++ b/demos/STM32/HAL-STM32F407-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/HAL-STM32F407-DISCOVERY/mcuconf.h b/demos/STM32/HAL-STM32F407-DISCOVERY/mcuconf.h
index 6cd1b89d3..d04cdfa77 100644
--- a/demos/STM32/HAL-STM32F407-DISCOVERY/mcuconf.h
+++ b/demos/STM32/HAL-STM32F407-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/HAL-STM32F407-DISCOVERY/osalconf.h b/demos/STM32/HAL-STM32F407-DISCOVERY/osalconf.h
index d3819da12..532eefab7 100644
--- a/demos/STM32/HAL-STM32F407-DISCOVERY/osalconf.h
+++ b/demos/STM32/HAL-STM32F407-DISCOVERY/osalconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
index 252a98bf0..a9f17bfeb 100644
--- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c
index 408e5957f..67fcacaf0 100644
--- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c
+++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/mcuconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/mcuconf.h
index 6cd1b89d3..d04cdfa77 100644
--- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/mcuconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
index dd04179a3..501435072 100644
--- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c
index 4033e51c9..160099693 100644
--- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c
+++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/mcuconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/mcuconf.h
index 8da26145e..f937fe400 100644
--- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/mcuconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h
index e2c5ad90d..f222e60dd 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/main.c b/demos/STM32/NIL-STM32F051-DISCOVERY/main.c
index b97e53d2f..3c69dafc3 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/main.c
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/mcuconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/mcuconf.h
index 49aaf37d1..b4ef0a775 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/mcuconf.h
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h
index e584d60b8..71d36243a 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/main.c b/demos/STM32/NIL-STM32F100-DISCOVERY/main.c
index 91ffa3749..af71d0eea 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/main.c
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/mcuconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/mcuconf.h
index c205d9594..6b6c1323b 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/mcuconf.h
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h
index 648003a72..052fd6e71 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/main.c b/demos/STM32/NIL-STM32F303-DISCOVERY/main.c
index 2f1f4aa06..8bc501303 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/main.c
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/mcuconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/mcuconf.h
index 88f6ed1f4..6c9c3ffe0 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/mcuconf.h
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h
index 523ce8d56..80b407208 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/main.c b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/main.c
index 67b9d3666..97aa17258 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/main.c
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/mcuconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/mcuconf.h
index 8e991692c..415e66efb 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/mcuconf.h
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h
index 8da9aa54f..6dd2a71fc 100644
--- a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c b/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c
index 288614339..4af9b94a5 100644
--- a/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c
+++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/mcuconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/mcuconf.h
index 773b73d7f..2d5eea42c 100644
--- a/demos/STM32/NIL-STM32F746G-DISCOVERY/mcuconf.h
+++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h
index 9c5c1c810..ff8c72825 100644
--- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h
+++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h
+++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/main.c b/demos/STM32/NIL-STM32L011K4-NUCLEO32/main.c
index b43e980ad..5eba0e1d1 100644
--- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/main.c
+++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h
index 1083038a0..a795250a6 100644
--- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h
+++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h
index e584d60b8..71d36243a 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/main.c b/demos/STM32/NIL-STM32L152-DISCOVERY/main.c
index 0a0fb504b..1703fdbcf 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/main.c
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/mcuconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/mcuconf.h
index 5c803b523..12ac88d3f 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/mcuconf.h
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/chconf.h
index f2a2d72c3..9104e4551 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/chconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h
index 97a71f639..0ef7c21c8 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/mcuconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/mcuconf.h
index 2b95f6ed1..31750430d 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/mcuconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.c
index a3fd920e9..5eb3b33f3 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.h
index 56e84c198..465ff26dc 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/main.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/main.c
index e9d4051d0..37aaa065f 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/main.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/main.c
@@ -1,348 +1,348 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include <stdio.h>
-#include <string.h>
-
-#include "ch.h"
-#include "hal.h"
-#include "rt_test_root.h"
-
-#include "chprintf.h"
-#include "shell.h"
-
-#include "lwipthread.h"
-#include "web/web.h"
-
-#include "ff.h"
-
-#include "portab.h"
-#include "usbcfg.h"
-
-/*===========================================================================*/
-/* Card insertion monitor. */
-/*===========================================================================*/
-
-#define POLLING_INTERVAL 10
-#define POLLING_DELAY 10
-
-/**
- * @brief Card monitor timer.
- */
-static virtual_timer_t tmr;
-
-/**
- * @brief Debounce counter.
- */
-static unsigned cnt;
-
-/**
- * @brief Card event sources.
- */
-static event_source_t inserted_event, removed_event;
-
-/**
- * @brief Insertion monitor timer callback function.
- *
- * @param[in] p pointer to the @p BaseBlockDevice object
- *
- * @notapi
- */
-static void tmrfunc(void *p) {
- BaseBlockDevice *bbdp = p;
-
- chSysLockFromISR();
- if (cnt > 0) {
- if (blkIsInserted(bbdp)) {
- if (--cnt == 0) {
- chEvtBroadcastI(&inserted_event);
- }
- }
- else
- cnt = POLLING_INTERVAL;
- }
- else {
- if (!blkIsInserted(bbdp)) {
- cnt = POLLING_INTERVAL;
- chEvtBroadcastI(&removed_event);
- }
- }
- chVTSetI(&tmr, TIME_MS2I(POLLING_DELAY), tmrfunc, bbdp);
- chSysUnlockFromISR();
-}
-
-/**
- * @brief Polling monitor start.
- *
- * @param[in] p pointer to an object implementing @p BaseBlockDevice
- *
- * @notapi
- */
-static void tmr_init(void *p) {
-
- chEvtObjectInit(&inserted_event);
- chEvtObjectInit(&removed_event);
- chSysLock();
- cnt = POLLING_INTERVAL;
- chVTSetI(&tmr, TIME_MS2I(POLLING_DELAY), tmrfunc, p);
- chSysUnlock();
-}
-
-/*===========================================================================*/
-/* FatFs related. */
-/*===========================================================================*/
-
-/**
- * @brief FS object.
- */
-static FATFS SDC_FS;
-
-/* FS mounted and ready.*/
-static bool fs_ready = FALSE;
-
-/* Generic large buffer.*/
-static uint8_t fbuff[1024];
-
-static FRESULT scan_files(BaseSequentialStream *chp, char *path) {
- static FILINFO fno;
- FRESULT res;
- DIR dir;
- size_t i;
- char *fn;
-
- res = f_opendir(&dir, path);
- if (res == FR_OK) {
- i = strlen(path);
- while (((res = f_readdir(&dir, &fno)) == FR_OK) && fno.fname[0]) {
- if (FF_FS_RPATH && fno.fname[0] == '.')
- continue;
- fn = fno.fname;
- if (fno.fattrib & AM_DIR) {
- *(path + i) = '/';
- strcpy(path + i + 1, fn);
- res = scan_files(chp, path);
- *(path + i) = '\0';
- if (res != FR_OK)
- break;
- }
- else {
- chprintf(chp, "%s/%s\r\n", path, fn);
- }
- }
- }
- return res;
-}
-
-/*===========================================================================*/
-/* Command line related. */
-/*===========================================================================*/
-
-#define SHELL_WA_SIZE THD_WORKING_AREA_SIZE(2048)
-
-static void cmd_tree(BaseSequentialStream *chp, int argc, char *argv[]) {
- FRESULT err;
- uint32_t fre_clust;
- FATFS *fsp;
-
- (void)argv;
- if (argc > 0) {
- chprintf(chp, "Usage: tree\r\n");
- return;
- }
- if (!fs_ready) {
- chprintf(chp, "File System not mounted\r\n");
- return;
- }
- err = f_getfree("/", &fre_clust, &fsp);
- if (err != FR_OK) {
- chprintf(chp, "FS: f_getfree() failed\r\n");
- return;
- }
- chprintf(chp,
- "FS: %lu free clusters with %lu sectors (%lu bytes) per cluster\r\n",
- fre_clust, (uint32_t)fsp->csize, (uint32_t)fsp->csize * 512);
- fbuff[0] = 0;
- scan_files(chp, (char *)fbuff);
-}
-
-static const ShellCommand commands[] = {
- {"tree", cmd_tree},
- {NULL, NULL}
-};
-
-static const ShellConfig shell_cfg1 = {
- (BaseSequentialStream *)&PORTAB_SDU1,
- commands
-};
-
-/*===========================================================================*/
-/* Main and generic code. */
-/*===========================================================================*/
-
-static thread_t *shelltp = NULL;
-
-/*
- * Card insertion event.
- */
-static void InsertHandler(eventid_t id) {
- FRESULT err;
-
- (void)id;
- /*
- * On insertion SDC initialization and FS mount.
- */
- if (sdcConnect(&SDCD1))
- return;
-
- err = f_mount(&SDC_FS, "/", 1);
- if (err != FR_OK) {
- sdcDisconnect(&SDCD1);
- return;
- }
- fs_ready = TRUE;
-}
-
-/*
- * Card removal event.
- */
-static void RemoveHandler(eventid_t id) {
-
- (void)id;
- sdcDisconnect(&SDCD1);
- fs_ready = FALSE;
-}
-
-/*
- * Shell exit event.
- */
-static void ShellHandler(eventid_t id) {
-
- (void)id;
- if (chThdTerminatedX(shelltp)) {
- chThdRelease(shelltp);
- shelltp = NULL;
- }
-}
-
-/*
- * Green LED blinker thread, times are in milliseconds.
- */
-static THD_WORKING_AREA(waThread1, 128);
-static THD_FUNCTION(Thread1, arg) {
-
- (void)arg;
- chRegSetThreadName("blinker");
- while (true) {
- palToggleLine(PORTAB_BLINK_LED1);
- chThdSleepMilliseconds(fs_ready ? 250 : 500);
- }
-}
-
-/*
- * Application entry point.
- */
-int main(void) {
- static const evhandler_t evhndl[] = {
- InsertHandler,
- RemoveHandler,
- ShellHandler
- };
- event_listener_t el0, el1, el2;
-
- /*
- * System initializations.
- * - HAL initialization, this also initializes the configured device drivers
- * and performs the board-specific initializations.
- * - Kernel initialization, the main() function becomes a thread and the
- * RTOS is active.
- * - lwIP subsystem initialization using the default configuration.
- */
- halInit();
- chSysInit();
-
- /*
- * Initialize RNG
- */
- rccEnableAHB2(RCC_AHB2ENR_RNGEN, 0);
- RNG->CR |= RNG_CR_IE;
- RNG->CR |= RNG_CR_RNGEN;
-
- /* lwip */
- lwipInit(NULL);
-
- /*
- * Target-dependent setup code.
- */
- portab_setup();
-
- /*
- * Initializes a serial-over-USB CDC driver.
- */
- sduObjectInit(&PORTAB_SDU1);
- sduStart(&PORTAB_SDU1, &serusbcfg);
-
- /*
- * Activates the USB driver and then the USB bus pull-up on D+.
- * Note, a delay is inserted in order to not have to disconnect the cable
- * after a reset.
- */
- usbDisconnectBus(serusbcfg.usbp);
- chThdSleepMilliseconds(1500);
- usbStart(serusbcfg.usbp, &usbcfg);
- usbConnectBus(serusbcfg.usbp);
-
- /*
- * Shell manager initialization.
- */
- shellInit();
-
- /*
- * Activates the SDC driver 1 using default configuration.
- */
- sdcStart(&SDCD1, NULL);
-
- /*
- * Activates the card insertion monitor.
- */
- tmr_init(&SDCD1);
-
- /*
- * Creates the blinker thread.
- */
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
-
- /*
- * Creates the HTTPS thread (it changes priority internally).
- */
- chThdCreateStatic(wa_https_server, sizeof(wa_https_server), NORMALPRIO + 1,
- https_server, NULL);
-
- /*
- * Normal main() thread activity, handling SD card events and shell
- * start/exit.
- */
- chEvtRegister(&inserted_event, &el0, 0);
- chEvtRegister(&removed_event, &el1, 1);
- chEvtRegister(&shell_terminated, &el2, 2);
- while (true) {
- if (!shelltp && (PORTAB_SDU1.config->usbp->state == USB_ACTIVE)) {
- shelltp = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
- "shell", NORMALPRIO + 1,
- shellThread, (void *)&shell_cfg1);
- }
- chEvtDispatch(evhndl, chEvtWaitOneTimeout(ALL_EVENTS, TIME_MS2I(500)));
- }
-}
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include <stdio.h>
+#include <string.h>
+
+#include "ch.h"
+#include "hal.h"
+#include "rt_test_root.h"
+
+#include "chprintf.h"
+#include "shell.h"
+
+#include "lwipthread.h"
+#include "web/web.h"
+
+#include "ff.h"
+
+#include "portab.h"
+#include "usbcfg.h"
+
+/*===========================================================================*/
+/* Card insertion monitor. */
+/*===========================================================================*/
+
+#define POLLING_INTERVAL 10
+#define POLLING_DELAY 10
+
+/**
+ * @brief Card monitor timer.
+ */
+static virtual_timer_t tmr;
+
+/**
+ * @brief Debounce counter.
+ */
+static unsigned cnt;
+
+/**
+ * @brief Card event sources.
+ */
+static event_source_t inserted_event, removed_event;
+
+/**
+ * @brief Insertion monitor timer callback function.
+ *
+ * @param[in] p pointer to the @p BaseBlockDevice object
+ *
+ * @notapi
+ */
+static void tmrfunc(void *p) {
+ BaseBlockDevice *bbdp = p;
+
+ chSysLockFromISR();
+ if (cnt > 0) {
+ if (blkIsInserted(bbdp)) {
+ if (--cnt == 0) {
+ chEvtBroadcastI(&inserted_event);
+ }
+ }
+ else
+ cnt = POLLING_INTERVAL;
+ }
+ else {
+ if (!blkIsInserted(bbdp)) {
+ cnt = POLLING_INTERVAL;
+ chEvtBroadcastI(&removed_event);
+ }
+ }
+ chVTSetI(&tmr, TIME_MS2I(POLLING_DELAY), tmrfunc, bbdp);
+ chSysUnlockFromISR();
+}
+
+/**
+ * @brief Polling monitor start.
+ *
+ * @param[in] p pointer to an object implementing @p BaseBlockDevice
+ *
+ * @notapi
+ */
+static void tmr_init(void *p) {
+
+ chEvtObjectInit(&inserted_event);
+ chEvtObjectInit(&removed_event);
+ chSysLock();
+ cnt = POLLING_INTERVAL;
+ chVTSetI(&tmr, TIME_MS2I(POLLING_DELAY), tmrfunc, p);
+ chSysUnlock();
+}
+
+/*===========================================================================*/
+/* FatFs related. */
+/*===========================================================================*/
+
+/**
+ * @brief FS object.
+ */
+static FATFS SDC_FS;
+
+/* FS mounted and ready.*/
+static bool fs_ready = FALSE;
+
+/* Generic large buffer.*/
+static uint8_t fbuff[1024];
+
+static FRESULT scan_files(BaseSequentialStream *chp, char *path) {
+ static FILINFO fno;
+ FRESULT res;
+ DIR dir;
+ size_t i;
+ char *fn;
+
+ res = f_opendir(&dir, path);
+ if (res == FR_OK) {
+ i = strlen(path);
+ while (((res = f_readdir(&dir, &fno)) == FR_OK) && fno.fname[0]) {
+ if (FF_FS_RPATH && fno.fname[0] == '.')
+ continue;
+ fn = fno.fname;
+ if (fno.fattrib & AM_DIR) {
+ *(path + i) = '/';
+ strcpy(path + i + 1, fn);
+ res = scan_files(chp, path);
+ *(path + i) = '\0';
+ if (res != FR_OK)
+ break;
+ }
+ else {
+ chprintf(chp, "%s/%s\r\n", path, fn);
+ }
+ }
+ }
+ return res;
+}
+
+/*===========================================================================*/
+/* Command line related. */
+/*===========================================================================*/
+
+#define SHELL_WA_SIZE THD_WORKING_AREA_SIZE(2048)
+
+static void cmd_tree(BaseSequentialStream *chp, int argc, char *argv[]) {
+ FRESULT err;
+ uint32_t fre_clust;
+ FATFS *fsp;
+
+ (void)argv;
+ if (argc > 0) {
+ chprintf(chp, "Usage: tree\r\n");
+ return;
+ }
+ if (!fs_ready) {
+ chprintf(chp, "File System not mounted\r\n");
+ return;
+ }
+ err = f_getfree("/", &fre_clust, &fsp);
+ if (err != FR_OK) {
+ chprintf(chp, "FS: f_getfree() failed\r\n");
+ return;
+ }
+ chprintf(chp,
+ "FS: %lu free clusters with %lu sectors (%lu bytes) per cluster\r\n",
+ fre_clust, (uint32_t)fsp->csize, (uint32_t)fsp->csize * 512);
+ fbuff[0] = 0;
+ scan_files(chp, (char *)fbuff);
+}
+
+static const ShellCommand commands[] = {
+ {"tree", cmd_tree},
+ {NULL, NULL}
+};
+
+static const ShellConfig shell_cfg1 = {
+ (BaseSequentialStream *)&PORTAB_SDU1,
+ commands
+};
+
+/*===========================================================================*/
+/* Main and generic code. */
+/*===========================================================================*/
+
+static thread_t *shelltp = NULL;
+
+/*
+ * Card insertion event.
+ */
+static void InsertHandler(eventid_t id) {
+ FRESULT err;
+
+ (void)id;
+ /*
+ * On insertion SDC initialization and FS mount.
+ */
+ if (sdcConnect(&SDCD1))
+ return;
+
+ err = f_mount(&SDC_FS, "/", 1);
+ if (err != FR_OK) {
+ sdcDisconnect(&SDCD1);
+ return;
+ }
+ fs_ready = TRUE;
+}
+
+/*
+ * Card removal event.
+ */
+static void RemoveHandler(eventid_t id) {
+
+ (void)id;
+ sdcDisconnect(&SDCD1);
+ fs_ready = FALSE;
+}
+
+/*
+ * Shell exit event.
+ */
+static void ShellHandler(eventid_t id) {
+
+ (void)id;
+ if (chThdTerminatedX(shelltp)) {
+ chThdRelease(shelltp);
+ shelltp = NULL;
+ }
+}
+
+/*
+ * Green LED blinker thread, times are in milliseconds.
+ */
+static THD_WORKING_AREA(waThread1, 128);
+static THD_FUNCTION(Thread1, arg) {
+
+ (void)arg;
+ chRegSetThreadName("blinker");
+ while (true) {
+ palToggleLine(PORTAB_BLINK_LED1);
+ chThdSleepMilliseconds(fs_ready ? 250 : 500);
+ }
+}
+
+/*
+ * Application entry point.
+ */
+int main(void) {
+ static const evhandler_t evhndl[] = {
+ InsertHandler,
+ RemoveHandler,
+ ShellHandler
+ };
+ event_listener_t el0, el1, el2;
+
+ /*
+ * System initializations.
+ * - HAL initialization, this also initializes the configured device drivers
+ * and performs the board-specific initializations.
+ * - Kernel initialization, the main() function becomes a thread and the
+ * RTOS is active.
+ * - lwIP subsystem initialization using the default configuration.
+ */
+ halInit();
+ chSysInit();
+
+ /*
+ * Initialize RNG
+ */
+ rccEnableAHB2(RCC_AHB2ENR_RNGEN, 0);
+ RNG->CR |= RNG_CR_IE;
+ RNG->CR |= RNG_CR_RNGEN;
+
+ /* lwip */
+ lwipInit(NULL);
+
+ /*
+ * Target-dependent setup code.
+ */
+ portab_setup();
+
+ /*
+ * Initializes a serial-over-USB CDC driver.
+ */
+ sduObjectInit(&PORTAB_SDU1);
+ sduStart(&PORTAB_SDU1, &serusbcfg);
+
+ /*
+ * Activates the USB driver and then the USB bus pull-up on D+.
+ * Note, a delay is inserted in order to not have to disconnect the cable
+ * after a reset.
+ */
+ usbDisconnectBus(serusbcfg.usbp);
+ chThdSleepMilliseconds(1500);
+ usbStart(serusbcfg.usbp, &usbcfg);
+ usbConnectBus(serusbcfg.usbp);
+
+ /*
+ * Shell manager initialization.
+ */
+ shellInit();
+
+ /*
+ * Activates the SDC driver 1 using default configuration.
+ */
+ sdcStart(&SDCD1, NULL);
+
+ /*
+ * Activates the card insertion monitor.
+ */
+ tmr_init(&SDCD1);
+
+ /*
+ * Creates the blinker thread.
+ */
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+
+ /*
+ * Creates the HTTPS thread (it changes priority internally).
+ */
+ chThdCreateStatic(wa_https_server, sizeof(wa_https_server), NORMALPRIO + 1,
+ https_server, NULL);
+
+ /*
+ * Normal main() thread activity, handling SD card events and shell
+ * start/exit.
+ */
+ chEvtRegister(&inserted_event, &el0, 0);
+ chEvtRegister(&removed_event, &el1, 1);
+ chEvtRegister(&shell_terminated, &el2, 2);
+ while (true) {
+ if (!shelltp && (PORTAB_SDU1.config->usbp->state == USB_ACTIVE)) {
+ shelltp = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
+ "shell", NORMALPRIO + 1,
+ shellThread, (void *)&shell_cfg1);
+ }
+ chEvtDispatch(evhndl, chEvtWaitOneTimeout(ALL_EVENTS, TIME_MS2I(500)));
+ }
+}
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c
index 61d3553d8..1404b372f 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c
@@ -1,343 +1,343 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "hal.h"
-#include "portab.h"
-
-/* Virtual serial port over USB.*/
-SerialUSBDriver PORTAB_SDU1;
-
-/*
- * Endpoints to be used for USBD1.
- */
-#define USB1_DATA_REQUEST_EP 1
-#define USB1_DATA_AVAILABLE_EP 1
-#define USB1_INTERRUPT_REQUEST_EP 2
-
-/*
- * USB Device Descriptor.
- */
-static const uint8_t vcom_device_descriptor_data[18] = {
- USB_DESC_DEVICE (0x0110, /* bcdUSB (1.1). */
- 0x02, /* bDeviceClass (CDC). */
- 0x00, /* bDeviceSubClass. */
- 0x00, /* bDeviceProtocol. */
- 0x40, /* bMaxPacketSize. */
- 0x0483, /* idVendor (ST). */
- 0x5740, /* idProduct. */
- 0x0200, /* bcdDevice. */
- 1, /* iManufacturer. */
- 2, /* iProduct. */
- 3, /* iSerialNumber. */
- 1) /* bNumConfigurations. */
-};
-
-/*
- * Device Descriptor wrapper.
- */
-static const USBDescriptor vcom_device_descriptor = {
- sizeof vcom_device_descriptor_data,
- vcom_device_descriptor_data
-};
-
-/* Configuration Descriptor tree for a CDC.*/
-static const uint8_t vcom_configuration_descriptor_data[67] = {
- /* Configuration Descriptor.*/
- USB_DESC_CONFIGURATION(67, /* wTotalLength. */
- 0x02, /* bNumInterfaces. */
- 0x01, /* bConfigurationValue. */
- 0, /* iConfiguration. */
- 0xC0, /* bmAttributes (self powered). */
- 50), /* bMaxPower (100mA). */
- /* Interface Descriptor.*/
- USB_DESC_INTERFACE (0x00, /* bInterfaceNumber. */
- 0x00, /* bAlternateSetting. */
- 0x01, /* bNumEndpoints. */
- 0x02, /* bInterfaceClass (Communications
- Interface Class, CDC section
- 4.2). */
- 0x02, /* bInterfaceSubClass (Abstract
- Control Model, CDC section 4.3). */
- 0x01, /* bInterfaceProtocol (AT commands,
- CDC section 4.4). */
- 0), /* iInterface. */
- /* Header Functional Descriptor (CDC section 5.2.3).*/
- USB_DESC_BYTE (5), /* bLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x00), /* bDescriptorSubtype (Header
- Functional Descriptor. */
- USB_DESC_BCD (0x0110), /* bcdCDC. */
- /* Call Management Functional Descriptor. */
- USB_DESC_BYTE (5), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x01), /* bDescriptorSubtype (Call Management
- Functional Descriptor). */
- USB_DESC_BYTE (0x00), /* bmCapabilities (D0+D1). */
- USB_DESC_BYTE (0x01), /* bDataInterface. */
- /* ACM Functional Descriptor.*/
- USB_DESC_BYTE (4), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x02), /* bDescriptorSubtype (Abstract
- Control Management Descriptor). */
- USB_DESC_BYTE (0x02), /* bmCapabilities. */
- /* Union Functional Descriptor.*/
- USB_DESC_BYTE (5), /* bFunctionLength. */
- USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
- USB_DESC_BYTE (0x06), /* bDescriptorSubtype (Union
- Functional Descriptor). */
- USB_DESC_BYTE (0x00), /* bMasterInterface (Communication
- Class Interface). */
- USB_DESC_BYTE (0x01), /* bSlaveInterface0 (Data Class
- Interface). */
- /* Endpoint 2 Descriptor.*/
- USB_DESC_ENDPOINT (USB1_INTERRUPT_REQUEST_EP|0x80,
- 0x03, /* bmAttributes (Interrupt). */
- 0x0008, /* wMaxPacketSize. */
- 0xFF), /* bInterval. */
- /* Interface Descriptor.*/
- USB_DESC_INTERFACE (0x01, /* bInterfaceNumber. */
- 0x00, /* bAlternateSetting. */
- 0x02, /* bNumEndpoints. */
- 0x0A, /* bInterfaceClass (Data Class
- Interface, CDC section 4.5). */
- 0x00, /* bInterfaceSubClass (CDC section
- 4.6). */
- 0x00, /* bInterfaceProtocol (CDC section
- 4.7). */
- 0x00), /* iInterface. */
- /* Endpoint 3 Descriptor.*/
- USB_DESC_ENDPOINT (USB1_DATA_AVAILABLE_EP, /* bEndpointAddress.*/
- 0x02, /* bmAttributes (Bulk). */
- 0x0040, /* wMaxPacketSize. */
- 0x00), /* bInterval. */
- /* Endpoint 1 Descriptor.*/
- USB_DESC_ENDPOINT (USB1_DATA_REQUEST_EP|0x80, /* bEndpointAddress.*/
- 0x02, /* bmAttributes (Bulk). */
- 0x0040, /* wMaxPacketSize. */
- 0x00) /* bInterval. */
-};
-
-/*
- * Configuration Descriptor wrapper.
- */
-static const USBDescriptor vcom_configuration_descriptor = {
- sizeof vcom_configuration_descriptor_data,
- vcom_configuration_descriptor_data
-};
-
-/*
- * U.S. English language identifier.
- */
-static const uint8_t vcom_string0[] = {
- USB_DESC_BYTE(4), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- USB_DESC_WORD(0x0409) /* wLANGID (U.S. English). */
-};
-
-/*
- * Vendor string.
- */
-static const uint8_t vcom_string1[] = {
- USB_DESC_BYTE(38), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- 'S', 0, 'T', 0, 'M', 0, 'i', 0, 'c', 0, 'r', 0, 'o', 0, 'e', 0,
- 'l', 0, 'e', 0, 'c', 0, 't', 0, 'r', 0, 'o', 0, 'n', 0, 'i', 0,
- 'c', 0, 's', 0
-};
-
-/*
- * Device Description string.
- */
-static const uint8_t vcom_string2[] = {
- USB_DESC_BYTE(56), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- 'C', 0, 'h', 0, 'i', 0, 'b', 0, 'i', 0, 'O', 0, 'S', 0, '/', 0,
- 'R', 0, 'T', 0, ' ', 0, 'V', 0, 'i', 0, 'r', 0, 't', 0, 'u', 0,
- 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0, 'M', 0, ' ', 0, 'P', 0,
- 'o', 0, 'r', 0, 't', 0
-};
-
-/*
- * Serial Number string.
- */
-static const uint8_t vcom_string3[] = {
- USB_DESC_BYTE(8), /* bLength. */
- USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
- '0' + CH_KERNEL_MAJOR, 0,
- '0' + CH_KERNEL_MINOR, 0,
- '0' + CH_KERNEL_PATCH, 0
-};
-
-/*
- * Strings wrappers array.
- */
-static const USBDescriptor vcom_strings[] = {
- {sizeof vcom_string0, vcom_string0},
- {sizeof vcom_string1, vcom_string1},
- {sizeof vcom_string2, vcom_string2},
- {sizeof vcom_string3, vcom_string3}
-};
-
-/*
- * Handles the GET_DESCRIPTOR callback. All required descriptors must be
- * handled here.
- */
-static const USBDescriptor *get_descriptor(USBDriver *usbp,
- uint8_t dtype,
- uint8_t dindex,
- uint16_t lang) {
-
- (void)usbp;
- (void)lang;
- switch (dtype) {
- case USB_DESCRIPTOR_DEVICE:
- return &vcom_device_descriptor;
- case USB_DESCRIPTOR_CONFIGURATION:
- return &vcom_configuration_descriptor;
- case USB_DESCRIPTOR_STRING:
- if (dindex < 4)
- return &vcom_strings[dindex];
- }
- return NULL;
-}
-
-/**
- * @brief IN EP1 state.
- */
-static USBInEndpointState ep1instate;
-
-/**
- * @brief OUT EP1 state.
- */
-static USBOutEndpointState ep1outstate;
-
-/**
- * @brief EP1 initialization structure (both IN and OUT).
- */
-static const USBEndpointConfig ep1config = {
- USB_EP_MODE_TYPE_BULK,
- NULL,
- sduDataTransmitted,
- sduDataReceived,
- 0x0040,
- 0x0040,
- &ep1instate,
- &ep1outstate,
- 2,
- NULL
-};
-
-/**
- * @brief IN EP2 state.
- */
-static USBInEndpointState ep2instate;
-
-/**
- * @brief EP2 initialization structure (IN only).
- */
-static const USBEndpointConfig ep2config = {
- USB_EP_MODE_TYPE_INTR,
- NULL,
- sduInterruptTransmitted,
- NULL,
- 0x0010,
- 0x0000,
- &ep2instate,
- NULL,
- 1,
- NULL
-};
-
-/*
- * Handles the USB driver global events.
- */
-static void usb_event(USBDriver *usbp, usbevent_t event) {
- extern SerialUSBDriver PORTAB_SDU1;
-
- switch (event) {
- case USB_EVENT_ADDRESS:
- return;
- case USB_EVENT_CONFIGURED:
- chSysLockFromISR();
-
- /* Enables the endpoints specified into the configuration.
- Note, this callback is invoked from an ISR so I-Class functions
- must be used.*/
- usbInitEndpointI(usbp, USB1_DATA_REQUEST_EP, &ep1config);
- usbInitEndpointI(usbp, USB1_INTERRUPT_REQUEST_EP, &ep2config);
-
- /* Resetting the state of the CDC subsystem.*/
- sduConfigureHookI(&PORTAB_SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_RESET:
- /* Falls into.*/
- case USB_EVENT_UNCONFIGURED:
- /* Falls into.*/
- case USB_EVENT_SUSPEND:
- chSysLockFromISR();
-
- /* Disconnection event on suspend.*/
- sduSuspendHookI(&PORTAB_SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_WAKEUP:
- chSysLockFromISR();
-
- /* Disconnection event on suspend.*/
- sduWakeupHookI(&PORTAB_SDU1);
-
- chSysUnlockFromISR();
- return;
- case USB_EVENT_STALLED:
- return;
- }
- return;
-}
-
-/*
- * Handles the USB driver global events.
- */
-static void sof_handler(USBDriver *usbp) {
-
- (void)usbp;
-
- osalSysLockFromISR();
- sduSOFHookI(&PORTAB_SDU1);
- osalSysUnlockFromISR();
-}
-
-/*
- * USB driver configuration.
- */
-const USBConfig usbcfg = {
- usb_event,
- get_descriptor,
- sduRequestsHook,
- sof_handler
-};
-
-/*
- * Serial over USB driver configuration.
- */
-const SerialUSBConfig serusbcfg = {
- &PORTAB_USB1,
- USB1_DATA_REQUEST_EP,
- USB1_DATA_AVAILABLE_EP,
- USB1_INTERRUPT_REQUEST_EP
-};
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "hal.h"
+#include "portab.h"
+
+/* Virtual serial port over USB.*/
+SerialUSBDriver PORTAB_SDU1;
+
+/*
+ * Endpoints to be used for USBD1.
+ */
+#define USB1_DATA_REQUEST_EP 1
+#define USB1_DATA_AVAILABLE_EP 1
+#define USB1_INTERRUPT_REQUEST_EP 2
+
+/*
+ * USB Device Descriptor.
+ */
+static const uint8_t vcom_device_descriptor_data[18] = {
+ USB_DESC_DEVICE (0x0110, /* bcdUSB (1.1). */
+ 0x02, /* bDeviceClass (CDC). */
+ 0x00, /* bDeviceSubClass. */
+ 0x00, /* bDeviceProtocol. */
+ 0x40, /* bMaxPacketSize. */
+ 0x0483, /* idVendor (ST). */
+ 0x5740, /* idProduct. */
+ 0x0200, /* bcdDevice. */
+ 1, /* iManufacturer. */
+ 2, /* iProduct. */
+ 3, /* iSerialNumber. */
+ 1) /* bNumConfigurations. */
+};
+
+/*
+ * Device Descriptor wrapper.
+ */
+static const USBDescriptor vcom_device_descriptor = {
+ sizeof vcom_device_descriptor_data,
+ vcom_device_descriptor_data
+};
+
+/* Configuration Descriptor tree for a CDC.*/
+static const uint8_t vcom_configuration_descriptor_data[67] = {
+ /* Configuration Descriptor.*/
+ USB_DESC_CONFIGURATION(67, /* wTotalLength. */
+ 0x02, /* bNumInterfaces. */
+ 0x01, /* bConfigurationValue. */
+ 0, /* iConfiguration. */
+ 0xC0, /* bmAttributes (self powered). */
+ 50), /* bMaxPower (100mA). */
+ /* Interface Descriptor.*/
+ USB_DESC_INTERFACE (0x00, /* bInterfaceNumber. */
+ 0x00, /* bAlternateSetting. */
+ 0x01, /* bNumEndpoints. */
+ 0x02, /* bInterfaceClass (Communications
+ Interface Class, CDC section
+ 4.2). */
+ 0x02, /* bInterfaceSubClass (Abstract
+ Control Model, CDC section 4.3). */
+ 0x01, /* bInterfaceProtocol (AT commands,
+ CDC section 4.4). */
+ 0), /* iInterface. */
+ /* Header Functional Descriptor (CDC section 5.2.3).*/
+ USB_DESC_BYTE (5), /* bLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x00), /* bDescriptorSubtype (Header
+ Functional Descriptor. */
+ USB_DESC_BCD (0x0110), /* bcdCDC. */
+ /* Call Management Functional Descriptor. */
+ USB_DESC_BYTE (5), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x01), /* bDescriptorSubtype (Call Management
+ Functional Descriptor). */
+ USB_DESC_BYTE (0x00), /* bmCapabilities (D0+D1). */
+ USB_DESC_BYTE (0x01), /* bDataInterface. */
+ /* ACM Functional Descriptor.*/
+ USB_DESC_BYTE (4), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x02), /* bDescriptorSubtype (Abstract
+ Control Management Descriptor). */
+ USB_DESC_BYTE (0x02), /* bmCapabilities. */
+ /* Union Functional Descriptor.*/
+ USB_DESC_BYTE (5), /* bFunctionLength. */
+ USB_DESC_BYTE (0x24), /* bDescriptorType (CS_INTERFACE). */
+ USB_DESC_BYTE (0x06), /* bDescriptorSubtype (Union
+ Functional Descriptor). */
+ USB_DESC_BYTE (0x00), /* bMasterInterface (Communication
+ Class Interface). */
+ USB_DESC_BYTE (0x01), /* bSlaveInterface0 (Data Class
+ Interface). */
+ /* Endpoint 2 Descriptor.*/
+ USB_DESC_ENDPOINT (USB1_INTERRUPT_REQUEST_EP|0x80,
+ 0x03, /* bmAttributes (Interrupt). */
+ 0x0008, /* wMaxPacketSize. */
+ 0xFF), /* bInterval. */
+ /* Interface Descriptor.*/
+ USB_DESC_INTERFACE (0x01, /* bInterfaceNumber. */
+ 0x00, /* bAlternateSetting. */
+ 0x02, /* bNumEndpoints. */
+ 0x0A, /* bInterfaceClass (Data Class
+ Interface, CDC section 4.5). */
+ 0x00, /* bInterfaceSubClass (CDC section
+ 4.6). */
+ 0x00, /* bInterfaceProtocol (CDC section
+ 4.7). */
+ 0x00), /* iInterface. */
+ /* Endpoint 3 Descriptor.*/
+ USB_DESC_ENDPOINT (USB1_DATA_AVAILABLE_EP, /* bEndpointAddress.*/
+ 0x02, /* bmAttributes (Bulk). */
+ 0x0040, /* wMaxPacketSize. */
+ 0x00), /* bInterval. */
+ /* Endpoint 1 Descriptor.*/
+ USB_DESC_ENDPOINT (USB1_DATA_REQUEST_EP|0x80, /* bEndpointAddress.*/
+ 0x02, /* bmAttributes (Bulk). */
+ 0x0040, /* wMaxPacketSize. */
+ 0x00) /* bInterval. */
+};
+
+/*
+ * Configuration Descriptor wrapper.
+ */
+static const USBDescriptor vcom_configuration_descriptor = {
+ sizeof vcom_configuration_descriptor_data,
+ vcom_configuration_descriptor_data
+};
+
+/*
+ * U.S. English language identifier.
+ */
+static const uint8_t vcom_string0[] = {
+ USB_DESC_BYTE(4), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ USB_DESC_WORD(0x0409) /* wLANGID (U.S. English). */
+};
+
+/*
+ * Vendor string.
+ */
+static const uint8_t vcom_string1[] = {
+ USB_DESC_BYTE(38), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ 'S', 0, 'T', 0, 'M', 0, 'i', 0, 'c', 0, 'r', 0, 'o', 0, 'e', 0,
+ 'l', 0, 'e', 0, 'c', 0, 't', 0, 'r', 0, 'o', 0, 'n', 0, 'i', 0,
+ 'c', 0, 's', 0
+};
+
+/*
+ * Device Description string.
+ */
+static const uint8_t vcom_string2[] = {
+ USB_DESC_BYTE(56), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ 'C', 0, 'h', 0, 'i', 0, 'b', 0, 'i', 0, 'O', 0, 'S', 0, '/', 0,
+ 'R', 0, 'T', 0, ' ', 0, 'V', 0, 'i', 0, 'r', 0, 't', 0, 'u', 0,
+ 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0, 'M', 0, ' ', 0, 'P', 0,
+ 'o', 0, 'r', 0, 't', 0
+};
+
+/*
+ * Serial Number string.
+ */
+static const uint8_t vcom_string3[] = {
+ USB_DESC_BYTE(8), /* bLength. */
+ USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType. */
+ '0' + CH_KERNEL_MAJOR, 0,
+ '0' + CH_KERNEL_MINOR, 0,
+ '0' + CH_KERNEL_PATCH, 0
+};
+
+/*
+ * Strings wrappers array.
+ */
+static const USBDescriptor vcom_strings[] = {
+ {sizeof vcom_string0, vcom_string0},
+ {sizeof vcom_string1, vcom_string1},
+ {sizeof vcom_string2, vcom_string2},
+ {sizeof vcom_string3, vcom_string3}
+};
+
+/*
+ * Handles the GET_DESCRIPTOR callback. All required descriptors must be
+ * handled here.
+ */
+static const USBDescriptor *get_descriptor(USBDriver *usbp,
+ uint8_t dtype,
+ uint8_t dindex,
+ uint16_t lang) {
+
+ (void)usbp;
+ (void)lang;
+ switch (dtype) {
+ case USB_DESCRIPTOR_DEVICE:
+ return &vcom_device_descriptor;
+ case USB_DESCRIPTOR_CONFIGURATION:
+ return &vcom_configuration_descriptor;
+ case USB_DESCRIPTOR_STRING:
+ if (dindex < 4)
+ return &vcom_strings[dindex];
+ }
+ return NULL;
+}
+
+/**
+ * @brief IN EP1 state.
+ */
+static USBInEndpointState ep1instate;
+
+/**
+ * @brief OUT EP1 state.
+ */
+static USBOutEndpointState ep1outstate;
+
+/**
+ * @brief EP1 initialization structure (both IN and OUT).
+ */
+static const USBEndpointConfig ep1config = {
+ USB_EP_MODE_TYPE_BULK,
+ NULL,
+ sduDataTransmitted,
+ sduDataReceived,
+ 0x0040,
+ 0x0040,
+ &ep1instate,
+ &ep1outstate,
+ 2,
+ NULL
+};
+
+/**
+ * @brief IN EP2 state.
+ */
+static USBInEndpointState ep2instate;
+
+/**
+ * @brief EP2 initialization structure (IN only).
+ */
+static const USBEndpointConfig ep2config = {
+ USB_EP_MODE_TYPE_INTR,
+ NULL,
+ sduInterruptTransmitted,
+ NULL,
+ 0x0010,
+ 0x0000,
+ &ep2instate,
+ NULL,
+ 1,
+ NULL
+};
+
+/*
+ * Handles the USB driver global events.
+ */
+static void usb_event(USBDriver *usbp, usbevent_t event) {
+ extern SerialUSBDriver PORTAB_SDU1;
+
+ switch (event) {
+ case USB_EVENT_ADDRESS:
+ return;
+ case USB_EVENT_CONFIGURED:
+ chSysLockFromISR();
+
+ /* Enables the endpoints specified into the configuration.
+ Note, this callback is invoked from an ISR so I-Class functions
+ must be used.*/
+ usbInitEndpointI(usbp, USB1_DATA_REQUEST_EP, &ep1config);
+ usbInitEndpointI(usbp, USB1_INTERRUPT_REQUEST_EP, &ep2config);
+
+ /* Resetting the state of the CDC subsystem.*/
+ sduConfigureHookI(&PORTAB_SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_RESET:
+ /* Falls into.*/
+ case USB_EVENT_UNCONFIGURED:
+ /* Falls into.*/
+ case USB_EVENT_SUSPEND:
+ chSysLockFromISR();
+
+ /* Disconnection event on suspend.*/
+ sduSuspendHookI(&PORTAB_SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_WAKEUP:
+ chSysLockFromISR();
+
+ /* Disconnection event on suspend.*/
+ sduWakeupHookI(&PORTAB_SDU1);
+
+ chSysUnlockFromISR();
+ return;
+ case USB_EVENT_STALLED:
+ return;
+ }
+ return;
+}
+
+/*
+ * Handles the USB driver global events.
+ */
+static void sof_handler(USBDriver *usbp) {
+
+ (void)usbp;
+
+ osalSysLockFromISR();
+ sduSOFHookI(&PORTAB_SDU1);
+ osalSysUnlockFromISR();
+}
+
+/*
+ * USB driver configuration.
+ */
+const USBConfig usbcfg = {
+ usb_event,
+ get_descriptor,
+ sduRequestsHook,
+ sof_handler
+};
+
+/*
+ * Serial over USB driver configuration.
+ */
+const SerialUSBConfig serusbcfg = {
+ &PORTAB_USB1,
+ USB1_DATA_REQUEST_EP,
+ USB1_DATA_AVAILABLE_EP,
+ USB1_INTERRUPT_REQUEST_EP
+};
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.h
index 29d09bb83..f0b40ba8f 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.h
@@ -1,26 +1,26 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef USBCFG_H
-#define USBCFG_H
-
-extern const USBConfig usbcfg;
-extern SerialUSBConfig serusbcfg;
-extern SerialUSBDriver PORTAB_SDU1;
-
-#endif /* USBCFG_H */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef USBCFG_H
+#define USBCFG_H
+
+extern const USBConfig usbcfg;
+extern SerialUSBConfig serusbcfg;
+extern SerialUSBDriver PORTAB_SDU1;
+
+#endif /* USBCFG_H */
+
+/** @} */
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.c
index 37ce099e7..a8a6385fc 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.c
@@ -1,217 +1,217 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/*
- * This file is a modified version of the lwIP web server demo. The original
- * author is unknown because the file didn't contain any license information.
- *
- * The HTTPS version is Copyright (C) 2017 - WolfSSL Inc. and is based on the
- * demo HTTP code of ChibiOS.
- */
-
-
-/**
- * @file web.c
- * @brief HTTPS server wrapper thread code.
- * @addtogroup WEB_THREAD
- * @{
- */
-
-#include <ctype.h>
-
-#include "ch.h"
-
-#include "lwip/opt.h"
-#include "lwip/arch.h"
-#include "lwip/api.h"
-
-#include "wolfssl_chibios.h"
-#include "web.h"
-
-#if LWIP_NETCONN
-
-static char url_buffer[WEB_MAX_PATH_SIZE];
-extern unsigned char server_cert[];
-extern unsigned int server_cert_len;
-extern unsigned char server_key[];
-extern unsigned int server_key_len;
-
-#define HEXTOI(x) (isdigit(x) ? (x) - '0' : (x) - 'a' + 10)
-
-/**
- * @brief Decodes an URL sting.
- * @note The string is terminated by a zero or a separator.
- *
- * @param[in] url encoded URL string
- * @param[out] buf buffer for the processed string
- * @param[in] max max number of chars to copy into the buffer
- * @return The conversion status.
- * @retval false string converted.
- * @retval true the string was not valid or the buffer overflowed
- *
- * @notapi
- */
-static bool decode_url(const char *url, char *buf, size_t max) {
-
- while (true) {
- int h, l;
- unsigned c = *url++;
-
- switch (c) {
- case 0:
- case '\r':
- case '\n':
- case '\t':
- case ' ':
- case '?':
- *buf = 0;
- return false;
- case '.':
- if (max <= 1)
- return true;
-
- h = *(url + 1);
- if (h == '.')
- return true;
-
- break;
- case '%':
- if (max <= 1)
- return true;
-
- h = tolower((int)*url++);
- if (h == 0)
- return true;
- if (!isxdigit(h))
- return true;
-
- l = tolower((int)*url++);
- if (l == 0)
- return true;
- if (!isxdigit(l))
- return true;
-
- c = (char)((HEXTOI(h) << 4) | HEXTOI(l));
- break;
- default:
- if (max <= 1)
- return true;
-
- if (!isalnum(c) && (c != '_') && (c != '-') && (c != '+') &&
- (c != '/'))
- return true;
-
- break;
- }
-
- *buf++ = c;
- max--;
- }
-}
-
-
-#define MAX_HTTPREQ_SIZE 256
-static const char http_html_hdr[] = "HTTP/1.1 200 OK\r\nContent-type: text/html\r\n\r\n";
-static const char http_index_html[] = "<html><head><title>Congrats!</title></head><body><h1>Welcome to chibiOS HTTPS server!</h1><p>Powered by LwIP + WolfSSL</body></html>";
-
-static char inbuf[MAX_HTTPREQ_SIZE];
-static void https_server_serve(sslconn *sc)
-{
- int ret;
-
- /* Read the data from the port, blocking if nothing yet there.
- We assume the request (the part we care about) is in one netbuf.*/
- ret = wolfSSL_read(sc->ssl, inbuf, MAX_HTTPREQ_SIZE);
- if (ret >= 5 &&
- inbuf[0] == 'G' &&
- inbuf[1] == 'E' &&
- inbuf[2] == 'T' &&
- inbuf[3] == ' ' &&
- inbuf[4] == '/') {
-
- if (decode_url(inbuf + 4, url_buffer, WEB_MAX_PATH_SIZE)) {
- /* Invalid URL handling.*/
- return;
- }
-
- /* Send the HTML header
- * subtract 1 from the size, since we dont send the \0 in the string
- * NETCONN_NOCOPY: our data is const static, so no need to copy it
- */
- wolfSSL_write(sc->ssl, http_html_hdr, sizeof(http_html_hdr)-1);
-
- /* Send our HTML page */
- wolfSSL_write(sc->ssl, http_index_html, sizeof(http_index_html)-1);
- }
-}
-
-/**
- * @brief Stack area for the http thread.
- */
-THD_WORKING_AREA(wa_https_server, WEB_THREAD_STACK_SIZE);
-
-/**
- * @brssl HTTPS server thread.
- */
-THD_FUNCTION(https_server, p) {
- sslconn *sc, *newsc;
- (void)p;
- chRegSetThreadName("https");
-
- /* Initialize wolfSSL */
- wolfSSL_Init();
-
- /* Create a new SSL connection handle */
- sc = sslconn_new(NETCONN_TCP, wolfTLSv1_2_server_method());
- if (!sc) {
- while(1) {}
- }
-
- /* Load certificate file for the HTTPS server */
- if (wolfSSL_CTX_use_certificate_buffer(sc->ctx, server_cert,
- server_cert_len, SSL_FILETYPE_ASN1 ) != SSL_SUCCESS)
- while(1) {}
-
- /* Load the private key */
- if (wolfSSL_CTX_use_PrivateKey_buffer(sc->ctx, server_key,
- server_key_len, SSL_FILETYPE_ASN1 ) != SSL_SUCCESS)
- while(1) {}
-
- /* Bind to port 443 (HTTPS) with default IP address */
- netconn_bind(sc->conn, NULL, WEB_THREAD_PORT);
-
- /* Put the connection into LISTEN state */
- netconn_listen(sc->conn);
-
- /* Goes to the final priority after initialization.*/
- chThdSetPriority(WEB_THREAD_PRIORITY);
-
- /* Listening loop */
- while (true) {
- newsc = sslconn_accept(sc);
- if (!newsc) {
- chThdSleepMilliseconds(500);
- continue;
- }
- /* New connection: a new SSL connector is spawned */
- https_server_serve(newsc);
- sslconn_close(newsc);
- }
-}
-
-#endif /* LWIP_NETCONN */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/*
+ * This file is a modified version of the lwIP web server demo. The original
+ * author is unknown because the file didn't contain any license information.
+ *
+ * The HTTPS version is Copyright (C) 2017 - WolfSSL Inc. and is based on the
+ * demo HTTP code of ChibiOS.
+ */
+
+
+/**
+ * @file web.c
+ * @brief HTTPS server wrapper thread code.
+ * @addtogroup WEB_THREAD
+ * @{
+ */
+
+#include <ctype.h>
+
+#include "ch.h"
+
+#include "lwip/opt.h"
+#include "lwip/arch.h"
+#include "lwip/api.h"
+
+#include "wolfssl_chibios.h"
+#include "web.h"
+
+#if LWIP_NETCONN
+
+static char url_buffer[WEB_MAX_PATH_SIZE];
+extern unsigned char server_cert[];
+extern unsigned int server_cert_len;
+extern unsigned char server_key[];
+extern unsigned int server_key_len;
+
+#define HEXTOI(x) (isdigit(x) ? (x) - '0' : (x) - 'a' + 10)
+
+/**
+ * @brief Decodes an URL sting.
+ * @note The string is terminated by a zero or a separator.
+ *
+ * @param[in] url encoded URL string
+ * @param[out] buf buffer for the processed string
+ * @param[in] max max number of chars to copy into the buffer
+ * @return The conversion status.
+ * @retval false string converted.
+ * @retval true the string was not valid or the buffer overflowed
+ *
+ * @notapi
+ */
+static bool decode_url(const char *url, char *buf, size_t max) {
+
+ while (true) {
+ int h, l;
+ unsigned c = *url++;
+
+ switch (c) {
+ case 0:
+ case '\r':
+ case '\n':
+ case '\t':
+ case ' ':
+ case '?':
+ *buf = 0;
+ return false;
+ case '.':
+ if (max <= 1)
+ return true;
+
+ h = *(url + 1);
+ if (h == '.')
+ return true;
+
+ break;
+ case '%':
+ if (max <= 1)
+ return true;
+
+ h = tolower((int)*url++);
+ if (h == 0)
+ return true;
+ if (!isxdigit(h))
+ return true;
+
+ l = tolower((int)*url++);
+ if (l == 0)
+ return true;
+ if (!isxdigit(l))
+ return true;
+
+ c = (char)((HEXTOI(h) << 4) | HEXTOI(l));
+ break;
+ default:
+ if (max <= 1)
+ return true;
+
+ if (!isalnum(c) && (c != '_') && (c != '-') && (c != '+') &&
+ (c != '/'))
+ return true;
+
+ break;
+ }
+
+ *buf++ = c;
+ max--;
+ }
+}
+
+
+#define MAX_HTTPREQ_SIZE 256
+static const char http_html_hdr[] = "HTTP/1.1 200 OK\r\nContent-type: text/html\r\n\r\n";
+static const char http_index_html[] = "<html><head><title>Congrats!</title></head><body><h1>Welcome to chibiOS HTTPS server!</h1><p>Powered by LwIP + WolfSSL</body></html>";
+
+static char inbuf[MAX_HTTPREQ_SIZE];
+static void https_server_serve(sslconn *sc)
+{
+ int ret;
+
+ /* Read the data from the port, blocking if nothing yet there.
+ We assume the request (the part we care about) is in one netbuf.*/
+ ret = wolfSSL_read(sc->ssl, inbuf, MAX_HTTPREQ_SIZE);
+ if (ret >= 5 &&
+ inbuf[0] == 'G' &&
+ inbuf[1] == 'E' &&
+ inbuf[2] == 'T' &&
+ inbuf[3] == ' ' &&
+ inbuf[4] == '/') {
+
+ if (decode_url(inbuf + 4, url_buffer, WEB_MAX_PATH_SIZE)) {
+ /* Invalid URL handling.*/
+ return;
+ }
+
+ /* Send the HTML header
+ * subtract 1 from the size, since we dont send the \0 in the string
+ * NETCONN_NOCOPY: our data is const static, so no need to copy it
+ */
+ wolfSSL_write(sc->ssl, http_html_hdr, sizeof(http_html_hdr)-1);
+
+ /* Send our HTML page */
+ wolfSSL_write(sc->ssl, http_index_html, sizeof(http_index_html)-1);
+ }
+}
+
+/**
+ * @brief Stack area for the http thread.
+ */
+THD_WORKING_AREA(wa_https_server, WEB_THREAD_STACK_SIZE);
+
+/**
+ * @brssl HTTPS server thread.
+ */
+THD_FUNCTION(https_server, p) {
+ sslconn *sc, *newsc;
+ (void)p;
+ chRegSetThreadName("https");
+
+ /* Initialize wolfSSL */
+ wolfSSL_Init();
+
+ /* Create a new SSL connection handle */
+ sc = sslconn_new(NETCONN_TCP, wolfTLSv1_2_server_method());
+ if (!sc) {
+ while(1) {}
+ }
+
+ /* Load certificate file for the HTTPS server */
+ if (wolfSSL_CTX_use_certificate_buffer(sc->ctx, server_cert,
+ server_cert_len, SSL_FILETYPE_ASN1 ) != SSL_SUCCESS)
+ while(1) {}
+
+ /* Load the private key */
+ if (wolfSSL_CTX_use_PrivateKey_buffer(sc->ctx, server_key,
+ server_key_len, SSL_FILETYPE_ASN1 ) != SSL_SUCCESS)
+ while(1) {}
+
+ /* Bind to port 443 (HTTPS) with default IP address */
+ netconn_bind(sc->conn, NULL, WEB_THREAD_PORT);
+
+ /* Put the connection into LISTEN state */
+ netconn_listen(sc->conn);
+
+ /* Goes to the final priority after initialization.*/
+ chThdSetPriority(WEB_THREAD_PRIORITY);
+
+ /* Listening loop */
+ while (true) {
+ newsc = sslconn_accept(sc);
+ if (!newsc) {
+ chThdSleepMilliseconds(500);
+ continue;
+ }
+ /* New connection: a new SSL connector is spawned */
+ https_server_serve(newsc);
+ sslconn_close(newsc);
+ }
+}
+
+#endif /* LWIP_NETCONN */
+
+/** @} */
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.h
index 0c5e2ab99..e43139d11 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/web/web.h
@@ -1,55 +1,55 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file web.h
- * @brief HTTP server wrapper thread macros and structures.
- * @addtogroup WEB_THREAD
- * @{
- */
-
-#ifndef WEB_H
-#define WEB_H
-
-#if !defined(WEB_THREAD_STACK_SIZE)
-#define WEB_THREAD_STACK_SIZE (16 * 1024)
-#endif
-
-#if !defined(WEB_THREAD_PORT)
-#define WEB_THREAD_PORT 443
-#endif
-
-#if !defined(WEB_THREAD_PRIORITY)
-#define WEB_THREAD_PRIORITY (LOWPRIO + 2)
-#endif
-
-#if !defined(WEB_MAX_PATH_SIZE)
-#define WEB_MAX_PATH_SIZE 128
-#endif
-
-extern THD_WORKING_AREA(wa_https_server, WEB_THREAD_STACK_SIZE);
-
-#ifdef __cplusplus
-extern "C" {
-#endif
- THD_FUNCTION(https_server, p);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* WEB_H */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file web.h
+ * @brief HTTP server wrapper thread macros and structures.
+ * @addtogroup WEB_THREAD
+ * @{
+ */
+
+#ifndef WEB_H
+#define WEB_H
+
+#if !defined(WEB_THREAD_STACK_SIZE)
+#define WEB_THREAD_STACK_SIZE (16 * 1024)
+#endif
+
+#if !defined(WEB_THREAD_PORT)
+#define WEB_THREAD_PORT 443
+#endif
+
+#if !defined(WEB_THREAD_PRIORITY)
+#define WEB_THREAD_PRIORITY (LOWPRIO + 2)
+#endif
+
+#if !defined(WEB_MAX_PATH_SIZE)
+#define WEB_MAX_PATH_SIZE 128
+#endif
+
+extern THD_WORKING_AREA(wa_https_server, WEB_THREAD_STACK_SIZE);
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ THD_FUNCTION(https_server, p);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* WEB_H */
+
+/** @} */
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/chconf.h
index 384e03a78..56da29fa9 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/chconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h
index dd0b5af19..ac5b74749 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/mcuconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/mcuconf.h
index a5c8ce41a..f1526ce92 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/mcuconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.c
index 9a123819a..6ac4d6cc6 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.h
index a9ba34d7c..c4db61da6 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/chconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h
index 97a71f639..0ef7c21c8 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/mcuconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/mcuconf.h
index a5adeb628..bdbf6ad39 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/mcuconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.c
index 4c54b2835..d91c65d31 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.h
index 618673fe7..078f271e2 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/chconf.h
index f2a2d72c3..9104e4551 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/chconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h
index 97a71f639..0ef7c21c8 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/mcuconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/mcuconf.h
index 2b95f6ed1..31750430d 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/mcuconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.c
index a3fd920e9..5eb3b33f3 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.h
index 56e84c198..465ff26dc 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c
index cafb3dece..ff591be05 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c
index ff290eebb..1404b372f 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.h
index 0dfe7710d..f0b40ba8f 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h
index 2230fb576..260a1cc82 100644
--- a/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c b/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO64/mcuconf.h
index dea87437c..94177c114 100644
--- a/demos/STM32/RT-STM32F030R8-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h
index 0dfa7a98f..0ee744e0c 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c
index bc5723384..a7e5b8544 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/mcuconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/mcuconf.h
index dbfa093b9..a7167de86 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/mcuconf.h
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h
index 95e18c617..522791d24 100644
--- a/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c b/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c
index a9b66d3ee..b3cd78d51 100644
--- a/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c
+++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/mcuconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/mcuconf.h
index 6db87e57b..87c3db305 100644
--- a/demos/STM32/RT-STM32F042K6-NUCLEO32/mcuconf.h
+++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h
index 95e18c617..522791d24 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/main.c b/demos/STM32/RT-STM32F051-DISCOVERY/main.c
index 9e76b1e00..dd7f5556b 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h
index 49aaf37d1..b4ef0a775 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h
index 70130a772..dced51a2c 100644
--- a/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F070RB-NUCLEO64/mcuconf.h
index b0d21e4b4..adbac7ac9 100644
--- a/demos/STM32/RT-STM32F070RB-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h
index 95e18c617..522791d24 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/main.c b/demos/STM32/RT-STM32F072-DISCOVERY/main.c
index 46d57a566..4a04b5e8a 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h
index 63fd3852c..c505e029e 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h
index 95e18c617..522791d24 100644
--- a/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c
index 8c7e13d5a..8cba7d7a7 100644
--- a/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO64/mcuconf.h
index c51384690..55c62e4d1 100644
--- a/demos/STM32/RT-STM32F072RB-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h
index 95e18c617..522791d24 100644
--- a/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c b/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO64/mcuconf.h
index 00c8ccdbb..c30e375c0 100644
--- a/demos/STM32/RT-STM32F091RC-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h
index 2230fb576..260a1cc82 100644
--- a/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/main.c b/demos/STM32/RT-STM32F100-DISCOVERY/main.c
index 7cddc53cd..fd2e83c59 100644
--- a/demos/STM32/RT-STM32F100-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F100-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/mcuconf.h
index c205d9594..6b6c1323b 100644
--- a/demos/STM32/RT-STM32F100-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F100-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h
index 703e18134..382f77669 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
index a52cf6961..3772676ad 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/main.c b/demos/STM32/RT-STM32F103-MAPLEMINI/main.c
index 4e1c7ac35..f2b0d01a4 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/main.c
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/mcuconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/mcuconf.h
index ec722cb54..a89194897 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/mcuconf.h
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c b/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.h b/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.h
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h
index 1131a3e46..cfa82178f 100755
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
index c4dde3c34..c0f3534e1 100755
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c
index 20c5f5b1d..0e6034b38 100755
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/mcuconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/mcuconf.h
index 006cbe03b..1ec7bbcb1 100755
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/mcuconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
index 1131a3e46..cfa82178f 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c
index f81c2f9b1..5a84785d8 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h
index 3b8be0dab..60a1e66e8 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h
index 1131a3e46..cfa82178f 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
index f01c0a6c2..6e778bf8f 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c
index fa411e5ec..3b87d4e85 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/mcuconf.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/mcuconf.h
index ec722cb54..a89194897 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/mcuconf.h
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.h
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h
index 60b0d1036..6cd11cc27 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO64/mcuconf.h
index 685a495c2..f54c1af72 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h
index 1131a3e46..cfa82178f 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
index a52cf6961..3772676ad 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c
index 3e91ef18c..3bcfb3059 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/mcuconf.h
index ec722cb54..a89194897 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.h
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h
index d3bc5425c..ecb293dc3 100644
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h
index 065e002b9..32663511c 100644
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/mcuconf.h b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/mcuconf.h
index 90e9fd689..4343ec799 100755
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/mcuconf.h
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c
index 93c9e88ce..4a64d165e 100644
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOSch_ - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.c b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.c
index 736589b3c..9756b5a5e 100644
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.c
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.h b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.h
index e1d48379a..edcd62ae3 100644
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.h
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/web/web.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/main.c b/demos/STM32/RT-STM32F207-DISCOVERY/main.c
index 0c8fd5d07..197854224 100644
--- a/demos/STM32/RT-STM32F207-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F207-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/mcuconf.h
index 56e75a6c1..70897bdfd 100644
--- a/demos/STM32/RT-STM32F207-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F207-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c b/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c
index 8cfc7fc38..33e022883 100644
--- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32F207ZG-NUCLEO144/mcuconf.h
index a1905106a..819c260ec 100644
--- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c b/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c
index 24cae4bc2..daea3c9d7 100644
--- a/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO64/mcuconf.h
index f0c2f9318..13341df65 100644
--- a/demos/STM32/RT-STM32F302R8-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/halconf.h b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/halconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c
index 02b924ec4..1231cd275 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c
+++ b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/mcuconf.h b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/mcuconf.h
index 88f6ed1f4..6c9c3ffe0 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/mcuconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
index b08295299..2289663f5 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/main.c b/demos/STM32/RT-STM32F303-DISCOVERY/main.c
index 00d870219..3c8767cf2 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/mcuconf.h
index 88f6ed1f4..6c9c3ffe0 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c b/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c
index 9db2932f4..9f9205403 100644
--- a/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c
+++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/mcuconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/mcuconf.h
index eb1a603f5..e2e79a526 100644
--- a/demos/STM32/RT-STM32F303K8-NUCLEO32/mcuconf.h
+++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/mcuconf.h
index 92976fda5..ef132ceaf 100644
--- a/demos/STM32/RT-STM32F303RE-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c b/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c
index 8cfc7fc38..33e022883 100644
--- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/mcuconf.h
index 6c1e6bba0..92be9f8aa 100644
--- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/main.c b/demos/STM32/RT-STM32F334-DISCOVERY/main.c
index 36f13f5ea..90fb1276d 100644
--- a/demos/STM32/RT-STM32F334-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F334-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h
index b1c119e55..a35065a6f 100644
--- a/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c b/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h
index b1c119e55..a35065a6f 100644
--- a/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c
index f9558a838..60a26b742 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/mcuconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/mcuconf.h
index c7b46d26c..0a5deff96 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/mcuconf.h
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/main.c b/demos/STM32/RT-STM32F401C-DISCOVERY/main.c
index 0c8fd5d07..197854224 100644
--- a/demos/STM32/RT-STM32F401C-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F401C-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/mcuconf.h
index 9f017742b..649a12fb8 100644
--- a/demos/STM32/RT-STM32F401C-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F401C-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F401RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c
index d24f8c7aa..316195a62 100644
--- a/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO64/mcuconf.h
index a9d2e403d..b110fa705 100644
--- a/demos/STM32/RT-STM32F401RE-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h
index 4662fae6b..7b3b83f2c 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
index 5bded0d10..bda6ef544 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
index 5ebcdc852..382148e7c 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/mcuconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/mcuconf.h
index fd2b027b3..882e515c7 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/mcuconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/main.c b/demos/STM32/RT-STM32F407-DISCOVERY/main.c
index 0c8fd5d07..197854224 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h
index 6cd1b89d3..d04cdfa77 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c b/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F410RB-NUCLEO64/mcuconf.h
index fdd70ecc8..67262893f 100644
--- a/demos/STM32/RT-STM32F410RB-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO64/mcuconf.h
index f2ce2150d..a32d69f55 100644
--- a/demos/STM32/RT-STM32F411RE-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c b/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c
index 8cfc7fc38..33e022883 100644
--- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32F412ZG-NUCLEO144/mcuconf.h
index e16aa8bf4..5dfea7cd2 100644
--- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
index a52cf6961..3772676ad 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/main.c b/demos/STM32/RT-STM32F429-DISCOVERY/main.c
index 2637e31f8..fc1a9cd9b 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/mcuconf.h
index ea928c935..05810d0d9 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c b/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c
index 5121b03aa..906bf880b 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.h b/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.h
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c b/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c
index 8cfc7fc38..33e022883 100644
--- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32F429ZI-NUCLEO144/mcuconf.h
index 9e3fd3e88..b71823e01 100644
--- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c b/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F446RE-NUCLEO64/mcuconf.h
index 1d87f8e9c..023647cc2 100644
--- a/demos/STM32/RT-STM32F446RE-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c b/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c
index 8cfc7fc38..33e022883 100644
--- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32F446ZE-NUCLEO144/mcuconf.h
index c043f746c..1db2fb533 100644
--- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h
index f4f463381..702ccab37 100644
--- a/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h
index e25841d70..1d8f20e6a 100644
--- a/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/main.c b/demos/STM32/RT-STM32F469I-DISCOVERY/main.c
index 6cade4727..1714d8c54 100644
--- a/demos/STM32/RT-STM32F469I-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F469I-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F469I-DISCOVERY/mcuconf.h
index d95a451a9..cbb83d098 100644
--- a/demos/STM32/RT-STM32F469I-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F469I-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h
index 1a1d8b293..665a147d4 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
index 5f257e98b..3427b4d80 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h
index 773b73d7f..2d5eea42c 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h
index f2a2d72c3..9104e4551 100644
--- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c b/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c
index 8cfc7fc38..33e022883 100644
--- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32F746ZG-NUCLEO144/mcuconf.h
index 7e767d181..339be343e 100644
--- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h
index f2a2d72c3..9104e4551 100644
--- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c b/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c
index 8cfc7fc38..33e022883 100644
--- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32F767ZI-NUCLEO144/mcuconf.h
index 7d9c3f1a7..fd9272b39 100644
--- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/main.c b/demos/STM32/RT-STM32F769I-DISCOVERY/main.c
index 57a2f4eb2..2d9295585 100644
--- a/demos/STM32/RT-STM32F769I-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F769I-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F769I-DISCOVERY/mcuconf.h
index ac17cc1a6..10436986d 100644
--- a/demos/STM32/RT-STM32F769I-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F769I-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/chconf.h b/demos/STM32/RT-STM32H743I-NUCLEO144/chconf.h
index 1a1d8b293..665a147d4 100644
--- a/demos/STM32/RT-STM32H743I-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32H743I-NUCLEO144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h b/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h
index 1a1fdd7d1..d5b1eef58 100644
--- a/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/main.c b/demos/STM32/RT-STM32H743I-NUCLEO144/main.c
index 71ade98e0..890322cac 100644
--- a/demos/STM32/RT-STM32H743I-NUCLEO144/main.c
+++ b/demos/STM32/RT-STM32H743I-NUCLEO144/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
index 4925af289..3bb8c9dfc 100644
--- a/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h
index 2230fb576..260a1cc82 100644
--- a/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c b/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c
index a7311819a..b3f9c99d0 100644
--- a/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c
+++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h
index 9f0cebc96..4f3bb8b08 100644
--- a/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h
+++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h
index 2230fb576..260a1cc82 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/main.c b/demos/STM32/RT-STM32L053-DISCOVERY/main.c
index b56715e91..29816d106 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h
index b99e21477..89b9135e5 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c b/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.h b/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.h
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h
index 2230fb576..260a1cc82 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c b/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h
index 4503c942c..142bbd68f 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h
index 2230fb576..260a1cc82 100644
--- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c b/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h
index fb6cdf8ad..150b2648f 100644
--- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h
index c903d71e6..150ec4341 100644
--- a/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/main.c b/demos/STM32/RT-STM32L152-DISCOVERY/main.c
index 115accc1b..c6dfa5e2e 100644
--- a/demos/STM32/RT-STM32L152-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32L152-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/mcuconf.h
index 5c803b523..12ac88d3f 100644
--- a/demos/STM32/RT-STM32L152-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32L152-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c b/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c
index 1d6a2b831..008949cd8 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO64/mcuconf.h
index 6f41c86e9..eac1c272b 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c b/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c
index a492947c1..593091390 100644
--- a/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c
+++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/mcuconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/mcuconf.h
index 97ba89f4f..dc9259869 100644
--- a/demos/STM32/RT-STM32L432KC-NUCLEO32/mcuconf.h
+++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h b/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/halconf.h b/demos/STM32/RT-STM32L476-DISCOVERY/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32L476-DISCOVERY/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/main.c b/demos/STM32/RT-STM32L476-DISCOVERY/main.c
index 092987da9..e8381a231 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32L476-DISCOVERY/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32L476-DISCOVERY/mcuconf.h
index fa8a9a690..81c061785 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32L476-DISCOVERY/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h
index 814f73584..899a292ef 100644
--- a/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h
index d7793e22c..3bbdf547f 100644
--- a/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c b/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c
index 6e02c9f8b..01de0741b 100644
--- a/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c
+++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO64/mcuconf.h
index 30d897eee..85f8cf75d 100644
--- a/demos/STM32/RT-STM32L476RG-NUCLEO64/mcuconf.h
+++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/NIL-ARMCM0-GENERIC/chconf.h b/demos/various/NIL-ARMCM0-GENERIC/chconf.h
index af7e94494..0d5d0079a 100644
--- a/demos/various/NIL-ARMCM0-GENERIC/chconf.h
+++ b/demos/various/NIL-ARMCM0-GENERIC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/NIL-ARMCM0-GENERIC/main.c b/demos/various/NIL-ARMCM0-GENERIC/main.c
index 45091be1b..1f27d36a7 100644
--- a/demos/various/NIL-ARMCM0-GENERIC/main.c
+++ b/demos/various/NIL-ARMCM0-GENERIC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/NIL-ARMCM4-GENERIC/chconf.h b/demos/various/NIL-ARMCM4-GENERIC/chconf.h
index af7e94494..0d5d0079a 100644
--- a/demos/various/NIL-ARMCM4-GENERIC/chconf.h
+++ b/demos/various/NIL-ARMCM4-GENERIC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/NIL-ARMCM4-GENERIC/main.c b/demos/various/NIL-ARMCM4-GENERIC/main.c
index 45091be1b..1f27d36a7 100644
--- a/demos/various/NIL-ARMCM4-GENERIC/main.c
+++ b/demos/various/NIL-ARMCM4-GENERIC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-ARM7-GENERIC/chconf.h b/demos/various/RT-ARM7-GENERIC/chconf.h
index 2b50f9a1a..b1e3841a8 100644
--- a/demos/various/RT-ARM7-GENERIC/chconf.h
+++ b/demos/various/RT-ARM7-GENERIC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-ARM7-GENERIC/main.c b/demos/various/RT-ARM7-GENERIC/main.c
index 619419ba9..93b802c42 100644
--- a/demos/various/RT-ARM7-GENERIC/main.c
+++ b/demos/various/RT-ARM7-GENERIC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-ARMCM0-GENERIC/chconf.h b/demos/various/RT-ARMCM0-GENERIC/chconf.h
index 2b50f9a1a..b1e3841a8 100644
--- a/demos/various/RT-ARMCM0-GENERIC/chconf.h
+++ b/demos/various/RT-ARMCM0-GENERIC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-ARMCM0-GENERIC/main.c b/demos/various/RT-ARMCM0-GENERIC/main.c
index 327d2c882..ded79da4d 100644
--- a/demos/various/RT-ARMCM0-GENERIC/main.c
+++ b/demos/various/RT-ARMCM0-GENERIC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-ARMCM4-GENERIC/chconf.h b/demos/various/RT-ARMCM4-GENERIC/chconf.h
index d3bc5425c..ecb293dc3 100644
--- a/demos/various/RT-ARMCM4-GENERIC/chconf.h
+++ b/demos/various/RT-ARMCM4-GENERIC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-ARMCM4-GENERIC/main.c b/demos/various/RT-ARMCM4-GENERIC/main.c
index 327d2c882..ded79da4d 100644
--- a/demos/various/RT-ARMCM4-GENERIC/main.c
+++ b/demos/various/RT-ARMCM4-GENERIC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-Posix-Simulator/chconf.h b/demos/various/RT-Posix-Simulator/chconf.h
index 581b91758..63668c135 100755
--- a/demos/various/RT-Posix-Simulator/chconf.h
+++ b/demos/various/RT-Posix-Simulator/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-Posix-Simulator/halconf.h b/demos/various/RT-Posix-Simulator/halconf.h
index 9da769aec..f42b5ecdb 100755
--- a/demos/various/RT-Posix-Simulator/halconf.h
+++ b/demos/various/RT-Posix-Simulator/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-Posix-Simulator/main.c b/demos/various/RT-Posix-Simulator/main.c
index e44aea728..89190cd1a 100755
--- a/demos/various/RT-Posix-Simulator/main.c
+++ b/demos/various/RT-Posix-Simulator/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-Win32-Simulator/chconf.h b/demos/various/RT-Win32-Simulator/chconf.h
index 581b91758..63668c135 100644
--- a/demos/various/RT-Win32-Simulator/chconf.h
+++ b/demos/various/RT-Win32-Simulator/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-Win32-Simulator/halconf.h b/demos/various/RT-Win32-Simulator/halconf.h
index 9da769aec..f42b5ecdb 100644
--- a/demos/various/RT-Win32-Simulator/halconf.h
+++ b/demos/various/RT-Win32-Simulator/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/demos/various/RT-Win32-Simulator/main.c b/demos/various/RT-Win32-Simulator/main.c
index e44aea728..89190cd1a 100644
--- a/demos/various/RT-Win32-Simulator/main.c
+++ b/demos/various/RT-Win32-Simulator/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/abstractions/nasa_cfe/osal/include/osapi-os-custom.h b/os/common/abstractions/nasa_cfe/osal/include/osapi-os-custom.h
index 4b9213118..c05c1ac88 100644
--- a/os/common/abstractions/nasa_cfe/osal/include/osapi-os-custom.h
+++ b/os/common/abstractions/nasa_cfe/osal/include/osapi-os-custom.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/abstractions/nasa_cfe/osal/src/osapi.c b/os/common/abstractions/nasa_cfe/osal/src/osapi.c
index 0668daa22..b4c21bdfe 100644
--- a/os/common/abstractions/nasa_cfe/osal/src/osapi.c
+++ b/os/common/abstractions/nasa_cfe/osal/src/osapi.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_exception.c b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_exception.c
index e3456ddbf..47dfe4230 100644
--- a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_exception.c
+++ b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_exception.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_memory.c b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_memory.c
index cc8f8d915..7036b7609 100644
--- a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_memory.c
+++ b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_memory.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_support.c b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_support.c
index b79c26ff0..77df47edd 100644
--- a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_support.c
+++ b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_support.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_timer.c b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_timer.c
index c3ba269af..407dd1b22 100644
--- a/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_timer.c
+++ b/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_timer.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/portability/CW/ccportab.h b/os/common/portability/CW/ccportab.h
index 477fec042..f94f76a66 100644
--- a/os/common/portability/CW/ccportab.h
+++ b/os/common/portability/CW/ccportab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/portability/GCC/ccportab.h b/os/common/portability/GCC/ccportab.h
index 825e01af9..8936a9e29 100644
--- a/os/common/portability/GCC/ccportab.h
+++ b/os/common/portability/GCC/ccportab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/portability/GHS/ccportab.h b/os/common/portability/GHS/ccportab.h
index 9c043bb49..4372152a5 100644
--- a/os/common/portability/GHS/ccportab.h
+++ b/os/common/portability/GHS/ccportab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/ports/ARMCAx-TZ/compilers/GCC/monitor.S b/os/common/ports/ARMCAx-TZ/compilers/GCC/monitor.S
index 294d242d1..82c84ad66 100644
--- a/os/common/ports/ARMCAx-TZ/compilers/GCC/monitor.S
+++ b/os/common/ports/ARMCAx-TZ/compilers/GCC/monitor.S
@@ -1,195 +1,195 @@
-/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file ARMCAx-TZ/compilers/GCC/monitor.S
- * @brief ARMCAx-TZ monitor code
- *
- * @addtogroup ARM_CORE
- * @{
- */
-#define TRUE 1
-#define FALSE 0
-
-#define _FROM_ASM_
-#include "chlicense.h"
-#include "chconf.h"
-#include "armparams.h"
-
-/*
- * We are facing an architecure with security extension exploited.
- * The following execution paths are taken by the execution units
- * running in secure state when an irq is fired (sm_irq), and in non-secure
- * state when a fiq interrupt is fired (sm_fiq).
- * They originate by the monitor irq/fiq vector and run in monitor mode,
- * ie in secure state.
- * It assumes the following, intially set at boot time, or wherever it needs:
- * SCR.FW == 0 and SCR.FIQ == 1 and SCR.IRQ == 0 in non-secure state,
- * ie FIQs are taken to monitor mode, IRQs are taken locally
- * SCR.FW == 0 and SCR.FIQ == 0 and SCR.IRQ == 1 in secure state,
- * ie FIQs are taken locally, IRQs are taken to monitor mode
- * MVBAR holds the address of the monitor vectors base.
- * The code and the stacks memory reside both in secure memory.
- */
-
-#if !defined(__DOXYGEN__)
-
- .set MODE_USR, 0x10
- .set MODE_FIQ, 0x11
- .set MODE_IRQ, 0x12
- .set MODE_SVC, 0x13
- .set MODE_MON, 0x16
- .set MODE_ABT, 0x17
- .set MODE_UND, 0x1B
- .set MODE_SYS, 0x1F
-
- .set I_BIT, 0x80
- .set F_BIT, 0x40
-
- .set SCR_NS, 0x01
- .set SCR_IRQ, 0x02
- .set SCR_FIQ, 0x04
- .set SCR_EA, 0x08
- .set SCR_FW, 0x10
- .set SCR_AW, 0x20
-
- .set MON_S_SCR, (SCR_IRQ) // (SCR_EA|SCR_IRQ)
- .set MON_NS_SCR, (SCR_FIQ|SCR_NS)
-
- .set MSG_OK, 0
- .set MSG_TIMEOUT, -1
- .set MSG_RESET, -2
- .section .data
- .balign 4
- _ns_thread: .zero 4
-
- .section .text
- .code 32
- .balign 4
-/*
- * Monitor vectors
- */
- .global _monitor_vectors
-_monitor_vectors:
- b . // Reset vector, not used
- b . // Undefined instruction, not used
- b sm_call // Secure monitor call
- b . // Prefetch abort, not taken to Monitor mode
- b . // Data abort, not taken to Monitor mode
- b . // Reserved
- b sm_irq // IRQ
- b sm_fiq // FIQ
-/*
- * SMC entry
- */
-sm_call:
- ldr r12, =MON_S_SCR // enter in the secure world
- mcr p15, 0, r12, c1, c1, 0
- ands r0, r0 // OS special service,
- // 0 == jump trampoline to non secure world
- // r1 contains the address where it jumps
- beq 1f
- msr CPSR_c, #MODE_SYS | I_BIT // switch to sys mode, foreign int disabled
- stmfd sp!, {lr} // save lr
- bl smcEntry // call the C smc handler
- ldmfd sp!, {lr} // restore lr
- msr CPSR_c, #MODE_MON | I_BIT | F_BIT // switch to monitor mode
- ldr r12, =MON_NS_SCR // enter in the non-secure world
- mcr p15, 0, r12, c1, c1, 0
- subs pc, lr, #0 // return from smc
-1:
- mov lr, r1 // use the address in r1 as return address
- // in the non secure world
- ldr r12, =MON_NS_SCR // enter in the non-secure world
- mcr p15, 0, r12, c1, c1, 0
- subs pc, lr, #0 // return from smc
-
-/*
- * FIQ entry
- *
- * Here the fiq is taken from non-secure state, via the FIQ vector
- * that is in the monitor vector table.
- * Current mode is monitor (so current state is secure).
- * We switch immediately to system mode, enabling FIQ.
- * The FIQ is then served while the ns_thread is running.
- * Because the ns_thread has the highest priority, the handler returns here
- * without scheduling.
- */
-sm_fiq:
- // check point: SCR.NS == 1
- stmfd sp!, {r0}
- ldr r0, =MON_S_SCR // enter in the secure world
- mcr p15, 0, r0, c1, c1, 0
- msr CPSR_c, #MODE_SYS | I_BIT // FIQ enabled, served via base table
- msr CPSR_c, #MODE_MON | I_BIT | F_BIT // the handler returns here. Switch to monitor mode
- ldr r0, =MON_NS_SCR // set non-secure SCR before return
- mcr p15, 0, r0, c1, c1, 0
- ldmfd sp!, {r0}
- subs pc, lr, #4 // return into non-secure world
-/*
- * IRQ entry
- *
- * Here the IRQ is taken from secure state.
- * Current mode is monitor (so current state is secure),
- * the previous mode and status is in mon.spsr and
- * the return address+4 is in mon.lr.
- * Because we are running in secure state, we are sure that
- * the main thread is suspended in the smc handler.
- * The main thread is then resumed with MSG_TIMEOUT
- * The non secure IRQ handler has then the responsibility to return into
- * secure state via a smc.
- *
- */
- sm_irq:
- // check point: SCR.NS == 0
- msr CPSR_c, #MODE_SYS | I_BIT | F_BIT
- stmfd sp!, {r0-r3, r12, lr} // save scratch registers and lr
- msr CPSR_c, #MODE_MON | I_BIT | F_BIT
- mrs r0, SPSR
- mov r1, lr
- msr CPSR_c, #MODE_SYS | I_BIT | F_BIT
- stmfd sp!, {r0, r1} // push R0=SPSR, R1=LR_MON.
- // check point: ns_tread != 0
- ldr r0, =_ns_thread
- mov r1, #MSG_TIMEOUT
-#if (CH_DBG_SYSTEM_STATE_CHECK == TRUE)
- bl _dbg_check_lock
-#endif
- bl chThdResumeS // resume the ns_thread and serve the IRQ
- // into non-secure world
-#if (CH_DBG_SYSTEM_STATE_CHECK == TRUE)
- bl _dbg_check_unlock
-#endif
- // The ns_thread reentered smc, that set SRC.NS to 0
- // re-establish the original conditions
- ldmfd sp!, {r0, r1} // pop R0=SPSR, R1=LR_MON.
- msr CPSR_c, #MODE_MON | I_BIT | F_BIT
- msr SPSR_fsxc, r0
- mov lr, r1
- msr CPSR_c, #MODE_SYS | I_BIT | F_BIT
- ldmfd sp!, {r0-r3, r12, lr}
- msr CPSR_c, #MODE_MON | I_BIT | F_BIT
- subs pc, lr, #4 // return into secure world
-
- .global _ns_trampoline
-_ns_trampoline:
- mov r1, r0
- ldr r0, =#0
- smc #0
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file ARMCAx-TZ/compilers/GCC/monitor.S
+ * @brief ARMCAx-TZ monitor code
+ *
+ * @addtogroup ARM_CORE
+ * @{
+ */
+#define TRUE 1
+#define FALSE 0
+
+#define _FROM_ASM_
+#include "chlicense.h"
+#include "chconf.h"
+#include "armparams.h"
+
+/*
+ * We are facing an architecure with security extension exploited.
+ * The following execution paths are taken by the execution units
+ * running in secure state when an irq is fired (sm_irq), and in non-secure
+ * state when a fiq interrupt is fired (sm_fiq).
+ * They originate by the monitor irq/fiq vector and run in monitor mode,
+ * ie in secure state.
+ * It assumes the following, intially set at boot time, or wherever it needs:
+ * SCR.FW == 0 and SCR.FIQ == 1 and SCR.IRQ == 0 in non-secure state,
+ * ie FIQs are taken to monitor mode, IRQs are taken locally
+ * SCR.FW == 0 and SCR.FIQ == 0 and SCR.IRQ == 1 in secure state,
+ * ie FIQs are taken locally, IRQs are taken to monitor mode
+ * MVBAR holds the address of the monitor vectors base.
+ * The code and the stacks memory reside both in secure memory.
+ */
+
+#if !defined(__DOXYGEN__)
+
+ .set MODE_USR, 0x10
+ .set MODE_FIQ, 0x11
+ .set MODE_IRQ, 0x12
+ .set MODE_SVC, 0x13
+ .set MODE_MON, 0x16
+ .set MODE_ABT, 0x17
+ .set MODE_UND, 0x1B
+ .set MODE_SYS, 0x1F
+
+ .set I_BIT, 0x80
+ .set F_BIT, 0x40
+
+ .set SCR_NS, 0x01
+ .set SCR_IRQ, 0x02
+ .set SCR_FIQ, 0x04
+ .set SCR_EA, 0x08
+ .set SCR_FW, 0x10
+ .set SCR_AW, 0x20
+
+ .set MON_S_SCR, (SCR_IRQ) // (SCR_EA|SCR_IRQ)
+ .set MON_NS_SCR, (SCR_FIQ|SCR_NS)
+
+ .set MSG_OK, 0
+ .set MSG_TIMEOUT, -1
+ .set MSG_RESET, -2
+ .section .data
+ .balign 4
+ _ns_thread: .zero 4
+
+ .section .text
+ .code 32
+ .balign 4
+/*
+ * Monitor vectors
+ */
+ .global _monitor_vectors
+_monitor_vectors:
+ b . // Reset vector, not used
+ b . // Undefined instruction, not used
+ b sm_call // Secure monitor call
+ b . // Prefetch abort, not taken to Monitor mode
+ b . // Data abort, not taken to Monitor mode
+ b . // Reserved
+ b sm_irq // IRQ
+ b sm_fiq // FIQ
+/*
+ * SMC entry
+ */
+sm_call:
+ ldr r12, =MON_S_SCR // enter in the secure world
+ mcr p15, 0, r12, c1, c1, 0
+ ands r0, r0 // OS special service,
+ // 0 == jump trampoline to non secure world
+ // r1 contains the address where it jumps
+ beq 1f
+ msr CPSR_c, #MODE_SYS | I_BIT // switch to sys mode, foreign int disabled
+ stmfd sp!, {lr} // save lr
+ bl smcEntry // call the C smc handler
+ ldmfd sp!, {lr} // restore lr
+ msr CPSR_c, #MODE_MON | I_BIT | F_BIT // switch to monitor mode
+ ldr r12, =MON_NS_SCR // enter in the non-secure world
+ mcr p15, 0, r12, c1, c1, 0
+ subs pc, lr, #0 // return from smc
+1:
+ mov lr, r1 // use the address in r1 as return address
+ // in the non secure world
+ ldr r12, =MON_NS_SCR // enter in the non-secure world
+ mcr p15, 0, r12, c1, c1, 0
+ subs pc, lr, #0 // return from smc
+
+/*
+ * FIQ entry
+ *
+ * Here the fiq is taken from non-secure state, via the FIQ vector
+ * that is in the monitor vector table.
+ * Current mode is monitor (so current state is secure).
+ * We switch immediately to system mode, enabling FIQ.
+ * The FIQ is then served while the ns_thread is running.
+ * Because the ns_thread has the highest priority, the handler returns here
+ * without scheduling.
+ */
+sm_fiq:
+ // check point: SCR.NS == 1
+ stmfd sp!, {r0}
+ ldr r0, =MON_S_SCR // enter in the secure world
+ mcr p15, 0, r0, c1, c1, 0
+ msr CPSR_c, #MODE_SYS | I_BIT // FIQ enabled, served via base table
+ msr CPSR_c, #MODE_MON | I_BIT | F_BIT // the handler returns here. Switch to monitor mode
+ ldr r0, =MON_NS_SCR // set non-secure SCR before return
+ mcr p15, 0, r0, c1, c1, 0
+ ldmfd sp!, {r0}
+ subs pc, lr, #4 // return into non-secure world
+/*
+ * IRQ entry
+ *
+ * Here the IRQ is taken from secure state.
+ * Current mode is monitor (so current state is secure),
+ * the previous mode and status is in mon.spsr and
+ * the return address+4 is in mon.lr.
+ * Because we are running in secure state, we are sure that
+ * the main thread is suspended in the smc handler.
+ * The main thread is then resumed with MSG_TIMEOUT
+ * The non secure IRQ handler has then the responsibility to return into
+ * secure state via a smc.
+ *
+ */
+ sm_irq:
+ // check point: SCR.NS == 0
+ msr CPSR_c, #MODE_SYS | I_BIT | F_BIT
+ stmfd sp!, {r0-r3, r12, lr} // save scratch registers and lr
+ msr CPSR_c, #MODE_MON | I_BIT | F_BIT
+ mrs r0, SPSR
+ mov r1, lr
+ msr CPSR_c, #MODE_SYS | I_BIT | F_BIT
+ stmfd sp!, {r0, r1} // push R0=SPSR, R1=LR_MON.
+ // check point: ns_tread != 0
+ ldr r0, =_ns_thread
+ mov r1, #MSG_TIMEOUT
+#if (CH_DBG_SYSTEM_STATE_CHECK == TRUE)
+ bl _dbg_check_lock
+#endif
+ bl chThdResumeS // resume the ns_thread and serve the IRQ
+ // into non-secure world
+#if (CH_DBG_SYSTEM_STATE_CHECK == TRUE)
+ bl _dbg_check_unlock
+#endif
+ // The ns_thread reentered smc, that set SRC.NS to 0
+ // re-establish the original conditions
+ ldmfd sp!, {r0, r1} // pop R0=SPSR, R1=LR_MON.
+ msr CPSR_c, #MODE_MON | I_BIT | F_BIT
+ msr SPSR_fsxc, r0
+ mov lr, r1
+ msr CPSR_c, #MODE_SYS | I_BIT | F_BIT
+ ldmfd sp!, {r0-r3, r12, lr}
+ msr CPSR_c, #MODE_MON | I_BIT | F_BIT
+ subs pc, lr, #4 // return into secure world
+
+ .global _ns_trampoline
+_ns_trampoline:
+ mov r1, r0
+ ldr r0, =#0
+ smc #0
+
+#endif /* !defined(__DOXYGEN__) */
+
+/** @} */
diff --git a/os/common/ports/ARMCMx/mpu.h b/os/common/ports/ARMCMx/mpu.h
index 30eff0e30..b6c631993 100644
--- a/os/common/ports/ARMCMx/mpu.h
+++ b/os/common/ports/ARMCMx/mpu.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/compilers/GCC/crt0.S b/os/common/startup/ARM/compilers/GCC/crt0.S
index 25f325fc3..d6e01a4dd 100644
--- a/os/common/startup/ARM/compilers/GCC/crt0.S
+++ b/os/common/startup/ARM/compilers/GCC/crt0.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/compilers/GCC/crt1.c b/os/common/startup/ARM/compilers/GCC/crt1.c
index dd08df45d..d6fb548d9 100644
--- a/os/common/startup/ARM/compilers/GCC/crt1.c
+++ b/os/common/startup/ARM/compilers/GCC/crt1.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld b/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld
index 67bc04e69..335e216e8 100644
--- a/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld
+++ b/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2.ld b/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2.ld
index 9ce885fad..fbbe88f55 100755
--- a/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2.ld
+++ b/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2ddr.ld b/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2ddr.ld
index 37f796c11..242877218 100755
--- a/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2ddr.ld
+++ b/os/common/startup/ARM/compilers/GCC/ld/SAMA5D2ddr.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/compilers/GCC/ld/rules.ld b/os/common/startup/ARM/compilers/GCC/ld/rules.ld
index ac4e969bd..8103c9d81 100644
--- a/os/common/startup/ARM/compilers/GCC/ld/rules.ld
+++ b/os/common/startup/ARM/compilers/GCC/ld/rules.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/compilers/GCC/vectors.S b/os/common/startup/ARM/compilers/GCC/vectors.S
index e582678db..3d8950cdb 100644
--- a/os/common/startup/ARM/compilers/GCC/vectors.S
+++ b/os/common/startup/ARM/compilers/GCC/vectors.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/devices/LPC214x/armparams.h b/os/common/startup/ARM/devices/LPC214x/armparams.h
index d273c9f0a..eebec847c 100644
--- a/os/common/startup/ARM/devices/LPC214x/armparams.h
+++ b/os/common/startup/ARM/devices/LPC214x/armparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/devices/LPC214x/lpc214x.h b/os/common/startup/ARM/devices/LPC214x/lpc214x.h
index b21c0b49a..f310c552d 100644
--- a/os/common/startup/ARM/devices/LPC214x/lpc214x.h
+++ b/os/common/startup/ARM/devices/LPC214x/lpc214x.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/devices/SAMA5D2/armparams.h b/os/common/startup/ARM/devices/SAMA5D2/armparams.h
index d402295fa..15dee9777 100755
--- a/os/common/startup/ARM/devices/SAMA5D2/armparams.h
+++ b/os/common/startup/ARM/devices/SAMA5D2/armparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARM/devices/SAMA5D2/boot.S b/os/common/startup/ARM/devices/SAMA5D2/boot.S
index 41f7d7b2d..87e00bdc9 100644
--- a/os/common/startup/ARM/devices/SAMA5D2/boot.S
+++ b/os/common/startup/ARM/devices/SAMA5D2/boot.S
@@ -1,93 +1,93 @@
-/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAMA5D2/boot.S
- * @brief SAMA5D2 boot-related code.
- *
- * @addtogroup SAMA5D2_BOOT
- * @{
- */
-#define FALSE 0
-#define TRUE 1
-#define _FROM_ASM_
-#include "chlicense.h"
-#include "chconf.h"
-#include "armparams.h"
-
-#if !defined(__DOXYGEN__)
-
- .set AIC_REDIR_KEY, 0x5B6C0E26 << 1
- .set SFR_SN1, 0xF8030050
- .set SFR_AICREDIR, 0xF8030054
- .set SFR_L2CC_HRAMC, 0xF8030058
- .set L2CC_CR, 0x00A00100
-
- .section .boot
- .code 32
- .balign 4
-/*
- * Boot initialization code
- */
- .global Boot_Handler
-Boot_Handler:
- /*
- * Set VBAR to system vectors table
- */
- ldr r0, =_start
- mcr p15, 0, r0, c12, c0, 0
-
-#if (CH_CFG_SEC_WORLD == TRUE)
- /*
- * Do not redirect secure interrupts to AIC
- */
- ldr r0, =AIC_REDIR_KEY
- ldr r1, =SFR_SN1
- ldr r1, [r1]
- eor r0, r0, r1
- bic r0, r0, #0x1
- ldr r1, =SFR_AICREDIR
- str r0, [r1]
-#endif
- /*
- * Reset SCTLR Settings
- */
- mrc p15, 0, r0, c1, c0, 0 // Read CP15 System Control register
- bic r0, r0, #(0x1 << 12) // Clear I bit 12 to disable I Cache
- bic r0, r0, #(0x1 << 2) // Clear C bit 2 to disable D Cache
- bic r0, r0, #0x1 // Clear M bit 0 to disable MMU
- bic r0, r0, #(0x1 << 11) // Clear Z bit 11 to disable branch prediction
- bic r0, r0, #(0x1 << 13) // Clear V bit 13 to disable hivecs
- mcr p15, 0, r0, c1, c0, 0 // Write value back to CP15 System Control register
- isb
-#if (CH_CFG_SEC_WORLD == TRUE)
- /*
- * Turn off L2Cache
- */
- bic r0, r0, #0x1
- ldr r1, =L2CC_CR
- str r0, [r1]
- /*
- * Configure the L2 cache to be used as an internal SRAM
- */
- bic r0, r0, #0x1
- ldr r1, =SFR_L2CC_HRAMC
- str r0, [r1]
-#endif
- b Reset_Handler
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAMA5D2/boot.S
+ * @brief SAMA5D2 boot-related code.
+ *
+ * @addtogroup SAMA5D2_BOOT
+ * @{
+ */
+#define FALSE 0
+#define TRUE 1
+#define _FROM_ASM_
+#include "chlicense.h"
+#include "chconf.h"
+#include "armparams.h"
+
+#if !defined(__DOXYGEN__)
+
+ .set AIC_REDIR_KEY, 0x5B6C0E26 << 1
+ .set SFR_SN1, 0xF8030050
+ .set SFR_AICREDIR, 0xF8030054
+ .set SFR_L2CC_HRAMC, 0xF8030058
+ .set L2CC_CR, 0x00A00100
+
+ .section .boot
+ .code 32
+ .balign 4
+/*
+ * Boot initialization code
+ */
+ .global Boot_Handler
+Boot_Handler:
+ /*
+ * Set VBAR to system vectors table
+ */
+ ldr r0, =_start
+ mcr p15, 0, r0, c12, c0, 0
+
+#if (CH_CFG_SEC_WORLD == TRUE)
+ /*
+ * Do not redirect secure interrupts to AIC
+ */
+ ldr r0, =AIC_REDIR_KEY
+ ldr r1, =SFR_SN1
+ ldr r1, [r1]
+ eor r0, r0, r1
+ bic r0, r0, #0x1
+ ldr r1, =SFR_AICREDIR
+ str r0, [r1]
+#endif
+ /*
+ * Reset SCTLR Settings
+ */
+ mrc p15, 0, r0, c1, c0, 0 // Read CP15 System Control register
+ bic r0, r0, #(0x1 << 12) // Clear I bit 12 to disable I Cache
+ bic r0, r0, #(0x1 << 2) // Clear C bit 2 to disable D Cache
+ bic r0, r0, #0x1 // Clear M bit 0 to disable MMU
+ bic r0, r0, #(0x1 << 11) // Clear Z bit 11 to disable branch prediction
+ bic r0, r0, #(0x1 << 13) // Clear V bit 13 to disable hivecs
+ mcr p15, 0, r0, c1, c0, 0 // Write value back to CP15 System Control register
+ isb
+#if (CH_CFG_SEC_WORLD == TRUE)
+ /*
+ * Turn off L2Cache
+ */
+ bic r0, r0, #0x1
+ ldr r1, =L2CC_CR
+ str r0, [r1]
+ /*
+ * Configure the L2 cache to be used as an internal SRAM
+ */
+ bic r0, r0, #0x1
+ ldr r1, =SFR_L2CC_HRAMC
+ str r0, [r1]
+#endif
+ b Reset_Handler
+#endif /* !defined(__DOXYGEN__) */
+
+/** @} */
diff --git a/os/common/startup/ARM/devices/SAMA5D2/sama5d2x.h b/os/common/startup/ARM/devices/SAMA5D2/sama5d2x.h
index 86123a031..363ae23ab 100644
--- a/os/common/startup/ARM/devices/SAMA5D2/sama5d2x.h
+++ b/os/common/startup/ARM/devices/SAMA5D2/sama5d2x.h
@@ -1,368 +1,368 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAM/sama5d2x.h
- * @brief SAM A5 D2x inclusion header.
- *
- * @addtogroup SAMA5D2
- * @{
- */
-
-#ifndef _SAMA5D2X_H_
-#define _SAMA5D2X_H_
-
-#ifdef __cplusplus
- extern "C" {
-#endif /* __cplusplus */
-
-#include <stddef.h>
-#include <stdint.h>
-#include <stdbool.h>
-#include "ARMCA5.h"
-/**
- * @brief SAMA5D2 Family
- */
-#if !defined (SAMA5D2)
-#define SAMA5D2
-#endif /* SAMA5D2 */
-
-/**
- * @addtogroup Device_Included
- * @{
- */
-#if defined(SAMA5D21)
- #include "sama5d21.h"
-#elif defined(SAMA5D22)
- #include "sama5d22.h"
-#elif defined(SAMA5D23)
- #include "sama5d23.h"
-#elif defined(SAMA5D24)
- #include "sama5d24.h"
-#elif defined(SAMA5D26)
- #include "sama5d26.h"
-#elif defined(SAMA5D27)
- #include "sama5d27.h"
-#elif defined(SAMA5D28)
- #include "sama5d28.h"
-#else
- #error "Please select first the target SAMA5D2x device used in your application (in sama5d2x.h file)"
-#endif
-
-/**@} */
-
-/**
- * @brief SAMA5D2 Family
- * @{
- */
-#define ID_SAIC_FIQ ( 0) /**< \brief FIQ Interrupt ID (SAIC_FIQ) */
-#define ID_ARM_PMU ( 2) /**< \brief Performance Monitor Unit (PMU) (ARM_PMU) */
-#define ID_PIT ( 3) /**< \brief Periodic Interval Timer Interrupt (PIT) */
-#define ID_WDT ( 4) /**< \brief Watchdog timer Interrupt (WDT) */
-#define ID_GMAC0 ( 5) /**< \brief Ethernet MAC (GMAC0) */
-#define ID_XDMAC0 ( 6) /**< \brief DMA Controller 0 (XDMAC0) */
-#define ID_XDMAC1 ( 7) /**< \brief DMA Controller 1 (XDMAC1) */
-#define ID_ICM ( 8) /**< \brief Integritry Check Monitor (ICM) */
-#define ID_AES ( 9) /**< \brief Advanced Enion Standard (AES) */
-#define ID_AESB (10) /**< \brief AES bridge (AESB) */
-#define ID_TDES (11) /**< \brief Triple Data Enion Standard (TDES) */
-#define ID_SHA (12) /**< \brief SHA Signature (SHA) */
-#define ID_MPDDRC (13) /**< \brief MPDDR controller (MPDDRC) */
-#define ID_MATRIX1 (14) /**< \brief H32MX, 32-bit AHB Matrix (MATRIX1) */
-#define ID_MATRIX0 (15) /**< \brief H64MX, 64-bit AHB Matrix (MATRIX0) */
-#define ID_SECUMOD (16) /**< \brief Secure Module (SECUMOD) */
-#define ID_HSMC (17) /**< \brief Multi-bit ECC Interrupt (HSMC) */
-#define ID_PIOA (18) /**< \brief Parallel I/O Controller (PIOA) */
-#define ID_FLEXCOM0 (19) /**< \brief FLEXCOM 0 (FLEXCOM0) */
-#define ID_USART0 (19) /**< \brief USART (USART0) from FLEXCOM0 */
-#define ID_FCOMSPI0 (19) /**< \brief Serial Peripheral Interface (SPI0) from FLEXCOM0 */
-#define ID_TWI0 (19) /**< \brief Two-Wire Interface (TWI0) from FLEXCOM0 */
-#define ID_FLEXCOM1 (20) /**< \brief FLEXCOM 1 (FLEXCOM1) */
-#define ID_USART1 (20) /**< \brief USART (USART1) from FLEXCOM1 */
-#define ID_FCOMSPI1 (20) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
-#define ID_TWI1 (20) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
-#define ID_FLEXCOM2 (21) /**< \brief FLEXCOM 1 (FLEXCOM1) */
-#define ID_USART2 (21) /**< \brief USART (USART1) from FLEXCOM1 */
-#define ID_FCOMSPI2 (21) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
-#define ID_TWI2 (21) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
-#define ID_FLEXCOM3 (22) /**< \brief FLEXCOM 3 (FLEXCOM3) */
-#define ID_USART3 (22) /**< \brief USART (USART3) from FLEXCOM3 */
-#define ID_FCOMSPI3 (22) /**< \brief Serial Peripheral Interface (SPI3) from FLEXCOM3 */
-#define ID_TWI3 (22) /**< \brief Two-Wire Interface (TWI3) from FLEXCOM3 */
-#define ID_FLEXCOM4 (23) /**< \brief FLEXCOM 4 (FLEXCOM4) */
-#define ID_USART4 (23) /**< \brief USART (USART4) from FLEXCOM4 */
-#define ID_FCOMSPI4 (23) /**< \brief Serial Peripheral Interface (SPI4) from FLEXCOM4 */
-#define ID_TWI4 (23) /**< \brief Two-Wire Interface (TWI4) from FLEXCOM4 */
-#define ID_UART0 (24) /**< \brief UART 0 (UART0) */
-#define ID_UART1 (25) /**< \brief UART 1 (UART1) */
-#define ID_UART2 (26) /**< \brief UART 2 (UART2) */
-#define ID_UART3 (27) /**< \brief UART 3 (UART3) */
-#define ID_UART4 (28) /**< \brief UART 4 (UART4) */
-#define ID_TWIHS0 (29) /**< \brief Two-Wire Interface 0 (TWIHS0) */
-#define ID_TWIHS1 (30) /**< \brief Two-Wire Interface 1 (TWIHS1) */
-#define ID_SDMMC0 (31) /**< \brief Secure Digital Multimedia Card Controller 0 (SDMMC0) */
-#define ID_SDMMC1 (32) /**< \brief Secure Digital Multimedia Card Controller 1 (SDMMC1) */
-#define ID_SPI0 (33) /**< \brief Serial Peripheral Interface 0 (SPI0) */
-#define ID_SPI1 (34) /**< \brief Serial Peripheral Interface 1 (SPI1) */
-#define ID_TC0 (35) /**< \brief Timer Counter 0 (ch. 0, 1, 2) (TC0) */
-#define ID_TC1 (36) /**< \brief Timer Counter 1 (ch. 3, 4, 5) (TC1) */
-#define ID_PWM (38) /**< \brief Pulse Width Modulation Controller0 (ch. 0, 1, 2, 3) (PWM) */
-#define ID_ADC (40) /**< \brief Touch Screen ADC Controller (ADC) */
-#define ID_UHPHS (41) /**< \brief USB Host High Speed (UHPHS) */
-#define ID_UDPHS (42) /**< \brief USB Device High Speed (UDPHS) */
-#define ID_SSC0 (43) /**< \brief Synchronous Serial Controller 0 (SSC0) */
-#define ID_SSC1 (44) /**< \brief Synchronous Serial Controller 1 (SSC1) */
-#define ID_LCDC (45) /**< \brief LCD Controller (LCDC) */
-#define ID_ISC (46) /**< \brief Camera Interface (ISC) */
-#define ID_TRNG (47) /**< \brief True Random Number Generator (TRNG) */
-#define ID_PDMIC (48) /**< \brief Pulse Density Modulation Interface Controller (PDMIC) */
-#define ID_AIC_IRQ (49) /**< \brief IRQ Interrupt ID (AIC_IRQ) */
-#define ID_SFC (50) /**< \brief Fuse Controller (SFC) */
-#define ID_SECURAM (51) /**< \brief Secured RAM (SECURAM) */
-#define ID_QSPI0 (52) /**< \brief QSPI 0 (QSPI0) */
-#define ID_QSPI1 (53) /**< \brief QSPI 1 (QSPI1) */
-#define ID_I2SC0 (54) /**< \brief Inter-IC Sound Controller 0 (I2SC0) */
-#define ID_I2SC1 (55) /**< \brief Inter-IC Sound Controller 1 (I2SC1) */
-#define ID_CAN0_INT0 (56) /**< \brief MCAN 0 Interrupt0 (CAN0_INT0) */
-#define ID_CAN1_INT0 (57) /**< \brief MCAN 1 Interrupt0 (CAN1_INT0) */
-#define ID_CLASSD (59) /**< \brief Audio Class D amplifier (CLASSD) */
-#define ID_SFR (60) /**< \brief Special Function Register (SFR) */
-#define ID_SAIC (61) /**< \brief Secured Advanced Interrupt Controller (SAIC) */
-#define ID_AIC (62) /**< \brief Advanced Interrupt Controller (AIC) */
-#define ID_L2CC (63) /**< \brief L2 Cache Controller (L2CC) */
-#define ID_CAN0_INT1 (64) /**< \brief MCAN 0 Interrupt1 (CAN0_INT1) */
-#define ID_CAN1_INT1 (65) /**< \brief MCAN 1 Interrupt1 (CAN1_INT1) */
-#define ID_GMAC0_Q1 (66) /**< \brief GMAC Queue 1 Interrupt (GMAC0_Q1) */
-#define ID_GMAC0_Q2 (67) /**< \brief GMAC Queue 2 Interrupt (GMAC0_Q2) */
-#define ID_PIOB (68) /**< \brief (PIOB) */
-#define ID_PIOC (69) /**< \brief (PIOC) */
-#define ID_PIOD (70) /**< \brief (PIOD) */
-#define ID_SDMMC0_TIMER (71) /**< \brief (SDMMC0_TIMER) */
-#define ID_SDMMC1_TIMER (72) /**< \brief (SDMMC1_TIMER) */
-#define ID_SYSC (74) /**< \brief System Controller Interrupt, RTC, RSTC, PMC (SYSC) */
-#define ID_ACC (75) /**< \brief Analog Comparator (ACC) */
-#define ID_RXLP (76) /**< \brief Uart Low Power (RXLP) */
-#define ID_CHIPID (78) /**< \brief Chip ID (CHIPID) */
-
-#define ID_PERIPH_COUNT (79) /**< \brief Number of peripheral IDs */
-
-/* XDMA Peripheral Interface Number */
-
-#define PERID_TWIHS0_TX 0
-#define PERID_TWIHS0_RX 1
-#define PERID_TWIHS1_TX 2
-#define PERID_TWIHS1_RX 3
-#define PERID_QSPI0_TX 4
-#define PERID_QSPI0_RX 5
-#define PERID_SPI0_TX 6
-#define PERID_SPI0_RX 7
-#define PERID_SPI1_TX 8
-#define PERID_SPI1_RX 9
-#define PERID_PWM_TX 10
-#define PERID_PWM_RX 0XFF
-#define PERID_FLEXCOM0_TX 11
-#define PERID_FLEXCOM0_RX 12
-#define PERID_FLEXCOM1_TX 13
-#define PERID_FLEXCOM1_RX 14
-#define PERID_FLEXCOM2_TX 15
-#define PERID_FLEXCOM2_RX 16
-#define PERID_FLEXCOM3_TX 17
-#define PERID_FLEXCOM3_RX 18
-#define PERID_FLEXCOM4_TX 19
-#define PERID_FLEXCOM4_RX 20
-#define PERID_SSC0_TX 21
-#define PERID_SSC0_RX 22
-#define PERID_SSC1_TX 23
-#define PERID_SSC1_RX 24
-#define PERID_ADC_TX 0XFF
-#define PERID_ADC_RX 25
-#define PERID_AES_TX 26
-#define PERID_AES_RX 27
-#define PERID_TDES_TX 28
-#define PERID_TDES_RX 29
-#define PERID_SHA_TX 30
-#define PERID_SHA_RX 0XFF
-#define PERID_I2SC0_TX 31
-#define PERID_I2SC0_RX 32
-#define PERID_I2SC1_TX 33
-#define PERID_I2SC1_RX 34
-#define PERID_UART0_TX 35
-#define PERID_UART0_RX 36
-#define PERID_UART1_TX 37
-#define PERID_UART1_RX 38
-#define PERID_UART2_TX 39
-#define PERID_UART2_RX 40
-#define PERID_UART3_TX 41
-#define PERID_UART3_RX 42
-#define PERID_UART4_TX 43
-#define PERID_UART4_RX 44
-#define PERID_TC0_TX 0XFF
-#define PERID_TC0_RX 45
-#define PERID_TC1_TX 0XFF
-#define PERID_TC1_RX 46
-#define PERID_CLASSD_TX 47
-#define PERID_CLASSD_RX 0XFF
-#define PERID_QSPI1_TX 48
-#define PERID_QSPI1_RX 49
-#define PERID_PDMIC_TX 0XFF
-#define PERID_PDMIC_RX 50
-
-#define ID_SAIC_FIQ_MSK (1 << (ID_SAIC_FIQ & 0x1F))
-#define ID_ARM_PMU_MSK (1 << (ID_ARM_PMU & 0x1F))
-#define ID_PIT_MSK (1 << (ID_PIT & 0x1F))
-#define ID_WDT_MSK (1 << (ID_WDT & 0x1F))
-#define ID_GMAC0_MSK (1 << (ID_GMAC0 & 0x1F))
-#define ID_XDMAC0_MSK (1 << (ID_XDMAC0 & 0x1F))
-#define ID_XDMAC1_MSK (1 << (ID_XDMAC1 & 0x1F))
-#define ID_ICM_MSK (1 << (ID_ICM & 0x1F))
-#define ID_AES_MSK (1 << (ID_AES & 0x1F))
-#define ID_AESB_MSK (1 << (ID_AESB & 0x1F))
-#define ID_TDES_MSK (1 << (ID_TDES & 0x1F))
-#define ID_SHA_MSK (1 << (ID_SHA & 0x1F))
-#define ID_MPDDRC_MSK (1 << (ID_MPDDRC & 0x1F))
-#define ID_MATRIX1_MSK (1 << (ID_MATRIX1 & 0x1F))
-#define ID_MATRIX0_MSK (1 << (ID_MATRIX0 & 0x1F))
-#define ID_SECUMOD_MSK (1 << (ID_SECUMOD & 0x1F))
-#define ID_HSMC_MSK (1 << (ID_HSMC & 0x1F))
-#define ID_PIOA_MSK (1 << (ID_PIOA & 0x1F))
-#define ID_FLEXCOM0_MSK (1 << (ID_FLEXCOM0 & 0x1F))
-#define ID_USART0_MSK (1 << (ID_USART0 & 0x1F))
-#define ID_FCOMSPI0_MSK (1 << (ID_FCOMSPI0 & 0x1F))
-#define ID_TWI0_MSK (1 << (ID_TWI0 & 0x1F))
-#define ID_FLEXCOM1_MSK (1 << (ID_FLEXCOM1 & 0x1F))
-#define ID_USART1_MSK (1 << (ID_USART1 & 0x1F))
-#define ID_FCOMSPI1_MSK (1 << (ID_FCOMSPI1 & 0x1F))
-#define ID_TWI1_MSK (1 << (ID_TWI1 & 0x1F))
-#define ID_FLEXCOM2_MSK (1 << (ID_FLEXCOM2 & 0x1F))
-#define ID_USART2_MSK (1 << (ID_USART2 & 0x1F))
-#define ID_FCOMSPI2_MSK (1 << (ID_FCOMSPI2 & 0x1F))
-#define ID_TWI2_MSK (1 << (ID_TWI2 & 0x1F))
-#define ID_FLEXCOM3_MSK (1 << (ID_FLEXCOM3 & 0x1F))
-#define ID_USART3_MSK (1 << (ID_USART3 & 0x1F))
-#define ID_FCOMSPI3_MSK (1 << (ID_FCOMSPI3 & 0x1F))
-#define ID_TWI3_MSK (1 << (ID_TWI3 & 0x1F))
-#define ID_FLEXCOM4_MSK (1 << (ID_FLEXCOM4 & 0x1F))
-#define ID_USART4_MSK (1 << (ID_USART4 & 0x1F))
-#define ID_FCOMSPI4_MSK (1 << (ID_FCOMSPI4 & 0x1F))
-#define ID_TWI4_MSK (1 << (ID_TWI4 & 0x1F))
-#define ID_UART0_MSK (1 << (ID_UART0 & 0x1F))
-#define ID_UART1_MSK (1 << (ID_UART1 & 0x1F))
-#define ID_UART2_MSK (1 << (ID_UART2 & 0x1F))
-#define ID_UART3_MSK (1 << (ID_UART3 & 0x1F))
-#define ID_UART4_MSK (1 << (ID_UART4 & 0x1F))
-#define ID_TWIHS0_MSK (1 << (ID_TWIHS0 & 0x1F))
-#define ID_TWIHS1_MSK (1 << (ID_TWIHS1 & 0x1F))
-#define ID_SDMMC0_MSK (1 << (ID_SDMMC0 & 0x1F))
-#define ID_SDMMC1_MSK (1 << (ID_SDMMC1 & 0x1F))
-#define ID_SPI0_MSK (1 << (ID_SPI0 & 0x1F))
-#define ID_SPI1_MSK (1 << (ID_SPI1 & 0x1F))
-#define ID_TC0_MSK (1 << (ID_TC0 & 0x1F))
-#define ID_TC1_MSK (1 << (ID_TC1 & 0x1F))
-#define ID_PWM_MSK (1 << (ID_PWM & 0x1F))
-#define ID_ADC_MSK (1 << (ID_ADC & 0x1F))
-#define ID_UHPHS_MSK (1 << (ID_UHPHS & 0x1F))
-#define ID_UDPHS_MSK (1 << (ID_UDPHS & 0x1F))
-#define ID_SSC0_MSK (1 << (ID_SSC0 & 0x1F))
-#define ID_SSC1_MSK (1 << (ID_SSC1 & 0x1F))
-#define ID_LCDC_MSK (1 << (ID_LCDC & 0x1F))
-#define ID_ISC_MSK (1 << (ID_ISC & 0x1F))
-#define ID_TRNG_MSK (1 << (ID_TRNG & 0x1F))
-#define ID_PDMIC_MSK (1 << (ID_PDMIC & 0x1F))
-#define ID_AIC_IRQ_MSK (1 << (ID_AIC_IRQ & 0x1F))
-#define ID_SFC_MSK (1 << (ID_SFC & 0x1F))
-#define ID_SECURAM_MSK (1 << (ID_SECURAM & 0x1F))
-#define ID_QSPI0_MSK (1 << (ID_QSPI0 & 0x1F))
-#define ID_QSPI1_MSK (1 << (ID_QSPI1 & 0x1F))
-#define ID_I2SC0_MSK (1 << (ID_I2SC0 & 0x1F))
-#define ID_I2SC1_MSK (1 << (ID_I2SC1 & 0x1F))
-#define ID_CAN0_INT0_MSK (1 << (ID_CAN0_INT0 & 0x1F))
-#define ID_CAN1_INT0_MSK (1 << (ID_CAN1_INT0 & 0x1F))
-#define ID_CLASSD_MSK (1 << (ID_CLASSD & 0x1F))
-#define ID_SFR_MSK (1 << (ID_SFR & 0x1F))
-#define ID_SAIC_MSK (1 << (ID_SAIC & 0x1F))
-#define ID_AIC_MSK (1 << (ID_AIC & 0x1F))
-#define ID_L2CC_MSK (1 << (ID_L2CC & 0x1F))
-#define ID_CAN0_INT1_MSK (1 << (ID_CAN0_INT1 & 0x1F))
-#define ID_CAN1_INT1_MSK (1 << (ID_CAN1_INT1 & 0x1F))
-#define ID_GMAC0_Q1_MSK (1 << (ID_GMAC0_Q1 & 0x1F))
-#define ID_GMAC0_Q2_MSK (1 << (ID_GMAC0_Q2 & 0x1F))
-#define ID_PIOB_MSK (1 << (ID_PIOB & 0x1F))
-#define ID_PIOC_MSK (1 << (ID_PIOC & 0x1F))
-#define ID_PIOD_MSK (1 << (ID_PIOD & 0x1F))
-#define ID_SDMMC0_TIMER_MSK (1 << (ID_SDMMC0_TIMER & 0x1F))
-#define ID_SDMMC1_TIMER_MSK (1 << (ID_SDMMC1_TIMER & 0x1F))
-#define ID_SYSC_MSK (1 << (ID_SYSC & 0x1F))
-#define ID_ACC_MSK (1 << (ID_ACC & 0x1F))
-#define ID_RXLP_MSK (1 << (ID_RXLP & 0x1F))
-#define ID_CHIPID_MSK (1 << (ID_CHIPID & 0x1F))
-
-/* MASTER MATRIX ID DEFINITION FOR SAMA5D2x */
-
-#define H64MX_MASTER_BRIDGE_FROM_AXI 0
-#define H64MX_MASTER_XDMAC0_0 1
-#define H64MX_MASTER_XDMAC0_1 2
-#define H64MX_MASTER_XDMAC1_0 3
-#define H64MX_MASTER_XDMAC1_1 4
-#define H64MX_MASTER_LCDC_DMA_0 5
-#define H64MX_MASTER_LCDC_DMA_1 6
-#define H64MX_MASTER_SDMMC0 7
-#define H64MX_MASTER_SDMMC1 8
-#define H64MX_MASTER_ISC_DMA 9
-#define H64MX_MASTER_AESB 10
-#define H64MX_MASTER_BRIDGE_H64MX 11
-
-#define H32MX_MASTER_BRIDGE_H32MX 0
-#define H32MX_MASTER_ICM 1
-#define H32MX_MASTER_UHPHS_EHCI_DMA 2
-#define H32MX_MASTER_UHPHS_OHCI_DMA 3
-#define H32MX_MASTER_UDPHS_DMA 4
-#define H32MX_MASTER_GMAC_DMA 5
-#define H32MX_MASTER_CAN0_DMA 6
-#define H32MX_MASTER_CAN1_DMA 7
-
- /* SLAVE MATRIX ID DEFINITIONS FOR SAMA5D2x */
-
- #define H64MX_SLAVE_BRIDGE_H32MX 0
- #define H64MX_SLAVE_APB 1
- #define H64MX_SLAVE_SDMMC 1
- #define H64MX_SLAVE_DDR_PORT0 2
- #define H64MX_SLAVE_DDR_PORT1 3
- #define H64MX_SLAVE_DDR_PORT2 4
- #define H64MX_SLAVE_DDR_PORT3 5
- #define H64MX_SLAVE_DDR_PORT4 6
- #define H64MX_SLAVE_DDR_PORT5 7
- #define H64MX_SLAVE_DDR_PORT6 8
- #define H64MX_SLAVE_DDR_PORT7 9
- #define H64MX_SLAVE_SRAM 10
- #define H64MX_SLAVE_L2C_SRAM 11
- #define H64MX_SLAVE_QSPI0 12
- #define H64MX_SLAVE_QSPI1 13
- #define H64MX_SLAVE_AESB 14
-
- #define H32MX_SLAVE_BRIDGE_H64MX 0
- #define H32MX_SLAVE_APB0 1
- #define H32MX_SLAVE_APB1 2
- #define H32MX_SLAVE_EBI 3
- #define H32MX_SLAVE_NFC_CMD 3
- #define H32MX_SLAVE_NFC_SRAM 4
- #define H32MX_SLAVE_USB 5
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-/**@} */
-#endif /* __SAMA5D2X_H */
-
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAM/sama5d2x.h
+ * @brief SAM A5 D2x inclusion header.
+ *
+ * @addtogroup SAMA5D2
+ * @{
+ */
+
+#ifndef _SAMA5D2X_H_
+#define _SAMA5D2X_H_
+
+#ifdef __cplusplus
+ extern "C" {
+#endif /* __cplusplus */
+
+#include <stddef.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include "ARMCA5.h"
+/**
+ * @brief SAMA5D2 Family
+ */
+#if !defined (SAMA5D2)
+#define SAMA5D2
+#endif /* SAMA5D2 */
+
+/**
+ * @addtogroup Device_Included
+ * @{
+ */
+#if defined(SAMA5D21)
+ #include "sama5d21.h"
+#elif defined(SAMA5D22)
+ #include "sama5d22.h"
+#elif defined(SAMA5D23)
+ #include "sama5d23.h"
+#elif defined(SAMA5D24)
+ #include "sama5d24.h"
+#elif defined(SAMA5D26)
+ #include "sama5d26.h"
+#elif defined(SAMA5D27)
+ #include "sama5d27.h"
+#elif defined(SAMA5D28)
+ #include "sama5d28.h"
+#else
+ #error "Please select first the target SAMA5D2x device used in your application (in sama5d2x.h file)"
+#endif
+
+/**@} */
+
+/**
+ * @brief SAMA5D2 Family
+ * @{
+ */
+#define ID_SAIC_FIQ ( 0) /**< \brief FIQ Interrupt ID (SAIC_FIQ) */
+#define ID_ARM_PMU ( 2) /**< \brief Performance Monitor Unit (PMU) (ARM_PMU) */
+#define ID_PIT ( 3) /**< \brief Periodic Interval Timer Interrupt (PIT) */
+#define ID_WDT ( 4) /**< \brief Watchdog timer Interrupt (WDT) */
+#define ID_GMAC0 ( 5) /**< \brief Ethernet MAC (GMAC0) */
+#define ID_XDMAC0 ( 6) /**< \brief DMA Controller 0 (XDMAC0) */
+#define ID_XDMAC1 ( 7) /**< \brief DMA Controller 1 (XDMAC1) */
+#define ID_ICM ( 8) /**< \brief Integritry Check Monitor (ICM) */
+#define ID_AES ( 9) /**< \brief Advanced Enion Standard (AES) */
+#define ID_AESB (10) /**< \brief AES bridge (AESB) */
+#define ID_TDES (11) /**< \brief Triple Data Enion Standard (TDES) */
+#define ID_SHA (12) /**< \brief SHA Signature (SHA) */
+#define ID_MPDDRC (13) /**< \brief MPDDR controller (MPDDRC) */
+#define ID_MATRIX1 (14) /**< \brief H32MX, 32-bit AHB Matrix (MATRIX1) */
+#define ID_MATRIX0 (15) /**< \brief H64MX, 64-bit AHB Matrix (MATRIX0) */
+#define ID_SECUMOD (16) /**< \brief Secure Module (SECUMOD) */
+#define ID_HSMC (17) /**< \brief Multi-bit ECC Interrupt (HSMC) */
+#define ID_PIOA (18) /**< \brief Parallel I/O Controller (PIOA) */
+#define ID_FLEXCOM0 (19) /**< \brief FLEXCOM 0 (FLEXCOM0) */
+#define ID_USART0 (19) /**< \brief USART (USART0) from FLEXCOM0 */
+#define ID_FCOMSPI0 (19) /**< \brief Serial Peripheral Interface (SPI0) from FLEXCOM0 */
+#define ID_TWI0 (19) /**< \brief Two-Wire Interface (TWI0) from FLEXCOM0 */
+#define ID_FLEXCOM1 (20) /**< \brief FLEXCOM 1 (FLEXCOM1) */
+#define ID_USART1 (20) /**< \brief USART (USART1) from FLEXCOM1 */
+#define ID_FCOMSPI1 (20) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
+#define ID_TWI1 (20) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
+#define ID_FLEXCOM2 (21) /**< \brief FLEXCOM 1 (FLEXCOM1) */
+#define ID_USART2 (21) /**< \brief USART (USART1) from FLEXCOM1 */
+#define ID_FCOMSPI2 (21) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
+#define ID_TWI2 (21) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
+#define ID_FLEXCOM3 (22) /**< \brief FLEXCOM 3 (FLEXCOM3) */
+#define ID_USART3 (22) /**< \brief USART (USART3) from FLEXCOM3 */
+#define ID_FCOMSPI3 (22) /**< \brief Serial Peripheral Interface (SPI3) from FLEXCOM3 */
+#define ID_TWI3 (22) /**< \brief Two-Wire Interface (TWI3) from FLEXCOM3 */
+#define ID_FLEXCOM4 (23) /**< \brief FLEXCOM 4 (FLEXCOM4) */
+#define ID_USART4 (23) /**< \brief USART (USART4) from FLEXCOM4 */
+#define ID_FCOMSPI4 (23) /**< \brief Serial Peripheral Interface (SPI4) from FLEXCOM4 */
+#define ID_TWI4 (23) /**< \brief Two-Wire Interface (TWI4) from FLEXCOM4 */
+#define ID_UART0 (24) /**< \brief UART 0 (UART0) */
+#define ID_UART1 (25) /**< \brief UART 1 (UART1) */
+#define ID_UART2 (26) /**< \brief UART 2 (UART2) */
+#define ID_UART3 (27) /**< \brief UART 3 (UART3) */
+#define ID_UART4 (28) /**< \brief UART 4 (UART4) */
+#define ID_TWIHS0 (29) /**< \brief Two-Wire Interface 0 (TWIHS0) */
+#define ID_TWIHS1 (30) /**< \brief Two-Wire Interface 1 (TWIHS1) */
+#define ID_SDMMC0 (31) /**< \brief Secure Digital Multimedia Card Controller 0 (SDMMC0) */
+#define ID_SDMMC1 (32) /**< \brief Secure Digital Multimedia Card Controller 1 (SDMMC1) */
+#define ID_SPI0 (33) /**< \brief Serial Peripheral Interface 0 (SPI0) */
+#define ID_SPI1 (34) /**< \brief Serial Peripheral Interface 1 (SPI1) */
+#define ID_TC0 (35) /**< \brief Timer Counter 0 (ch. 0, 1, 2) (TC0) */
+#define ID_TC1 (36) /**< \brief Timer Counter 1 (ch. 3, 4, 5) (TC1) */
+#define ID_PWM (38) /**< \brief Pulse Width Modulation Controller0 (ch. 0, 1, 2, 3) (PWM) */
+#define ID_ADC (40) /**< \brief Touch Screen ADC Controller (ADC) */
+#define ID_UHPHS (41) /**< \brief USB Host High Speed (UHPHS) */
+#define ID_UDPHS (42) /**< \brief USB Device High Speed (UDPHS) */
+#define ID_SSC0 (43) /**< \brief Synchronous Serial Controller 0 (SSC0) */
+#define ID_SSC1 (44) /**< \brief Synchronous Serial Controller 1 (SSC1) */
+#define ID_LCDC (45) /**< \brief LCD Controller (LCDC) */
+#define ID_ISC (46) /**< \brief Camera Interface (ISC) */
+#define ID_TRNG (47) /**< \brief True Random Number Generator (TRNG) */
+#define ID_PDMIC (48) /**< \brief Pulse Density Modulation Interface Controller (PDMIC) */
+#define ID_AIC_IRQ (49) /**< \brief IRQ Interrupt ID (AIC_IRQ) */
+#define ID_SFC (50) /**< \brief Fuse Controller (SFC) */
+#define ID_SECURAM (51) /**< \brief Secured RAM (SECURAM) */
+#define ID_QSPI0 (52) /**< \brief QSPI 0 (QSPI0) */
+#define ID_QSPI1 (53) /**< \brief QSPI 1 (QSPI1) */
+#define ID_I2SC0 (54) /**< \brief Inter-IC Sound Controller 0 (I2SC0) */
+#define ID_I2SC1 (55) /**< \brief Inter-IC Sound Controller 1 (I2SC1) */
+#define ID_CAN0_INT0 (56) /**< \brief MCAN 0 Interrupt0 (CAN0_INT0) */
+#define ID_CAN1_INT0 (57) /**< \brief MCAN 1 Interrupt0 (CAN1_INT0) */
+#define ID_CLASSD (59) /**< \brief Audio Class D amplifier (CLASSD) */
+#define ID_SFR (60) /**< \brief Special Function Register (SFR) */
+#define ID_SAIC (61) /**< \brief Secured Advanced Interrupt Controller (SAIC) */
+#define ID_AIC (62) /**< \brief Advanced Interrupt Controller (AIC) */
+#define ID_L2CC (63) /**< \brief L2 Cache Controller (L2CC) */
+#define ID_CAN0_INT1 (64) /**< \brief MCAN 0 Interrupt1 (CAN0_INT1) */
+#define ID_CAN1_INT1 (65) /**< \brief MCAN 1 Interrupt1 (CAN1_INT1) */
+#define ID_GMAC0_Q1 (66) /**< \brief GMAC Queue 1 Interrupt (GMAC0_Q1) */
+#define ID_GMAC0_Q2 (67) /**< \brief GMAC Queue 2 Interrupt (GMAC0_Q2) */
+#define ID_PIOB (68) /**< \brief (PIOB) */
+#define ID_PIOC (69) /**< \brief (PIOC) */
+#define ID_PIOD (70) /**< \brief (PIOD) */
+#define ID_SDMMC0_TIMER (71) /**< \brief (SDMMC0_TIMER) */
+#define ID_SDMMC1_TIMER (72) /**< \brief (SDMMC1_TIMER) */
+#define ID_SYSC (74) /**< \brief System Controller Interrupt, RTC, RSTC, PMC (SYSC) */
+#define ID_ACC (75) /**< \brief Analog Comparator (ACC) */
+#define ID_RXLP (76) /**< \brief Uart Low Power (RXLP) */
+#define ID_CHIPID (78) /**< \brief Chip ID (CHIPID) */
+
+#define ID_PERIPH_COUNT (79) /**< \brief Number of peripheral IDs */
+
+/* XDMA Peripheral Interface Number */
+
+#define PERID_TWIHS0_TX 0
+#define PERID_TWIHS0_RX 1
+#define PERID_TWIHS1_TX 2
+#define PERID_TWIHS1_RX 3
+#define PERID_QSPI0_TX 4
+#define PERID_QSPI0_RX 5
+#define PERID_SPI0_TX 6
+#define PERID_SPI0_RX 7
+#define PERID_SPI1_TX 8
+#define PERID_SPI1_RX 9
+#define PERID_PWM_TX 10
+#define PERID_PWM_RX 0XFF
+#define PERID_FLEXCOM0_TX 11
+#define PERID_FLEXCOM0_RX 12
+#define PERID_FLEXCOM1_TX 13
+#define PERID_FLEXCOM1_RX 14
+#define PERID_FLEXCOM2_TX 15
+#define PERID_FLEXCOM2_RX 16
+#define PERID_FLEXCOM3_TX 17
+#define PERID_FLEXCOM3_RX 18
+#define PERID_FLEXCOM4_TX 19
+#define PERID_FLEXCOM4_RX 20
+#define PERID_SSC0_TX 21
+#define PERID_SSC0_RX 22
+#define PERID_SSC1_TX 23
+#define PERID_SSC1_RX 24
+#define PERID_ADC_TX 0XFF
+#define PERID_ADC_RX 25
+#define PERID_AES_TX 26
+#define PERID_AES_RX 27
+#define PERID_TDES_TX 28
+#define PERID_TDES_RX 29
+#define PERID_SHA_TX 30
+#define PERID_SHA_RX 0XFF
+#define PERID_I2SC0_TX 31
+#define PERID_I2SC0_RX 32
+#define PERID_I2SC1_TX 33
+#define PERID_I2SC1_RX 34
+#define PERID_UART0_TX 35
+#define PERID_UART0_RX 36
+#define PERID_UART1_TX 37
+#define PERID_UART1_RX 38
+#define PERID_UART2_TX 39
+#define PERID_UART2_RX 40
+#define PERID_UART3_TX 41
+#define PERID_UART3_RX 42
+#define PERID_UART4_TX 43
+#define PERID_UART4_RX 44
+#define PERID_TC0_TX 0XFF
+#define PERID_TC0_RX 45
+#define PERID_TC1_TX 0XFF
+#define PERID_TC1_RX 46
+#define PERID_CLASSD_TX 47
+#define PERID_CLASSD_RX 0XFF
+#define PERID_QSPI1_TX 48
+#define PERID_QSPI1_RX 49
+#define PERID_PDMIC_TX 0XFF
+#define PERID_PDMIC_RX 50
+
+#define ID_SAIC_FIQ_MSK (1 << (ID_SAIC_FIQ & 0x1F))
+#define ID_ARM_PMU_MSK (1 << (ID_ARM_PMU & 0x1F))
+#define ID_PIT_MSK (1 << (ID_PIT & 0x1F))
+#define ID_WDT_MSK (1 << (ID_WDT & 0x1F))
+#define ID_GMAC0_MSK (1 << (ID_GMAC0 & 0x1F))
+#define ID_XDMAC0_MSK (1 << (ID_XDMAC0 & 0x1F))
+#define ID_XDMAC1_MSK (1 << (ID_XDMAC1 & 0x1F))
+#define ID_ICM_MSK (1 << (ID_ICM & 0x1F))
+#define ID_AES_MSK (1 << (ID_AES & 0x1F))
+#define ID_AESB_MSK (1 << (ID_AESB & 0x1F))
+#define ID_TDES_MSK (1 << (ID_TDES & 0x1F))
+#define ID_SHA_MSK (1 << (ID_SHA & 0x1F))
+#define ID_MPDDRC_MSK (1 << (ID_MPDDRC & 0x1F))
+#define ID_MATRIX1_MSK (1 << (ID_MATRIX1 & 0x1F))
+#define ID_MATRIX0_MSK (1 << (ID_MATRIX0 & 0x1F))
+#define ID_SECUMOD_MSK (1 << (ID_SECUMOD & 0x1F))
+#define ID_HSMC_MSK (1 << (ID_HSMC & 0x1F))
+#define ID_PIOA_MSK (1 << (ID_PIOA & 0x1F))
+#define ID_FLEXCOM0_MSK (1 << (ID_FLEXCOM0 & 0x1F))
+#define ID_USART0_MSK (1 << (ID_USART0 & 0x1F))
+#define ID_FCOMSPI0_MSK (1 << (ID_FCOMSPI0 & 0x1F))
+#define ID_TWI0_MSK (1 << (ID_TWI0 & 0x1F))
+#define ID_FLEXCOM1_MSK (1 << (ID_FLEXCOM1 & 0x1F))
+#define ID_USART1_MSK (1 << (ID_USART1 & 0x1F))
+#define ID_FCOMSPI1_MSK (1 << (ID_FCOMSPI1 & 0x1F))
+#define ID_TWI1_MSK (1 << (ID_TWI1 & 0x1F))
+#define ID_FLEXCOM2_MSK (1 << (ID_FLEXCOM2 & 0x1F))
+#define ID_USART2_MSK (1 << (ID_USART2 & 0x1F))
+#define ID_FCOMSPI2_MSK (1 << (ID_FCOMSPI2 & 0x1F))
+#define ID_TWI2_MSK (1 << (ID_TWI2 & 0x1F))
+#define ID_FLEXCOM3_MSK (1 << (ID_FLEXCOM3 & 0x1F))
+#define ID_USART3_MSK (1 << (ID_USART3 & 0x1F))
+#define ID_FCOMSPI3_MSK (1 << (ID_FCOMSPI3 & 0x1F))
+#define ID_TWI3_MSK (1 << (ID_TWI3 & 0x1F))
+#define ID_FLEXCOM4_MSK (1 << (ID_FLEXCOM4 & 0x1F))
+#define ID_USART4_MSK (1 << (ID_USART4 & 0x1F))
+#define ID_FCOMSPI4_MSK (1 << (ID_FCOMSPI4 & 0x1F))
+#define ID_TWI4_MSK (1 << (ID_TWI4 & 0x1F))
+#define ID_UART0_MSK (1 << (ID_UART0 & 0x1F))
+#define ID_UART1_MSK (1 << (ID_UART1 & 0x1F))
+#define ID_UART2_MSK (1 << (ID_UART2 & 0x1F))
+#define ID_UART3_MSK (1 << (ID_UART3 & 0x1F))
+#define ID_UART4_MSK (1 << (ID_UART4 & 0x1F))
+#define ID_TWIHS0_MSK (1 << (ID_TWIHS0 & 0x1F))
+#define ID_TWIHS1_MSK (1 << (ID_TWIHS1 & 0x1F))
+#define ID_SDMMC0_MSK (1 << (ID_SDMMC0 & 0x1F))
+#define ID_SDMMC1_MSK (1 << (ID_SDMMC1 & 0x1F))
+#define ID_SPI0_MSK (1 << (ID_SPI0 & 0x1F))
+#define ID_SPI1_MSK (1 << (ID_SPI1 & 0x1F))
+#define ID_TC0_MSK (1 << (ID_TC0 & 0x1F))
+#define ID_TC1_MSK (1 << (ID_TC1 & 0x1F))
+#define ID_PWM_MSK (1 << (ID_PWM & 0x1F))
+#define ID_ADC_MSK (1 << (ID_ADC & 0x1F))
+#define ID_UHPHS_MSK (1 << (ID_UHPHS & 0x1F))
+#define ID_UDPHS_MSK (1 << (ID_UDPHS & 0x1F))
+#define ID_SSC0_MSK (1 << (ID_SSC0 & 0x1F))
+#define ID_SSC1_MSK (1 << (ID_SSC1 & 0x1F))
+#define ID_LCDC_MSK (1 << (ID_LCDC & 0x1F))
+#define ID_ISC_MSK (1 << (ID_ISC & 0x1F))
+#define ID_TRNG_MSK (1 << (ID_TRNG & 0x1F))
+#define ID_PDMIC_MSK (1 << (ID_PDMIC & 0x1F))
+#define ID_AIC_IRQ_MSK (1 << (ID_AIC_IRQ & 0x1F))
+#define ID_SFC_MSK (1 << (ID_SFC & 0x1F))
+#define ID_SECURAM_MSK (1 << (ID_SECURAM & 0x1F))
+#define ID_QSPI0_MSK (1 << (ID_QSPI0 & 0x1F))
+#define ID_QSPI1_MSK (1 << (ID_QSPI1 & 0x1F))
+#define ID_I2SC0_MSK (1 << (ID_I2SC0 & 0x1F))
+#define ID_I2SC1_MSK (1 << (ID_I2SC1 & 0x1F))
+#define ID_CAN0_INT0_MSK (1 << (ID_CAN0_INT0 & 0x1F))
+#define ID_CAN1_INT0_MSK (1 << (ID_CAN1_INT0 & 0x1F))
+#define ID_CLASSD_MSK (1 << (ID_CLASSD & 0x1F))
+#define ID_SFR_MSK (1 << (ID_SFR & 0x1F))
+#define ID_SAIC_MSK (1 << (ID_SAIC & 0x1F))
+#define ID_AIC_MSK (1 << (ID_AIC & 0x1F))
+#define ID_L2CC_MSK (1 << (ID_L2CC & 0x1F))
+#define ID_CAN0_INT1_MSK (1 << (ID_CAN0_INT1 & 0x1F))
+#define ID_CAN1_INT1_MSK (1 << (ID_CAN1_INT1 & 0x1F))
+#define ID_GMAC0_Q1_MSK (1 << (ID_GMAC0_Q1 & 0x1F))
+#define ID_GMAC0_Q2_MSK (1 << (ID_GMAC0_Q2 & 0x1F))
+#define ID_PIOB_MSK (1 << (ID_PIOB & 0x1F))
+#define ID_PIOC_MSK (1 << (ID_PIOC & 0x1F))
+#define ID_PIOD_MSK (1 << (ID_PIOD & 0x1F))
+#define ID_SDMMC0_TIMER_MSK (1 << (ID_SDMMC0_TIMER & 0x1F))
+#define ID_SDMMC1_TIMER_MSK (1 << (ID_SDMMC1_TIMER & 0x1F))
+#define ID_SYSC_MSK (1 << (ID_SYSC & 0x1F))
+#define ID_ACC_MSK (1 << (ID_ACC & 0x1F))
+#define ID_RXLP_MSK (1 << (ID_RXLP & 0x1F))
+#define ID_CHIPID_MSK (1 << (ID_CHIPID & 0x1F))
+
+/* MASTER MATRIX ID DEFINITION FOR SAMA5D2x */
+
+#define H64MX_MASTER_BRIDGE_FROM_AXI 0
+#define H64MX_MASTER_XDMAC0_0 1
+#define H64MX_MASTER_XDMAC0_1 2
+#define H64MX_MASTER_XDMAC1_0 3
+#define H64MX_MASTER_XDMAC1_1 4
+#define H64MX_MASTER_LCDC_DMA_0 5
+#define H64MX_MASTER_LCDC_DMA_1 6
+#define H64MX_MASTER_SDMMC0 7
+#define H64MX_MASTER_SDMMC1 8
+#define H64MX_MASTER_ISC_DMA 9
+#define H64MX_MASTER_AESB 10
+#define H64MX_MASTER_BRIDGE_H64MX 11
+
+#define H32MX_MASTER_BRIDGE_H32MX 0
+#define H32MX_MASTER_ICM 1
+#define H32MX_MASTER_UHPHS_EHCI_DMA 2
+#define H32MX_MASTER_UHPHS_OHCI_DMA 3
+#define H32MX_MASTER_UDPHS_DMA 4
+#define H32MX_MASTER_GMAC_DMA 5
+#define H32MX_MASTER_CAN0_DMA 6
+#define H32MX_MASTER_CAN1_DMA 7
+
+ /* SLAVE MATRIX ID DEFINITIONS FOR SAMA5D2x */
+
+ #define H64MX_SLAVE_BRIDGE_H32MX 0
+ #define H64MX_SLAVE_APB 1
+ #define H64MX_SLAVE_SDMMC 1
+ #define H64MX_SLAVE_DDR_PORT0 2
+ #define H64MX_SLAVE_DDR_PORT1 3
+ #define H64MX_SLAVE_DDR_PORT2 4
+ #define H64MX_SLAVE_DDR_PORT3 5
+ #define H64MX_SLAVE_DDR_PORT4 6
+ #define H64MX_SLAVE_DDR_PORT5 7
+ #define H64MX_SLAVE_DDR_PORT6 8
+ #define H64MX_SLAVE_DDR_PORT7 9
+ #define H64MX_SLAVE_SRAM 10
+ #define H64MX_SLAVE_L2C_SRAM 11
+ #define H64MX_SLAVE_QSPI0 12
+ #define H64MX_SLAVE_QSPI1 13
+ #define H64MX_SLAVE_AESB 14
+
+ #define H32MX_SLAVE_BRIDGE_H64MX 0
+ #define H32MX_SLAVE_APB0 1
+ #define H32MX_SLAVE_APB1 2
+ #define H32MX_SLAVE_EBI 3
+ #define H32MX_SLAVE_NFC_CMD 3
+ #define H32MX_SLAVE_NFC_SRAM 4
+ #define H32MX_SLAVE_USB 5
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+/**@} */
+#endif /* __SAMA5D2X_H */
+
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S b/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S
index bf8e9750f..6187d86b6 100644
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/crt1.c b/os/common/startup/ARMCAx-TZ/compilers/GCC/crt1.c
index 2ce2f434b..add8d1d46 100644
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/crt1.c
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/crt1.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2.ld b/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2.ld
index 9ce885fad..fbbe88f55 100755
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2.ld
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2ddr.ld b/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2ddr.ld
index 7d2896249..ea3f8dd13 100644
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2ddr.ld
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/SAMA5D2ddr.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/rules.ld b/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/rules.ld
index d9e72dcbd..93ca8b847 100644
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/rules.ld
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/ld/rules.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/vectors.S b/os/common/startup/ARMCAx-TZ/compilers/GCC/vectors.S
index e582678db..3d8950cdb 100644
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/vectors.S
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/vectors.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/armparams.h b/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/armparams.h
index 29e6613fe..8435a5dc1 100755
--- a/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/armparams.h
+++ b/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/armparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/boot.S b/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/boot.S
index 2635a01ec..82439c1f0 100644
--- a/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/boot.S
+++ b/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/boot.S
@@ -1,105 +1,105 @@
-/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAMA5D2/boot.S
- * @brief SAMA5D2 boot-related code managing the trusted zone.
- *
- * @addtogroup SAMA5D2_BOOT
- * @{
- */
-#if !defined(__DOXYGEN__)
-
- .set SCR_NS, 0x01
- .set SCR_IRQ, 0x02
- .set SCR_FIQ, 0x04
- .set SCR_EA, 0x08
- .set SCR_FW, 0x10
- .set SCR_AW, 0x20
- .set AIC_REDIR_KEY, 0x5B6C0E26 << 1
- .set SFR_SN1, 0xF8030050
- .set SFR_AICREDIR, 0xF8030054
- .set SFR_L2CC_HRAMC, 0xF8030058
- .set L2CC_CR, 0x00A00100
- .set SCR_RESET_VAL, (SCR_EA|SCR_IRQ)
-
- .section .boot
- .code 32
- .balign 4
-/*
- * Boot initialization code
- */
- .global Boot_Handler
-Boot_Handler:
- /*
- * Set VBAR to system vectors table
- * Set MVBAR to monitor vectors table
- */
- ldr r0, =_start
- mcr p15, 0, r0, c12, c0, 0
- ldr r0, =_monitor_vectors
- mcr p15, 0, r0, c12, c0, 1
- /*
- * Do not redirect secure interrupts to AIC
- */
- ldr r0, =AIC_REDIR_KEY
- ldr r1, =SFR_SN1
- ldr r1, [r1]
- eor r0, r0, r1
- bic r0, r0, #0x1
- ldr r1, =SFR_AICREDIR
- str r0, [r1]
- /*
- * Reset SCTLR Settings
- */
- mrc p15, 0, r0, c1, c0, 0 // Read CP15 System Control register
- bic r0, r0, #(0x1 << 12) // Clear I bit 12 to disable I Cache
- bic r0, r0, #(0x1 << 2) // Clear C bit 2 to disable D Cache
- bic r0, r0, #0x1 // Clear M bit 0 to disable MMU
- bic r0, r0, #(0x1 << 11) // Clear Z bit 11 to disable branch prediction
- bic r0, r0, #(0x1 << 13) // Clear V bit 13 to disable hivecs
- mcr p15, 0, r0, c1, c0, 0 // Write value back to CP15 System Control register
- isb
- /*
- * Turn off L2Cache
- */
- bic r0, r0, #0x1
- ldr r1, =L2CC_CR
- str r0, [r1]
- /*
- * Configure the L2 cache to be used as an internal SRAM
- */
- bic r0, r0, #0x1
- ldr r1, =SFR_L2CC_HRAMC
- str r0, [r1]
- /*
- * Enabling Cycle counter
- */
- mrc p15, 0, r0, c9, c12, 0 // read PMCR register
- orr r0, r0, #(0x1) // set E bit 0 to enable counter
- mcr p15, 0, r0, c9, c12, 0 // write r0
- mrc p15, 0, r0, c9, c12, 1 // read PMCNTENSET register
- orr r0, r0, #(0x1 << 31) // set bit 31 to enable counter
- mcr p15, 0, r0, c9, c12, 1 // write r0
- /*
- * Configure the intial catching of the interrupts
- */
- ldr r0, =SCR_RESET_VAL // IRQ and ABT to monitor in secure mode
- mcr p15, 0, r0, c1, c1, 0
- b Reset_Handler
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAMA5D2/boot.S
+ * @brief SAMA5D2 boot-related code managing the trusted zone.
+ *
+ * @addtogroup SAMA5D2_BOOT
+ * @{
+ */
+#if !defined(__DOXYGEN__)
+
+ .set SCR_NS, 0x01
+ .set SCR_IRQ, 0x02
+ .set SCR_FIQ, 0x04
+ .set SCR_EA, 0x08
+ .set SCR_FW, 0x10
+ .set SCR_AW, 0x20
+ .set AIC_REDIR_KEY, 0x5B6C0E26 << 1
+ .set SFR_SN1, 0xF8030050
+ .set SFR_AICREDIR, 0xF8030054
+ .set SFR_L2CC_HRAMC, 0xF8030058
+ .set L2CC_CR, 0x00A00100
+ .set SCR_RESET_VAL, (SCR_EA|SCR_IRQ)
+
+ .section .boot
+ .code 32
+ .balign 4
+/*
+ * Boot initialization code
+ */
+ .global Boot_Handler
+Boot_Handler:
+ /*
+ * Set VBAR to system vectors table
+ * Set MVBAR to monitor vectors table
+ */
+ ldr r0, =_start
+ mcr p15, 0, r0, c12, c0, 0
+ ldr r0, =_monitor_vectors
+ mcr p15, 0, r0, c12, c0, 1
+ /*
+ * Do not redirect secure interrupts to AIC
+ */
+ ldr r0, =AIC_REDIR_KEY
+ ldr r1, =SFR_SN1
+ ldr r1, [r1]
+ eor r0, r0, r1
+ bic r0, r0, #0x1
+ ldr r1, =SFR_AICREDIR
+ str r0, [r1]
+ /*
+ * Reset SCTLR Settings
+ */
+ mrc p15, 0, r0, c1, c0, 0 // Read CP15 System Control register
+ bic r0, r0, #(0x1 << 12) // Clear I bit 12 to disable I Cache
+ bic r0, r0, #(0x1 << 2) // Clear C bit 2 to disable D Cache
+ bic r0, r0, #0x1 // Clear M bit 0 to disable MMU
+ bic r0, r0, #(0x1 << 11) // Clear Z bit 11 to disable branch prediction
+ bic r0, r0, #(0x1 << 13) // Clear V bit 13 to disable hivecs
+ mcr p15, 0, r0, c1, c0, 0 // Write value back to CP15 System Control register
+ isb
+ /*
+ * Turn off L2Cache
+ */
+ bic r0, r0, #0x1
+ ldr r1, =L2CC_CR
+ str r0, [r1]
+ /*
+ * Configure the L2 cache to be used as an internal SRAM
+ */
+ bic r0, r0, #0x1
+ ldr r1, =SFR_L2CC_HRAMC
+ str r0, [r1]
+ /*
+ * Enabling Cycle counter
+ */
+ mrc p15, 0, r0, c9, c12, 0 // read PMCR register
+ orr r0, r0, #(0x1) // set E bit 0 to enable counter
+ mcr p15, 0, r0, c9, c12, 0 // write r0
+ mrc p15, 0, r0, c9, c12, 1 // read PMCNTENSET register
+ orr r0, r0, #(0x1 << 31) // set bit 31 to enable counter
+ mcr p15, 0, r0, c9, c12, 1 // write r0
+ /*
+ * Configure the intial catching of the interrupts
+ */
+ ldr r0, =SCR_RESET_VAL // IRQ and ABT to monitor in secure mode
+ mcr p15, 0, r0, c1, c1, 0
+ b Reset_Handler
+#endif /* !defined(__DOXYGEN__) */
+
+/** @} */
diff --git a/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/sama5d2x.h b/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/sama5d2x.h
index 86123a031..363ae23ab 100644
--- a/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/sama5d2x.h
+++ b/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/sama5d2x.h
@@ -1,368 +1,368 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAM/sama5d2x.h
- * @brief SAM A5 D2x inclusion header.
- *
- * @addtogroup SAMA5D2
- * @{
- */
-
-#ifndef _SAMA5D2X_H_
-#define _SAMA5D2X_H_
-
-#ifdef __cplusplus
- extern "C" {
-#endif /* __cplusplus */
-
-#include <stddef.h>
-#include <stdint.h>
-#include <stdbool.h>
-#include "ARMCA5.h"
-/**
- * @brief SAMA5D2 Family
- */
-#if !defined (SAMA5D2)
-#define SAMA5D2
-#endif /* SAMA5D2 */
-
-/**
- * @addtogroup Device_Included
- * @{
- */
-#if defined(SAMA5D21)
- #include "sama5d21.h"
-#elif defined(SAMA5D22)
- #include "sama5d22.h"
-#elif defined(SAMA5D23)
- #include "sama5d23.h"
-#elif defined(SAMA5D24)
- #include "sama5d24.h"
-#elif defined(SAMA5D26)
- #include "sama5d26.h"
-#elif defined(SAMA5D27)
- #include "sama5d27.h"
-#elif defined(SAMA5D28)
- #include "sama5d28.h"
-#else
- #error "Please select first the target SAMA5D2x device used in your application (in sama5d2x.h file)"
-#endif
-
-/**@} */
-
-/**
- * @brief SAMA5D2 Family
- * @{
- */
-#define ID_SAIC_FIQ ( 0) /**< \brief FIQ Interrupt ID (SAIC_FIQ) */
-#define ID_ARM_PMU ( 2) /**< \brief Performance Monitor Unit (PMU) (ARM_PMU) */
-#define ID_PIT ( 3) /**< \brief Periodic Interval Timer Interrupt (PIT) */
-#define ID_WDT ( 4) /**< \brief Watchdog timer Interrupt (WDT) */
-#define ID_GMAC0 ( 5) /**< \brief Ethernet MAC (GMAC0) */
-#define ID_XDMAC0 ( 6) /**< \brief DMA Controller 0 (XDMAC0) */
-#define ID_XDMAC1 ( 7) /**< \brief DMA Controller 1 (XDMAC1) */
-#define ID_ICM ( 8) /**< \brief Integritry Check Monitor (ICM) */
-#define ID_AES ( 9) /**< \brief Advanced Enion Standard (AES) */
-#define ID_AESB (10) /**< \brief AES bridge (AESB) */
-#define ID_TDES (11) /**< \brief Triple Data Enion Standard (TDES) */
-#define ID_SHA (12) /**< \brief SHA Signature (SHA) */
-#define ID_MPDDRC (13) /**< \brief MPDDR controller (MPDDRC) */
-#define ID_MATRIX1 (14) /**< \brief H32MX, 32-bit AHB Matrix (MATRIX1) */
-#define ID_MATRIX0 (15) /**< \brief H64MX, 64-bit AHB Matrix (MATRIX0) */
-#define ID_SECUMOD (16) /**< \brief Secure Module (SECUMOD) */
-#define ID_HSMC (17) /**< \brief Multi-bit ECC Interrupt (HSMC) */
-#define ID_PIOA (18) /**< \brief Parallel I/O Controller (PIOA) */
-#define ID_FLEXCOM0 (19) /**< \brief FLEXCOM 0 (FLEXCOM0) */
-#define ID_USART0 (19) /**< \brief USART (USART0) from FLEXCOM0 */
-#define ID_FCOMSPI0 (19) /**< \brief Serial Peripheral Interface (SPI0) from FLEXCOM0 */
-#define ID_TWI0 (19) /**< \brief Two-Wire Interface (TWI0) from FLEXCOM0 */
-#define ID_FLEXCOM1 (20) /**< \brief FLEXCOM 1 (FLEXCOM1) */
-#define ID_USART1 (20) /**< \brief USART (USART1) from FLEXCOM1 */
-#define ID_FCOMSPI1 (20) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
-#define ID_TWI1 (20) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
-#define ID_FLEXCOM2 (21) /**< \brief FLEXCOM 1 (FLEXCOM1) */
-#define ID_USART2 (21) /**< \brief USART (USART1) from FLEXCOM1 */
-#define ID_FCOMSPI2 (21) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
-#define ID_TWI2 (21) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
-#define ID_FLEXCOM3 (22) /**< \brief FLEXCOM 3 (FLEXCOM3) */
-#define ID_USART3 (22) /**< \brief USART (USART3) from FLEXCOM3 */
-#define ID_FCOMSPI3 (22) /**< \brief Serial Peripheral Interface (SPI3) from FLEXCOM3 */
-#define ID_TWI3 (22) /**< \brief Two-Wire Interface (TWI3) from FLEXCOM3 */
-#define ID_FLEXCOM4 (23) /**< \brief FLEXCOM 4 (FLEXCOM4) */
-#define ID_USART4 (23) /**< \brief USART (USART4) from FLEXCOM4 */
-#define ID_FCOMSPI4 (23) /**< \brief Serial Peripheral Interface (SPI4) from FLEXCOM4 */
-#define ID_TWI4 (23) /**< \brief Two-Wire Interface (TWI4) from FLEXCOM4 */
-#define ID_UART0 (24) /**< \brief UART 0 (UART0) */
-#define ID_UART1 (25) /**< \brief UART 1 (UART1) */
-#define ID_UART2 (26) /**< \brief UART 2 (UART2) */
-#define ID_UART3 (27) /**< \brief UART 3 (UART3) */
-#define ID_UART4 (28) /**< \brief UART 4 (UART4) */
-#define ID_TWIHS0 (29) /**< \brief Two-Wire Interface 0 (TWIHS0) */
-#define ID_TWIHS1 (30) /**< \brief Two-Wire Interface 1 (TWIHS1) */
-#define ID_SDMMC0 (31) /**< \brief Secure Digital Multimedia Card Controller 0 (SDMMC0) */
-#define ID_SDMMC1 (32) /**< \brief Secure Digital Multimedia Card Controller 1 (SDMMC1) */
-#define ID_SPI0 (33) /**< \brief Serial Peripheral Interface 0 (SPI0) */
-#define ID_SPI1 (34) /**< \brief Serial Peripheral Interface 1 (SPI1) */
-#define ID_TC0 (35) /**< \brief Timer Counter 0 (ch. 0, 1, 2) (TC0) */
-#define ID_TC1 (36) /**< \brief Timer Counter 1 (ch. 3, 4, 5) (TC1) */
-#define ID_PWM (38) /**< \brief Pulse Width Modulation Controller0 (ch. 0, 1, 2, 3) (PWM) */
-#define ID_ADC (40) /**< \brief Touch Screen ADC Controller (ADC) */
-#define ID_UHPHS (41) /**< \brief USB Host High Speed (UHPHS) */
-#define ID_UDPHS (42) /**< \brief USB Device High Speed (UDPHS) */
-#define ID_SSC0 (43) /**< \brief Synchronous Serial Controller 0 (SSC0) */
-#define ID_SSC1 (44) /**< \brief Synchronous Serial Controller 1 (SSC1) */
-#define ID_LCDC (45) /**< \brief LCD Controller (LCDC) */
-#define ID_ISC (46) /**< \brief Camera Interface (ISC) */
-#define ID_TRNG (47) /**< \brief True Random Number Generator (TRNG) */
-#define ID_PDMIC (48) /**< \brief Pulse Density Modulation Interface Controller (PDMIC) */
-#define ID_AIC_IRQ (49) /**< \brief IRQ Interrupt ID (AIC_IRQ) */
-#define ID_SFC (50) /**< \brief Fuse Controller (SFC) */
-#define ID_SECURAM (51) /**< \brief Secured RAM (SECURAM) */
-#define ID_QSPI0 (52) /**< \brief QSPI 0 (QSPI0) */
-#define ID_QSPI1 (53) /**< \brief QSPI 1 (QSPI1) */
-#define ID_I2SC0 (54) /**< \brief Inter-IC Sound Controller 0 (I2SC0) */
-#define ID_I2SC1 (55) /**< \brief Inter-IC Sound Controller 1 (I2SC1) */
-#define ID_CAN0_INT0 (56) /**< \brief MCAN 0 Interrupt0 (CAN0_INT0) */
-#define ID_CAN1_INT0 (57) /**< \brief MCAN 1 Interrupt0 (CAN1_INT0) */
-#define ID_CLASSD (59) /**< \brief Audio Class D amplifier (CLASSD) */
-#define ID_SFR (60) /**< \brief Special Function Register (SFR) */
-#define ID_SAIC (61) /**< \brief Secured Advanced Interrupt Controller (SAIC) */
-#define ID_AIC (62) /**< \brief Advanced Interrupt Controller (AIC) */
-#define ID_L2CC (63) /**< \brief L2 Cache Controller (L2CC) */
-#define ID_CAN0_INT1 (64) /**< \brief MCAN 0 Interrupt1 (CAN0_INT1) */
-#define ID_CAN1_INT1 (65) /**< \brief MCAN 1 Interrupt1 (CAN1_INT1) */
-#define ID_GMAC0_Q1 (66) /**< \brief GMAC Queue 1 Interrupt (GMAC0_Q1) */
-#define ID_GMAC0_Q2 (67) /**< \brief GMAC Queue 2 Interrupt (GMAC0_Q2) */
-#define ID_PIOB (68) /**< \brief (PIOB) */
-#define ID_PIOC (69) /**< \brief (PIOC) */
-#define ID_PIOD (70) /**< \brief (PIOD) */
-#define ID_SDMMC0_TIMER (71) /**< \brief (SDMMC0_TIMER) */
-#define ID_SDMMC1_TIMER (72) /**< \brief (SDMMC1_TIMER) */
-#define ID_SYSC (74) /**< \brief System Controller Interrupt, RTC, RSTC, PMC (SYSC) */
-#define ID_ACC (75) /**< \brief Analog Comparator (ACC) */
-#define ID_RXLP (76) /**< \brief Uart Low Power (RXLP) */
-#define ID_CHIPID (78) /**< \brief Chip ID (CHIPID) */
-
-#define ID_PERIPH_COUNT (79) /**< \brief Number of peripheral IDs */
-
-/* XDMA Peripheral Interface Number */
-
-#define PERID_TWIHS0_TX 0
-#define PERID_TWIHS0_RX 1
-#define PERID_TWIHS1_TX 2
-#define PERID_TWIHS1_RX 3
-#define PERID_QSPI0_TX 4
-#define PERID_QSPI0_RX 5
-#define PERID_SPI0_TX 6
-#define PERID_SPI0_RX 7
-#define PERID_SPI1_TX 8
-#define PERID_SPI1_RX 9
-#define PERID_PWM_TX 10
-#define PERID_PWM_RX 0XFF
-#define PERID_FLEXCOM0_TX 11
-#define PERID_FLEXCOM0_RX 12
-#define PERID_FLEXCOM1_TX 13
-#define PERID_FLEXCOM1_RX 14
-#define PERID_FLEXCOM2_TX 15
-#define PERID_FLEXCOM2_RX 16
-#define PERID_FLEXCOM3_TX 17
-#define PERID_FLEXCOM3_RX 18
-#define PERID_FLEXCOM4_TX 19
-#define PERID_FLEXCOM4_RX 20
-#define PERID_SSC0_TX 21
-#define PERID_SSC0_RX 22
-#define PERID_SSC1_TX 23
-#define PERID_SSC1_RX 24
-#define PERID_ADC_TX 0XFF
-#define PERID_ADC_RX 25
-#define PERID_AES_TX 26
-#define PERID_AES_RX 27
-#define PERID_TDES_TX 28
-#define PERID_TDES_RX 29
-#define PERID_SHA_TX 30
-#define PERID_SHA_RX 0XFF
-#define PERID_I2SC0_TX 31
-#define PERID_I2SC0_RX 32
-#define PERID_I2SC1_TX 33
-#define PERID_I2SC1_RX 34
-#define PERID_UART0_TX 35
-#define PERID_UART0_RX 36
-#define PERID_UART1_TX 37
-#define PERID_UART1_RX 38
-#define PERID_UART2_TX 39
-#define PERID_UART2_RX 40
-#define PERID_UART3_TX 41
-#define PERID_UART3_RX 42
-#define PERID_UART4_TX 43
-#define PERID_UART4_RX 44
-#define PERID_TC0_TX 0XFF
-#define PERID_TC0_RX 45
-#define PERID_TC1_TX 0XFF
-#define PERID_TC1_RX 46
-#define PERID_CLASSD_TX 47
-#define PERID_CLASSD_RX 0XFF
-#define PERID_QSPI1_TX 48
-#define PERID_QSPI1_RX 49
-#define PERID_PDMIC_TX 0XFF
-#define PERID_PDMIC_RX 50
-
-#define ID_SAIC_FIQ_MSK (1 << (ID_SAIC_FIQ & 0x1F))
-#define ID_ARM_PMU_MSK (1 << (ID_ARM_PMU & 0x1F))
-#define ID_PIT_MSK (1 << (ID_PIT & 0x1F))
-#define ID_WDT_MSK (1 << (ID_WDT & 0x1F))
-#define ID_GMAC0_MSK (1 << (ID_GMAC0 & 0x1F))
-#define ID_XDMAC0_MSK (1 << (ID_XDMAC0 & 0x1F))
-#define ID_XDMAC1_MSK (1 << (ID_XDMAC1 & 0x1F))
-#define ID_ICM_MSK (1 << (ID_ICM & 0x1F))
-#define ID_AES_MSK (1 << (ID_AES & 0x1F))
-#define ID_AESB_MSK (1 << (ID_AESB & 0x1F))
-#define ID_TDES_MSK (1 << (ID_TDES & 0x1F))
-#define ID_SHA_MSK (1 << (ID_SHA & 0x1F))
-#define ID_MPDDRC_MSK (1 << (ID_MPDDRC & 0x1F))
-#define ID_MATRIX1_MSK (1 << (ID_MATRIX1 & 0x1F))
-#define ID_MATRIX0_MSK (1 << (ID_MATRIX0 & 0x1F))
-#define ID_SECUMOD_MSK (1 << (ID_SECUMOD & 0x1F))
-#define ID_HSMC_MSK (1 << (ID_HSMC & 0x1F))
-#define ID_PIOA_MSK (1 << (ID_PIOA & 0x1F))
-#define ID_FLEXCOM0_MSK (1 << (ID_FLEXCOM0 & 0x1F))
-#define ID_USART0_MSK (1 << (ID_USART0 & 0x1F))
-#define ID_FCOMSPI0_MSK (1 << (ID_FCOMSPI0 & 0x1F))
-#define ID_TWI0_MSK (1 << (ID_TWI0 & 0x1F))
-#define ID_FLEXCOM1_MSK (1 << (ID_FLEXCOM1 & 0x1F))
-#define ID_USART1_MSK (1 << (ID_USART1 & 0x1F))
-#define ID_FCOMSPI1_MSK (1 << (ID_FCOMSPI1 & 0x1F))
-#define ID_TWI1_MSK (1 << (ID_TWI1 & 0x1F))
-#define ID_FLEXCOM2_MSK (1 << (ID_FLEXCOM2 & 0x1F))
-#define ID_USART2_MSK (1 << (ID_USART2 & 0x1F))
-#define ID_FCOMSPI2_MSK (1 << (ID_FCOMSPI2 & 0x1F))
-#define ID_TWI2_MSK (1 << (ID_TWI2 & 0x1F))
-#define ID_FLEXCOM3_MSK (1 << (ID_FLEXCOM3 & 0x1F))
-#define ID_USART3_MSK (1 << (ID_USART3 & 0x1F))
-#define ID_FCOMSPI3_MSK (1 << (ID_FCOMSPI3 & 0x1F))
-#define ID_TWI3_MSK (1 << (ID_TWI3 & 0x1F))
-#define ID_FLEXCOM4_MSK (1 << (ID_FLEXCOM4 & 0x1F))
-#define ID_USART4_MSK (1 << (ID_USART4 & 0x1F))
-#define ID_FCOMSPI4_MSK (1 << (ID_FCOMSPI4 & 0x1F))
-#define ID_TWI4_MSK (1 << (ID_TWI4 & 0x1F))
-#define ID_UART0_MSK (1 << (ID_UART0 & 0x1F))
-#define ID_UART1_MSK (1 << (ID_UART1 & 0x1F))
-#define ID_UART2_MSK (1 << (ID_UART2 & 0x1F))
-#define ID_UART3_MSK (1 << (ID_UART3 & 0x1F))
-#define ID_UART4_MSK (1 << (ID_UART4 & 0x1F))
-#define ID_TWIHS0_MSK (1 << (ID_TWIHS0 & 0x1F))
-#define ID_TWIHS1_MSK (1 << (ID_TWIHS1 & 0x1F))
-#define ID_SDMMC0_MSK (1 << (ID_SDMMC0 & 0x1F))
-#define ID_SDMMC1_MSK (1 << (ID_SDMMC1 & 0x1F))
-#define ID_SPI0_MSK (1 << (ID_SPI0 & 0x1F))
-#define ID_SPI1_MSK (1 << (ID_SPI1 & 0x1F))
-#define ID_TC0_MSK (1 << (ID_TC0 & 0x1F))
-#define ID_TC1_MSK (1 << (ID_TC1 & 0x1F))
-#define ID_PWM_MSK (1 << (ID_PWM & 0x1F))
-#define ID_ADC_MSK (1 << (ID_ADC & 0x1F))
-#define ID_UHPHS_MSK (1 << (ID_UHPHS & 0x1F))
-#define ID_UDPHS_MSK (1 << (ID_UDPHS & 0x1F))
-#define ID_SSC0_MSK (1 << (ID_SSC0 & 0x1F))
-#define ID_SSC1_MSK (1 << (ID_SSC1 & 0x1F))
-#define ID_LCDC_MSK (1 << (ID_LCDC & 0x1F))
-#define ID_ISC_MSK (1 << (ID_ISC & 0x1F))
-#define ID_TRNG_MSK (1 << (ID_TRNG & 0x1F))
-#define ID_PDMIC_MSK (1 << (ID_PDMIC & 0x1F))
-#define ID_AIC_IRQ_MSK (1 << (ID_AIC_IRQ & 0x1F))
-#define ID_SFC_MSK (1 << (ID_SFC & 0x1F))
-#define ID_SECURAM_MSK (1 << (ID_SECURAM & 0x1F))
-#define ID_QSPI0_MSK (1 << (ID_QSPI0 & 0x1F))
-#define ID_QSPI1_MSK (1 << (ID_QSPI1 & 0x1F))
-#define ID_I2SC0_MSK (1 << (ID_I2SC0 & 0x1F))
-#define ID_I2SC1_MSK (1 << (ID_I2SC1 & 0x1F))
-#define ID_CAN0_INT0_MSK (1 << (ID_CAN0_INT0 & 0x1F))
-#define ID_CAN1_INT0_MSK (1 << (ID_CAN1_INT0 & 0x1F))
-#define ID_CLASSD_MSK (1 << (ID_CLASSD & 0x1F))
-#define ID_SFR_MSK (1 << (ID_SFR & 0x1F))
-#define ID_SAIC_MSK (1 << (ID_SAIC & 0x1F))
-#define ID_AIC_MSK (1 << (ID_AIC & 0x1F))
-#define ID_L2CC_MSK (1 << (ID_L2CC & 0x1F))
-#define ID_CAN0_INT1_MSK (1 << (ID_CAN0_INT1 & 0x1F))
-#define ID_CAN1_INT1_MSK (1 << (ID_CAN1_INT1 & 0x1F))
-#define ID_GMAC0_Q1_MSK (1 << (ID_GMAC0_Q1 & 0x1F))
-#define ID_GMAC0_Q2_MSK (1 << (ID_GMAC0_Q2 & 0x1F))
-#define ID_PIOB_MSK (1 << (ID_PIOB & 0x1F))
-#define ID_PIOC_MSK (1 << (ID_PIOC & 0x1F))
-#define ID_PIOD_MSK (1 << (ID_PIOD & 0x1F))
-#define ID_SDMMC0_TIMER_MSK (1 << (ID_SDMMC0_TIMER & 0x1F))
-#define ID_SDMMC1_TIMER_MSK (1 << (ID_SDMMC1_TIMER & 0x1F))
-#define ID_SYSC_MSK (1 << (ID_SYSC & 0x1F))
-#define ID_ACC_MSK (1 << (ID_ACC & 0x1F))
-#define ID_RXLP_MSK (1 << (ID_RXLP & 0x1F))
-#define ID_CHIPID_MSK (1 << (ID_CHIPID & 0x1F))
-
-/* MASTER MATRIX ID DEFINITION FOR SAMA5D2x */
-
-#define H64MX_MASTER_BRIDGE_FROM_AXI 0
-#define H64MX_MASTER_XDMAC0_0 1
-#define H64MX_MASTER_XDMAC0_1 2
-#define H64MX_MASTER_XDMAC1_0 3
-#define H64MX_MASTER_XDMAC1_1 4
-#define H64MX_MASTER_LCDC_DMA_0 5
-#define H64MX_MASTER_LCDC_DMA_1 6
-#define H64MX_MASTER_SDMMC0 7
-#define H64MX_MASTER_SDMMC1 8
-#define H64MX_MASTER_ISC_DMA 9
-#define H64MX_MASTER_AESB 10
-#define H64MX_MASTER_BRIDGE_H64MX 11
-
-#define H32MX_MASTER_BRIDGE_H32MX 0
-#define H32MX_MASTER_ICM 1
-#define H32MX_MASTER_UHPHS_EHCI_DMA 2
-#define H32MX_MASTER_UHPHS_OHCI_DMA 3
-#define H32MX_MASTER_UDPHS_DMA 4
-#define H32MX_MASTER_GMAC_DMA 5
-#define H32MX_MASTER_CAN0_DMA 6
-#define H32MX_MASTER_CAN1_DMA 7
-
- /* SLAVE MATRIX ID DEFINITIONS FOR SAMA5D2x */
-
- #define H64MX_SLAVE_BRIDGE_H32MX 0
- #define H64MX_SLAVE_APB 1
- #define H64MX_SLAVE_SDMMC 1
- #define H64MX_SLAVE_DDR_PORT0 2
- #define H64MX_SLAVE_DDR_PORT1 3
- #define H64MX_SLAVE_DDR_PORT2 4
- #define H64MX_SLAVE_DDR_PORT3 5
- #define H64MX_SLAVE_DDR_PORT4 6
- #define H64MX_SLAVE_DDR_PORT5 7
- #define H64MX_SLAVE_DDR_PORT6 8
- #define H64MX_SLAVE_DDR_PORT7 9
- #define H64MX_SLAVE_SRAM 10
- #define H64MX_SLAVE_L2C_SRAM 11
- #define H64MX_SLAVE_QSPI0 12
- #define H64MX_SLAVE_QSPI1 13
- #define H64MX_SLAVE_AESB 14
-
- #define H32MX_SLAVE_BRIDGE_H64MX 0
- #define H32MX_SLAVE_APB0 1
- #define H32MX_SLAVE_APB1 2
- #define H32MX_SLAVE_EBI 3
- #define H32MX_SLAVE_NFC_CMD 3
- #define H32MX_SLAVE_NFC_SRAM 4
- #define H32MX_SLAVE_USB 5
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-/**@} */
-#endif /* __SAMA5D2X_H */
-
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAM/sama5d2x.h
+ * @brief SAM A5 D2x inclusion header.
+ *
+ * @addtogroup SAMA5D2
+ * @{
+ */
+
+#ifndef _SAMA5D2X_H_
+#define _SAMA5D2X_H_
+
+#ifdef __cplusplus
+ extern "C" {
+#endif /* __cplusplus */
+
+#include <stddef.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include "ARMCA5.h"
+/**
+ * @brief SAMA5D2 Family
+ */
+#if !defined (SAMA5D2)
+#define SAMA5D2
+#endif /* SAMA5D2 */
+
+/**
+ * @addtogroup Device_Included
+ * @{
+ */
+#if defined(SAMA5D21)
+ #include "sama5d21.h"
+#elif defined(SAMA5D22)
+ #include "sama5d22.h"
+#elif defined(SAMA5D23)
+ #include "sama5d23.h"
+#elif defined(SAMA5D24)
+ #include "sama5d24.h"
+#elif defined(SAMA5D26)
+ #include "sama5d26.h"
+#elif defined(SAMA5D27)
+ #include "sama5d27.h"
+#elif defined(SAMA5D28)
+ #include "sama5d28.h"
+#else
+ #error "Please select first the target SAMA5D2x device used in your application (in sama5d2x.h file)"
+#endif
+
+/**@} */
+
+/**
+ * @brief SAMA5D2 Family
+ * @{
+ */
+#define ID_SAIC_FIQ ( 0) /**< \brief FIQ Interrupt ID (SAIC_FIQ) */
+#define ID_ARM_PMU ( 2) /**< \brief Performance Monitor Unit (PMU) (ARM_PMU) */
+#define ID_PIT ( 3) /**< \brief Periodic Interval Timer Interrupt (PIT) */
+#define ID_WDT ( 4) /**< \brief Watchdog timer Interrupt (WDT) */
+#define ID_GMAC0 ( 5) /**< \brief Ethernet MAC (GMAC0) */
+#define ID_XDMAC0 ( 6) /**< \brief DMA Controller 0 (XDMAC0) */
+#define ID_XDMAC1 ( 7) /**< \brief DMA Controller 1 (XDMAC1) */
+#define ID_ICM ( 8) /**< \brief Integritry Check Monitor (ICM) */
+#define ID_AES ( 9) /**< \brief Advanced Enion Standard (AES) */
+#define ID_AESB (10) /**< \brief AES bridge (AESB) */
+#define ID_TDES (11) /**< \brief Triple Data Enion Standard (TDES) */
+#define ID_SHA (12) /**< \brief SHA Signature (SHA) */
+#define ID_MPDDRC (13) /**< \brief MPDDR controller (MPDDRC) */
+#define ID_MATRIX1 (14) /**< \brief H32MX, 32-bit AHB Matrix (MATRIX1) */
+#define ID_MATRIX0 (15) /**< \brief H64MX, 64-bit AHB Matrix (MATRIX0) */
+#define ID_SECUMOD (16) /**< \brief Secure Module (SECUMOD) */
+#define ID_HSMC (17) /**< \brief Multi-bit ECC Interrupt (HSMC) */
+#define ID_PIOA (18) /**< \brief Parallel I/O Controller (PIOA) */
+#define ID_FLEXCOM0 (19) /**< \brief FLEXCOM 0 (FLEXCOM0) */
+#define ID_USART0 (19) /**< \brief USART (USART0) from FLEXCOM0 */
+#define ID_FCOMSPI0 (19) /**< \brief Serial Peripheral Interface (SPI0) from FLEXCOM0 */
+#define ID_TWI0 (19) /**< \brief Two-Wire Interface (TWI0) from FLEXCOM0 */
+#define ID_FLEXCOM1 (20) /**< \brief FLEXCOM 1 (FLEXCOM1) */
+#define ID_USART1 (20) /**< \brief USART (USART1) from FLEXCOM1 */
+#define ID_FCOMSPI1 (20) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
+#define ID_TWI1 (20) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
+#define ID_FLEXCOM2 (21) /**< \brief FLEXCOM 1 (FLEXCOM1) */
+#define ID_USART2 (21) /**< \brief USART (USART1) from FLEXCOM1 */
+#define ID_FCOMSPI2 (21) /**< \brief Serial Peripheral Interface (SPI1) from FLEXCOM1 */
+#define ID_TWI2 (21) /**< \brief Two-Wire Interface (TWI1) from FLEXCOM1 */
+#define ID_FLEXCOM3 (22) /**< \brief FLEXCOM 3 (FLEXCOM3) */
+#define ID_USART3 (22) /**< \brief USART (USART3) from FLEXCOM3 */
+#define ID_FCOMSPI3 (22) /**< \brief Serial Peripheral Interface (SPI3) from FLEXCOM3 */
+#define ID_TWI3 (22) /**< \brief Two-Wire Interface (TWI3) from FLEXCOM3 */
+#define ID_FLEXCOM4 (23) /**< \brief FLEXCOM 4 (FLEXCOM4) */
+#define ID_USART4 (23) /**< \brief USART (USART4) from FLEXCOM4 */
+#define ID_FCOMSPI4 (23) /**< \brief Serial Peripheral Interface (SPI4) from FLEXCOM4 */
+#define ID_TWI4 (23) /**< \brief Two-Wire Interface (TWI4) from FLEXCOM4 */
+#define ID_UART0 (24) /**< \brief UART 0 (UART0) */
+#define ID_UART1 (25) /**< \brief UART 1 (UART1) */
+#define ID_UART2 (26) /**< \brief UART 2 (UART2) */
+#define ID_UART3 (27) /**< \brief UART 3 (UART3) */
+#define ID_UART4 (28) /**< \brief UART 4 (UART4) */
+#define ID_TWIHS0 (29) /**< \brief Two-Wire Interface 0 (TWIHS0) */
+#define ID_TWIHS1 (30) /**< \brief Two-Wire Interface 1 (TWIHS1) */
+#define ID_SDMMC0 (31) /**< \brief Secure Digital Multimedia Card Controller 0 (SDMMC0) */
+#define ID_SDMMC1 (32) /**< \brief Secure Digital Multimedia Card Controller 1 (SDMMC1) */
+#define ID_SPI0 (33) /**< \brief Serial Peripheral Interface 0 (SPI0) */
+#define ID_SPI1 (34) /**< \brief Serial Peripheral Interface 1 (SPI1) */
+#define ID_TC0 (35) /**< \brief Timer Counter 0 (ch. 0, 1, 2) (TC0) */
+#define ID_TC1 (36) /**< \brief Timer Counter 1 (ch. 3, 4, 5) (TC1) */
+#define ID_PWM (38) /**< \brief Pulse Width Modulation Controller0 (ch. 0, 1, 2, 3) (PWM) */
+#define ID_ADC (40) /**< \brief Touch Screen ADC Controller (ADC) */
+#define ID_UHPHS (41) /**< \brief USB Host High Speed (UHPHS) */
+#define ID_UDPHS (42) /**< \brief USB Device High Speed (UDPHS) */
+#define ID_SSC0 (43) /**< \brief Synchronous Serial Controller 0 (SSC0) */
+#define ID_SSC1 (44) /**< \brief Synchronous Serial Controller 1 (SSC1) */
+#define ID_LCDC (45) /**< \brief LCD Controller (LCDC) */
+#define ID_ISC (46) /**< \brief Camera Interface (ISC) */
+#define ID_TRNG (47) /**< \brief True Random Number Generator (TRNG) */
+#define ID_PDMIC (48) /**< \brief Pulse Density Modulation Interface Controller (PDMIC) */
+#define ID_AIC_IRQ (49) /**< \brief IRQ Interrupt ID (AIC_IRQ) */
+#define ID_SFC (50) /**< \brief Fuse Controller (SFC) */
+#define ID_SECURAM (51) /**< \brief Secured RAM (SECURAM) */
+#define ID_QSPI0 (52) /**< \brief QSPI 0 (QSPI0) */
+#define ID_QSPI1 (53) /**< \brief QSPI 1 (QSPI1) */
+#define ID_I2SC0 (54) /**< \brief Inter-IC Sound Controller 0 (I2SC0) */
+#define ID_I2SC1 (55) /**< \brief Inter-IC Sound Controller 1 (I2SC1) */
+#define ID_CAN0_INT0 (56) /**< \brief MCAN 0 Interrupt0 (CAN0_INT0) */
+#define ID_CAN1_INT0 (57) /**< \brief MCAN 1 Interrupt0 (CAN1_INT0) */
+#define ID_CLASSD (59) /**< \brief Audio Class D amplifier (CLASSD) */
+#define ID_SFR (60) /**< \brief Special Function Register (SFR) */
+#define ID_SAIC (61) /**< \brief Secured Advanced Interrupt Controller (SAIC) */
+#define ID_AIC (62) /**< \brief Advanced Interrupt Controller (AIC) */
+#define ID_L2CC (63) /**< \brief L2 Cache Controller (L2CC) */
+#define ID_CAN0_INT1 (64) /**< \brief MCAN 0 Interrupt1 (CAN0_INT1) */
+#define ID_CAN1_INT1 (65) /**< \brief MCAN 1 Interrupt1 (CAN1_INT1) */
+#define ID_GMAC0_Q1 (66) /**< \brief GMAC Queue 1 Interrupt (GMAC0_Q1) */
+#define ID_GMAC0_Q2 (67) /**< \brief GMAC Queue 2 Interrupt (GMAC0_Q2) */
+#define ID_PIOB (68) /**< \brief (PIOB) */
+#define ID_PIOC (69) /**< \brief (PIOC) */
+#define ID_PIOD (70) /**< \brief (PIOD) */
+#define ID_SDMMC0_TIMER (71) /**< \brief (SDMMC0_TIMER) */
+#define ID_SDMMC1_TIMER (72) /**< \brief (SDMMC1_TIMER) */
+#define ID_SYSC (74) /**< \brief System Controller Interrupt, RTC, RSTC, PMC (SYSC) */
+#define ID_ACC (75) /**< \brief Analog Comparator (ACC) */
+#define ID_RXLP (76) /**< \brief Uart Low Power (RXLP) */
+#define ID_CHIPID (78) /**< \brief Chip ID (CHIPID) */
+
+#define ID_PERIPH_COUNT (79) /**< \brief Number of peripheral IDs */
+
+/* XDMA Peripheral Interface Number */
+
+#define PERID_TWIHS0_TX 0
+#define PERID_TWIHS0_RX 1
+#define PERID_TWIHS1_TX 2
+#define PERID_TWIHS1_RX 3
+#define PERID_QSPI0_TX 4
+#define PERID_QSPI0_RX 5
+#define PERID_SPI0_TX 6
+#define PERID_SPI0_RX 7
+#define PERID_SPI1_TX 8
+#define PERID_SPI1_RX 9
+#define PERID_PWM_TX 10
+#define PERID_PWM_RX 0XFF
+#define PERID_FLEXCOM0_TX 11
+#define PERID_FLEXCOM0_RX 12
+#define PERID_FLEXCOM1_TX 13
+#define PERID_FLEXCOM1_RX 14
+#define PERID_FLEXCOM2_TX 15
+#define PERID_FLEXCOM2_RX 16
+#define PERID_FLEXCOM3_TX 17
+#define PERID_FLEXCOM3_RX 18
+#define PERID_FLEXCOM4_TX 19
+#define PERID_FLEXCOM4_RX 20
+#define PERID_SSC0_TX 21
+#define PERID_SSC0_RX 22
+#define PERID_SSC1_TX 23
+#define PERID_SSC1_RX 24
+#define PERID_ADC_TX 0XFF
+#define PERID_ADC_RX 25
+#define PERID_AES_TX 26
+#define PERID_AES_RX 27
+#define PERID_TDES_TX 28
+#define PERID_TDES_RX 29
+#define PERID_SHA_TX 30
+#define PERID_SHA_RX 0XFF
+#define PERID_I2SC0_TX 31
+#define PERID_I2SC0_RX 32
+#define PERID_I2SC1_TX 33
+#define PERID_I2SC1_RX 34
+#define PERID_UART0_TX 35
+#define PERID_UART0_RX 36
+#define PERID_UART1_TX 37
+#define PERID_UART1_RX 38
+#define PERID_UART2_TX 39
+#define PERID_UART2_RX 40
+#define PERID_UART3_TX 41
+#define PERID_UART3_RX 42
+#define PERID_UART4_TX 43
+#define PERID_UART4_RX 44
+#define PERID_TC0_TX 0XFF
+#define PERID_TC0_RX 45
+#define PERID_TC1_TX 0XFF
+#define PERID_TC1_RX 46
+#define PERID_CLASSD_TX 47
+#define PERID_CLASSD_RX 0XFF
+#define PERID_QSPI1_TX 48
+#define PERID_QSPI1_RX 49
+#define PERID_PDMIC_TX 0XFF
+#define PERID_PDMIC_RX 50
+
+#define ID_SAIC_FIQ_MSK (1 << (ID_SAIC_FIQ & 0x1F))
+#define ID_ARM_PMU_MSK (1 << (ID_ARM_PMU & 0x1F))
+#define ID_PIT_MSK (1 << (ID_PIT & 0x1F))
+#define ID_WDT_MSK (1 << (ID_WDT & 0x1F))
+#define ID_GMAC0_MSK (1 << (ID_GMAC0 & 0x1F))
+#define ID_XDMAC0_MSK (1 << (ID_XDMAC0 & 0x1F))
+#define ID_XDMAC1_MSK (1 << (ID_XDMAC1 & 0x1F))
+#define ID_ICM_MSK (1 << (ID_ICM & 0x1F))
+#define ID_AES_MSK (1 << (ID_AES & 0x1F))
+#define ID_AESB_MSK (1 << (ID_AESB & 0x1F))
+#define ID_TDES_MSK (1 << (ID_TDES & 0x1F))
+#define ID_SHA_MSK (1 << (ID_SHA & 0x1F))
+#define ID_MPDDRC_MSK (1 << (ID_MPDDRC & 0x1F))
+#define ID_MATRIX1_MSK (1 << (ID_MATRIX1 & 0x1F))
+#define ID_MATRIX0_MSK (1 << (ID_MATRIX0 & 0x1F))
+#define ID_SECUMOD_MSK (1 << (ID_SECUMOD & 0x1F))
+#define ID_HSMC_MSK (1 << (ID_HSMC & 0x1F))
+#define ID_PIOA_MSK (1 << (ID_PIOA & 0x1F))
+#define ID_FLEXCOM0_MSK (1 << (ID_FLEXCOM0 & 0x1F))
+#define ID_USART0_MSK (1 << (ID_USART0 & 0x1F))
+#define ID_FCOMSPI0_MSK (1 << (ID_FCOMSPI0 & 0x1F))
+#define ID_TWI0_MSK (1 << (ID_TWI0 & 0x1F))
+#define ID_FLEXCOM1_MSK (1 << (ID_FLEXCOM1 & 0x1F))
+#define ID_USART1_MSK (1 << (ID_USART1 & 0x1F))
+#define ID_FCOMSPI1_MSK (1 << (ID_FCOMSPI1 & 0x1F))
+#define ID_TWI1_MSK (1 << (ID_TWI1 & 0x1F))
+#define ID_FLEXCOM2_MSK (1 << (ID_FLEXCOM2 & 0x1F))
+#define ID_USART2_MSK (1 << (ID_USART2 & 0x1F))
+#define ID_FCOMSPI2_MSK (1 << (ID_FCOMSPI2 & 0x1F))
+#define ID_TWI2_MSK (1 << (ID_TWI2 & 0x1F))
+#define ID_FLEXCOM3_MSK (1 << (ID_FLEXCOM3 & 0x1F))
+#define ID_USART3_MSK (1 << (ID_USART3 & 0x1F))
+#define ID_FCOMSPI3_MSK (1 << (ID_FCOMSPI3 & 0x1F))
+#define ID_TWI3_MSK (1 << (ID_TWI3 & 0x1F))
+#define ID_FLEXCOM4_MSK (1 << (ID_FLEXCOM4 & 0x1F))
+#define ID_USART4_MSK (1 << (ID_USART4 & 0x1F))
+#define ID_FCOMSPI4_MSK (1 << (ID_FCOMSPI4 & 0x1F))
+#define ID_TWI4_MSK (1 << (ID_TWI4 & 0x1F))
+#define ID_UART0_MSK (1 << (ID_UART0 & 0x1F))
+#define ID_UART1_MSK (1 << (ID_UART1 & 0x1F))
+#define ID_UART2_MSK (1 << (ID_UART2 & 0x1F))
+#define ID_UART3_MSK (1 << (ID_UART3 & 0x1F))
+#define ID_UART4_MSK (1 << (ID_UART4 & 0x1F))
+#define ID_TWIHS0_MSK (1 << (ID_TWIHS0 & 0x1F))
+#define ID_TWIHS1_MSK (1 << (ID_TWIHS1 & 0x1F))
+#define ID_SDMMC0_MSK (1 << (ID_SDMMC0 & 0x1F))
+#define ID_SDMMC1_MSK (1 << (ID_SDMMC1 & 0x1F))
+#define ID_SPI0_MSK (1 << (ID_SPI0 & 0x1F))
+#define ID_SPI1_MSK (1 << (ID_SPI1 & 0x1F))
+#define ID_TC0_MSK (1 << (ID_TC0 & 0x1F))
+#define ID_TC1_MSK (1 << (ID_TC1 & 0x1F))
+#define ID_PWM_MSK (1 << (ID_PWM & 0x1F))
+#define ID_ADC_MSK (1 << (ID_ADC & 0x1F))
+#define ID_UHPHS_MSK (1 << (ID_UHPHS & 0x1F))
+#define ID_UDPHS_MSK (1 << (ID_UDPHS & 0x1F))
+#define ID_SSC0_MSK (1 << (ID_SSC0 & 0x1F))
+#define ID_SSC1_MSK (1 << (ID_SSC1 & 0x1F))
+#define ID_LCDC_MSK (1 << (ID_LCDC & 0x1F))
+#define ID_ISC_MSK (1 << (ID_ISC & 0x1F))
+#define ID_TRNG_MSK (1 << (ID_TRNG & 0x1F))
+#define ID_PDMIC_MSK (1 << (ID_PDMIC & 0x1F))
+#define ID_AIC_IRQ_MSK (1 << (ID_AIC_IRQ & 0x1F))
+#define ID_SFC_MSK (1 << (ID_SFC & 0x1F))
+#define ID_SECURAM_MSK (1 << (ID_SECURAM & 0x1F))
+#define ID_QSPI0_MSK (1 << (ID_QSPI0 & 0x1F))
+#define ID_QSPI1_MSK (1 << (ID_QSPI1 & 0x1F))
+#define ID_I2SC0_MSK (1 << (ID_I2SC0 & 0x1F))
+#define ID_I2SC1_MSK (1 << (ID_I2SC1 & 0x1F))
+#define ID_CAN0_INT0_MSK (1 << (ID_CAN0_INT0 & 0x1F))
+#define ID_CAN1_INT0_MSK (1 << (ID_CAN1_INT0 & 0x1F))
+#define ID_CLASSD_MSK (1 << (ID_CLASSD & 0x1F))
+#define ID_SFR_MSK (1 << (ID_SFR & 0x1F))
+#define ID_SAIC_MSK (1 << (ID_SAIC & 0x1F))
+#define ID_AIC_MSK (1 << (ID_AIC & 0x1F))
+#define ID_L2CC_MSK (1 << (ID_L2CC & 0x1F))
+#define ID_CAN0_INT1_MSK (1 << (ID_CAN0_INT1 & 0x1F))
+#define ID_CAN1_INT1_MSK (1 << (ID_CAN1_INT1 & 0x1F))
+#define ID_GMAC0_Q1_MSK (1 << (ID_GMAC0_Q1 & 0x1F))
+#define ID_GMAC0_Q2_MSK (1 << (ID_GMAC0_Q2 & 0x1F))
+#define ID_PIOB_MSK (1 << (ID_PIOB & 0x1F))
+#define ID_PIOC_MSK (1 << (ID_PIOC & 0x1F))
+#define ID_PIOD_MSK (1 << (ID_PIOD & 0x1F))
+#define ID_SDMMC0_TIMER_MSK (1 << (ID_SDMMC0_TIMER & 0x1F))
+#define ID_SDMMC1_TIMER_MSK (1 << (ID_SDMMC1_TIMER & 0x1F))
+#define ID_SYSC_MSK (1 << (ID_SYSC & 0x1F))
+#define ID_ACC_MSK (1 << (ID_ACC & 0x1F))
+#define ID_RXLP_MSK (1 << (ID_RXLP & 0x1F))
+#define ID_CHIPID_MSK (1 << (ID_CHIPID & 0x1F))
+
+/* MASTER MATRIX ID DEFINITION FOR SAMA5D2x */
+
+#define H64MX_MASTER_BRIDGE_FROM_AXI 0
+#define H64MX_MASTER_XDMAC0_0 1
+#define H64MX_MASTER_XDMAC0_1 2
+#define H64MX_MASTER_XDMAC1_0 3
+#define H64MX_MASTER_XDMAC1_1 4
+#define H64MX_MASTER_LCDC_DMA_0 5
+#define H64MX_MASTER_LCDC_DMA_1 6
+#define H64MX_MASTER_SDMMC0 7
+#define H64MX_MASTER_SDMMC1 8
+#define H64MX_MASTER_ISC_DMA 9
+#define H64MX_MASTER_AESB 10
+#define H64MX_MASTER_BRIDGE_H64MX 11
+
+#define H32MX_MASTER_BRIDGE_H32MX 0
+#define H32MX_MASTER_ICM 1
+#define H32MX_MASTER_UHPHS_EHCI_DMA 2
+#define H32MX_MASTER_UHPHS_OHCI_DMA 3
+#define H32MX_MASTER_UDPHS_DMA 4
+#define H32MX_MASTER_GMAC_DMA 5
+#define H32MX_MASTER_CAN0_DMA 6
+#define H32MX_MASTER_CAN1_DMA 7
+
+ /* SLAVE MATRIX ID DEFINITIONS FOR SAMA5D2x */
+
+ #define H64MX_SLAVE_BRIDGE_H32MX 0
+ #define H64MX_SLAVE_APB 1
+ #define H64MX_SLAVE_SDMMC 1
+ #define H64MX_SLAVE_DDR_PORT0 2
+ #define H64MX_SLAVE_DDR_PORT1 3
+ #define H64MX_SLAVE_DDR_PORT2 4
+ #define H64MX_SLAVE_DDR_PORT3 5
+ #define H64MX_SLAVE_DDR_PORT4 6
+ #define H64MX_SLAVE_DDR_PORT5 7
+ #define H64MX_SLAVE_DDR_PORT6 8
+ #define H64MX_SLAVE_DDR_PORT7 9
+ #define H64MX_SLAVE_SRAM 10
+ #define H64MX_SLAVE_L2C_SRAM 11
+ #define H64MX_SLAVE_QSPI0 12
+ #define H64MX_SLAVE_QSPI1 13
+ #define H64MX_SLAVE_AESB 14
+
+ #define H32MX_SLAVE_BRIDGE_H64MX 0
+ #define H32MX_SLAVE_APB0 1
+ #define H32MX_SLAVE_APB1 2
+ #define H32MX_SLAVE_EBI 3
+ #define H32MX_SLAVE_NFC_CMD 3
+ #define H32MX_SLAVE_NFC_SRAM 4
+ #define H32MX_SLAVE_USB 5
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+/**@} */
+#endif /* __SAMA5D2X_H */
+
diff --git a/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S b/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S
index 9e1fb4346..b3bed66b3 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S
+++ b/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S b/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S
index 866904521..932550d72 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S
+++ b/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/crt1.c b/os/common/startup/ARMCMx/compilers/GCC/crt1.c
index a5a7a0cff..1ece4f979 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/crt1.c
+++ b/os/common/startup/ARMCMx/compilers/GCC/crt1.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x4.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x4.ld
index fb27b0e78..1d97747e6 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x4.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x4.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x6.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x6.ld
index 4fed365db..e7fee64aa 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x6.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x6.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x8.ld
index 0ab941602..e27384cb8 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F030x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F031x6.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F031x6.ld
index e108de4e5..b56fd4f51 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F031x6.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F031x6.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F042x6.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F042x6.ld
index 0c67563f9..89c7f3771 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F042x6.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F042x6.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F051x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F051x8.ld
index a36df915c..7186cfc94 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F051x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F051x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F070xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F070xB.ld
index 32fe106b7..64ca47826 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F070xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F070xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F072xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F072xB.ld
index 1c89a4617..ee2dd68b8 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F072xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F072xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F091xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F091xC.ld
index 217eb09fb..1a7ec0f5b 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F091xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F091xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F100xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F100xB.ld
index 5d2bea3e2..50fea0af0 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F100xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F100xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103x8.ld
index a9f182532..411097522 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB.ld
index cda5ccf71..11b3ac655 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB_maplemini_bootloader.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB_maplemini_bootloader.ld
index 61f85a3c0..c614f6b4e 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB_maplemini_bootloader.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xB_maplemini_bootloader.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xD.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xD.ld
index afb50dafa..c9b61e5ad 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xD.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xD.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xE.ld
index d43c963ce..f4dba0e74 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xG.ld
index 9d34c9770..578ebde8f 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F103xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F107xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F107xC.ld
index c946eb16c..05893675c 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F107xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F107xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F207xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F207xG.ld
index 58e6c4ccf..fb18469b4 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F207xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F207xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F302x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F302x8.ld
index f0e8b2620..ab7a3f9e2 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F302x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F302x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303x8.ld
index 09969f6ac..351b454a4 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xC.ld
index d11c1b424..bf2b325a5 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xE.ld
index c1faf607c..4f3adc226 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F303xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F334x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F334x8.ld
index 4f84ace0a..8a23c2e89 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F334x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F334x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F373xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F373xC.ld
index 67f1a32c5..091dda709 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F373xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F373xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xC.ld
index 8a476d9e8..2a2c34a72 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xE.ld
index e0310014c..d7d43d283 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F401xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F405xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F405xG.ld
index e376350cd..ede905ced 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F405xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F405xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xE.ld
index 99bdbe35c..a06852891 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xG.ld
index 618312684..cfefd0edb 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F407xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410x8.ld
index cf1ae1795..f95cf65e6 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410xB.ld
index 387a74fe4..308c5a79e 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F410xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xC.ld
index ebb5e5be9..d15e86593 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xE.ld
index 328c17451..4daa16fc9 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F411xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xE.ld
index 713a912d6..d65521a0c 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xG.ld
index 0f82307af..1f6263373 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F412xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F429xI.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F429xI.ld
index 010202ebe..7ed15aad5 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F429xI.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F429xI.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xC.ld
index fc3253d30..f914256bd 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xE.ld
index 2dc05c16a..25f6ddba0 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F446xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F469xI.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F469xI.ld
index a3ad155b8..61323405d 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F469xI.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F469xI.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG.ld
index 1c4655f37..9798bab5c 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_ETH.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_ETH.ld
index 78006a29b..87ac7dac4 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_ETH.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_ETH.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_MAX.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_MAX.ld
index 264606346..60d25b3e6 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_MAX.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F746xG_MAX.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxG.ld
index 92aa1042c..594d9948d 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxI.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxI.ld
index a7a25eb84..84f97074b 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxI.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32F76xxI.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32H743xI.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32H743xI.ld
index 07db18ce0..954ad1c41 100755
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32H743xI.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32H743xI.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x3.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x3.ld
index 5ffc2fd68..cc0f25186 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x3.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x3.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x4.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x4.ld
index f9d5ef057..dae283bde 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x4.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L011x4.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x4.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x4.ld
index df09b3d06..645693c72 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x4.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x4.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x6.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x6.ld
index d5642bfcb..63e6f4f50 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x6.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L031x6.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x6.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x6.ld
index 3149c34cf..587f4f191 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x6.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x6.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x8.ld
index 04a433885..f79a2c099 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L052x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x6.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x6.ld
index c855eb8e0..cafbdc14a 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x6.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x6.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x8.ld
index 1d3dbc0d0..6d95e3cb0 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L053x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073x8.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073x8.ld
index 97a3d1081..91e53b74f 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073x8.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073x8.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xB.ld
index 7bac060cb..29718dddf 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xZ.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xZ.ld
index 020dfdfbb..37f10c279 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xZ.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L073xZ.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L151x6.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L151x6.ld
index 0ab7bad13..53f46cce0 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L151x6.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L151x6.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xB.ld
index f70628dc3..d84d20201 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xE.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xE.ld
index 3f6a79bfc..1ae3fe113 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xE.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L152xE.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xB.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xB.ld
index 64c309b2b..302c1974c 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xB.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xB.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xC.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xC.ld
index 333a47a07..2b1fe4749 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xC.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L432xC.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L476xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L476xG.ld
index 75ccd91c3..a125d229a 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L476xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L476xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L496xG.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L496xG.ld
index 606c59c95..736d22444 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L496xG.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/STM32L496xG.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld
index 937e62621..76ac53116 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_code.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_data.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_data.ld
index c531015ee..e31bc2093 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_data.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_data.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_stacks.ld b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_stacks.ld
index a1d262854..1f7feadcb 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/ld/rules_stacks.ld
+++ b/os/common/startup/ARMCMx/compilers/GCC/ld/rules_stacks.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/GCC/vectors.S b/os/common/startup/ARMCMx/compilers/GCC/vectors.S
index 8702c5348..5fc019b6c 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/vectors.S
+++ b/os/common/startup/ARMCMx/compilers/GCC/vectors.S
@@ -1,776 +1,776 @@
-/*
- ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file ARMCMx/GCC/vectors.S
- * @brief Interrupt vectors for Cortex-Mx devices.
- *
- * @defgroup ARMCMx_GCC_VECTORS Cortex-Mx Interrupt Vectors
- * @{
- */
-
-#define _FROM_ASM_
-#include "cmparams.h"
-
-#if (CORTEX_NUM_VECTORS % 8) != 0
-#error "the constant CORTEX_NUM_VECTORS must be a multiple of 8"
-#endif
-
-#if (CORTEX_NUM_VECTORS < 8) || (CORTEX_NUM_VECTORS > 240)
-#error "the constant CORTEX_NUM_VECTORS must be between 8 and 240 inclusive"
-#endif
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Code section. */
-/*===========================================================================*/
-
-#if !defined(__DOXYGEN__)
-
- .syntax unified
- .cpu cortex-m0
- .thumb
-
- .section .vectors, "ax"
- .align 4
- .globl _vectors
-_vectors:
- .long __main_stack_end__
- .long Reset_Handler
- .long NMI_Handler
- .long HardFault_Handler
- .long MemManage_Handler
- .long BusFault_Handler
- .long UsageFault_Handler
- .long Vector1C
- .long Vector20
- .long Vector24
- .long Vector28
- .long SVC_Handler
- .long DebugMon_Handler
- .long Vector34
- .long PendSV_Handler
- .long SysTick_Handler
- .long Vector40, Vector44, Vector48, Vector4C
-#if CORTEX_NUM_VECTORS > 4
- .long Vector50, Vector54, Vector58, Vector5C
-#endif
-#if CORTEX_NUM_VECTORS > 8
- .long Vector60, Vector64, Vector68, Vector6C
-#endif
-#if CORTEX_NUM_VECTORS > 12
- .long Vector70, Vector74, Vector78, Vector7C
-#endif
-#if CORTEX_NUM_VECTORS > 16
- .long Vector80, Vector84, Vector88, Vector8C
-#endif
-#if CORTEX_NUM_VECTORS > 20
- .long Vector90, Vector94, Vector98, Vector9C
-#endif
-#if CORTEX_NUM_VECTORS > 24
- .long VectorA0, VectorA4, VectorA8, VectorAC
-#endif
-#if CORTEX_NUM_VECTORS > 28
- .long VectorB0, VectorB4, VectorB8, VectorBC
-#endif
-#if CORTEX_NUM_VECTORS > 32
- .long VectorC0, VectorC4, VectorC8, VectorCC
-#endif
-#if CORTEX_NUM_VECTORS > 36
- .long VectorD0, VectorD4, VectorD8, VectorDC
-#endif
-#if CORTEX_NUM_VECTORS > 40
- .long VectorE0, VectorE4, VectorE8, VectorEC
-#endif
-#if CORTEX_NUM_VECTORS > 44
- .long VectorF0, VectorF4, VectorF8, VectorFC
-#endif
-#if CORTEX_NUM_VECTORS > 48
- .long Vector100, Vector104, Vector108, Vector10C
-#endif
-#if CORTEX_NUM_VECTORS > 52
- .long Vector110, Vector114, Vector118, Vector11C
-#endif
-#if CORTEX_NUM_VECTORS > 56
- .long Vector120, Vector124, Vector128, Vector12C
-#endif
-#if CORTEX_NUM_VECTORS > 60
- .long Vector130, Vector134, Vector138, Vector13C
-#endif
-#if CORTEX_NUM_VECTORS > 64
- .long Vector140, Vector144, Vector148, Vector14C
-#endif
-#if CORTEX_NUM_VECTORS > 68
- .long Vector150, Vector154, Vector158, Vector15C
-#endif
-#if CORTEX_NUM_VECTORS > 72
- .long Vector160, Vector164, Vector168, Vector16C
-#endif
-#if CORTEX_NUM_VECTORS > 76
- .long Vector170, Vector174, Vector178, Vector17C
-#endif
-#if CORTEX_NUM_VECTORS > 80
- .long Vector180, Vector184, Vector188, Vector18C
-#endif
-#if CORTEX_NUM_VECTORS > 84
- .long Vector190, Vector194, Vector198, Vector19C
-#endif
-#if CORTEX_NUM_VECTORS > 88
- .long Vector1A0, Vector1A4, Vector1A8, Vector1AC
-#endif
-#if CORTEX_NUM_VECTORS > 92
- .long Vector1B0, Vector1B4, Vector1B8, Vector1BC
-#endif
-#if CORTEX_NUM_VECTORS > 96
- .long Vector1C0, Vector1C4, Vector1C8, Vector1CC
-#endif
-#if CORTEX_NUM_VECTORS > 100
- .long Vector1D0, Vector1D4, Vector1D8, Vector1DC
-#endif
-#if CORTEX_NUM_VECTORS > 104
- .long Vector1E0, Vector1E4, Vector1E8, Vector1EC
-#endif
-#if CORTEX_NUM_VECTORS > 108
- .long Vector1F0, Vector1F4, Vector1F8, Vector1FC
-#endif
-#if CORTEX_NUM_VECTORS > 112
- .long Vector200, Vector204, Vector208, Vector20C
-#endif
-#if CORTEX_NUM_VECTORS > 116
- .long Vector210, Vector214, Vector218, Vector21C
-#endif
-#if CORTEX_NUM_VECTORS > 120
- .long Vector220, Vector224, Vector228, Vector22C
-#endif
-#if CORTEX_NUM_VECTORS > 124
- .long Vector230, Vector234, Vector238, Vector23C
-#endif
-#if CORTEX_NUM_VECTORS > 128
- .long Vector240, Vector244, Vector248, Vector24C
-#endif
-#if CORTEX_NUM_VECTORS > 132
- .long Vector250, Vector254, Vector258, Vector25C
-#endif
-#if CORTEX_NUM_VECTORS > 136
- .long Vector260, Vector264, Vector268, Vector26C
-#endif
-#if CORTEX_NUM_VECTORS > 140
- .long Vector270, Vector274, Vector278, Vector27C
-#endif
-#if CORTEX_NUM_VECTORS > 144
- .long Vector280, Vector284, Vector288, Vector28C
-#endif
-#if CORTEX_NUM_VECTORS > 148
- .long Vector290, Vector294, Vector298, Vector29C
-#endif
-#if CORTEX_NUM_VECTORS > 152
- .long Vector2A0, Vector2A4, Vector2A8, Vector2AC
-#endif
-#if CORTEX_NUM_VECTORS > 156
- .long Vector2B0, Vector2B4, Vector2B8, Vector2BC
-#endif
-#if CORTEX_NUM_VECTORS > 160
- .long Vector2C0, Vector2C4, Vector2C8, Vector2CC
-#endif
-#if CORTEX_NUM_VECTORS > 164
- .long Vector2D0, Vector2D4, Vector2D8, Vector2DC
-#endif
-#if CORTEX_NUM_VECTORS > 168
- .long Vector2E0, Vector2E4, Vector2E8, Vector2EC
-#endif
-#if CORTEX_NUM_VECTORS > 172
- .long Vector2F0, Vector2F4, Vector2F8, Vector2FC
-#endif
-#if CORTEX_NUM_VECTORS > 176
- .long Vector300, Vector304, Vector308, Vector30C
-#endif
-#if CORTEX_NUM_VECTORS > 180
- .long Vector310, Vector314, Vector318, Vector31C
-#endif
-#if CORTEX_NUM_VECTORS > 184
- .long Vector320, Vector324, Vector328, Vector32C
-#endif
-#if CORTEX_NUM_VECTORS > 188
- .long Vector330, Vector334, Vector338, Vector33C
-#endif
-#if CORTEX_NUM_VECTORS > 192
- .long Vector340, Vector344, Vector348, Vector34C
-#endif
-#if CORTEX_NUM_VECTORS > 196
- .long Vector350, Vector354, Vector358, Vector35C
-#endif
-#if CORTEX_NUM_VECTORS > 200
- .long Vector360, Vector364, Vector368, Vector36C
-#endif
-#if CORTEX_NUM_VECTORS > 204
- .long Vector370, Vector374, Vector378, Vector37C
-#endif
-#if CORTEX_NUM_VECTORS > 208
- .long Vector380, Vector384, Vector388, Vector38C
-#endif
-#if CORTEX_NUM_VECTORS > 212
- .long Vector390, Vector394, Vector398, Vector39C
-#endif
-#if CORTEX_NUM_VECTORS > 216
- .long Vector3A0, Vector3A4, Vector3A8, Vector3AC
-#endif
-#if CORTEX_NUM_VECTORS > 220
- .long Vector3B0, Vector3B4, Vector3B8, Vector3BC
-#endif
-#if CORTEX_NUM_VECTORS > 224
- .long Vector3C0, Vector3C4, Vector3C8, Vector3CC
-#endif
-#if CORTEX_NUM_VECTORS > 228
- .long Vector3D0, Vector3D4, Vector3D8, Vector3DC
-#endif
-#if CORTEX_NUM_VECTORS > 232
- .long Vector3E0, Vector3E4, Vector3E8, Vector3EC
-#endif
-#if CORTEX_NUM_VECTORS > 236
- .long Vector3F0, Vector3F4, Vector3F8, Vector3FC
-#endif
-
- .text
-
- .align 2
- .thumb_func
- .weak Reset_Handler
-Reset_Handler:
- b _crt0_entry
-
- .thumb_func
- .weak NMI_Handler,
- .weak HardFault_Handler
- .weak MemManage_Handler
- .weak BusFault_Handler
- .weak UsageFault_Handler
- .weak Vector1C
- .weak Vector20
- .weak Vector24
- .weak Vector28
- .weak SVC_Handler
- .weak DebugMon_Handler
- .weak Vector34
- .weak PendSV_Handler
- .weak SysTick_Handler
- .weak Vector40, Vector44, Vector48, Vector4C
-#if CORTEX_NUM_VECTORS > 4
- .weak Vector50, Vector54, Vector58, Vector5C
-#endif
-#if CORTEX_NUM_VECTORS > 8
- .weak Vector60, Vector64, Vector68, Vector6C
-#endif
-#if CORTEX_NUM_VECTORS > 12
- .weak Vector70, Vector74, Vector78, Vector7C
-#endif
-#if CORTEX_NUM_VECTORS > 16
- .weak Vector80, Vector84, Vector88, Vector8C
-#endif
-#if CORTEX_NUM_VECTORS > 20
- .weak Vector90, Vector94, Vector98, Vector9C
-#endif
-#if CORTEX_NUM_VECTORS > 24
- .weak VectorA0, VectorA4, VectorA8, VectorAC
-#endif
-#if CORTEX_NUM_VECTORS > 28
- .weak VectorB0, VectorB4, VectorB8, VectorBC
-#endif
-#if CORTEX_NUM_VECTORS > 32
- .weak VectorC0, VectorC4, VectorC8, VectorCC
-#endif
-#if CORTEX_NUM_VECTORS > 36
- .weak VectorD0, VectorD4, VectorD8, VectorDC
-#endif
-#if CORTEX_NUM_VECTORS > 40
- .weak VectorE0, VectorE4, VectorE8, VectorEC
-#endif
-#if CORTEX_NUM_VECTORS > 44
- .weak VectorF0, VectorF4, VectorF8, VectorFC
-#endif
-#if CORTEX_NUM_VECTORS > 48
- .weak Vector100, Vector104, Vector108, Vector10C
-#endif
-#if CORTEX_NUM_VECTORS > 52
- .weak Vector110, Vector114, Vector118, Vector11C
-#endif
-#if CORTEX_NUM_VECTORS > 56
- .weak Vector120, Vector124, Vector128, Vector12C
-#endif
-#if CORTEX_NUM_VECTORS > 60
- .weak Vector130, Vector134, Vector138, Vector13C
-#endif
-#if CORTEX_NUM_VECTORS > 64
- .weak Vector140, Vector144, Vector148, Vector14C
-#endif
-#if CORTEX_NUM_VECTORS > 68
- .weak Vector150, Vector154, Vector158, Vector15C
-#endif
-#if CORTEX_NUM_VECTORS > 72
- .weak Vector160, Vector164, Vector168, Vector16C
-#endif
-#if CORTEX_NUM_VECTORS > 76
- .weak Vector170, Vector174, Vector178, Vector17C
-#endif
-#if CORTEX_NUM_VECTORS > 80
- .weak Vector180, Vector184, Vector188, Vector18C
-#endif
-#if CORTEX_NUM_VECTORS > 84
- .weak Vector190, Vector194, Vector198, Vector19C
-#endif
-#if CORTEX_NUM_VECTORS > 88
- .weak Vector1A0, Vector1A4, Vector1A8, Vector1AC
-#endif
-#if CORTEX_NUM_VECTORS > 92
- .weak Vector1B0, Vector1B4, Vector1B8, Vector1BC
-#endif
-#if CORTEX_NUM_VECTORS > 96
- .weak Vector1C0, Vector1C4, Vector1C8, Vector1CC
-#endif
-#if CORTEX_NUM_VECTORS > 100
- .weak Vector1D0, Vector1D4, Vector1D8, Vector1DC
-#endif
-#if CORTEX_NUM_VECTORS > 104
- .weak Vector1E0, Vector1E4, Vector1E8, Vector1EC
-#endif
-#if CORTEX_NUM_VECTORS > 108
- .weak Vector1F0, Vector1F4, Vector1F8, Vector1FC
-#endif
-#if CORTEX_NUM_VECTORS > 112
- .weak Vector200, Vector204, Vector208, Vector20C
-#endif
-#if CORTEX_NUM_VECTORS > 116
- .weak Vector210, Vector214, Vector218, Vector21C
-#endif
-#if CORTEX_NUM_VECTORS > 120
- .weak Vector220, Vector224, Vector228, Vector22C
-#endif
-#if CORTEX_NUM_VECTORS > 124
- .weak Vector230, Vector234, Vector238, Vector23C
-#endif
-#if CORTEX_NUM_VECTORS > 128
- .weak Vector240, Vector244, Vector248, Vector24C
-#endif
-#if CORTEX_NUM_VECTORS > 132
- .weak Vector250, Vector254, Vector258, Vector25C
-#endif
-#if CORTEX_NUM_VECTORS > 136
- .weak Vector260, Vector264, Vector268, Vector26C
-#endif
-#if CORTEX_NUM_VECTORS > 140
- .weak Vector270, Vector274, Vector278, Vector27C
-#endif
-#if CORTEX_NUM_VECTORS > 144
- .weak Vector280, Vector284, Vector288, Vector28C
-#endif
-#if CORTEX_NUM_VECTORS > 148
- .weak Vector290, Vector294, Vector298, Vector29C
-#endif
-#if CORTEX_NUM_VECTORS > 152
- .weak Vector2A0, Vector2A4, Vector2A8, Vector2AC
-#endif
-#if CORTEX_NUM_VECTORS > 156
- .weak Vector2B0, Vector2B4, Vector2B8, Vector2BC
-#endif
-#if CORTEX_NUM_VECTORS > 160
- .weak Vector2C0, Vector2C4, Vector2C8, Vector2CC
-#endif
-#if CORTEX_NUM_VECTORS > 164
- .weak Vector2D0, Vector2D4, Vector2D8, Vector2DC
-#endif
-#if CORTEX_NUM_VECTORS > 168
- .weak Vector2E0, Vector2E4, Vector2E8, Vector2EC
-#endif
-#if CORTEX_NUM_VECTORS > 172
- .weak Vector2F0, Vector2F4, Vector2F8, Vector2FC
-#endif
-#if CORTEX_NUM_VECTORS > 176
- .weak Vector300, Vector304, Vector308, Vector30C
-#endif
-#if CORTEX_NUM_VECTORS > 180
- .weak Vector310, Vector314, Vector318, Vector31C
-#endif
-#if CORTEX_NUM_VECTORS > 184
- .weak Vector320, Vector324, Vector328, Vector32C
-#endif
-#if CORTEX_NUM_VECTORS > 188
- .weak Vector330, Vector334, Vector338, Vector33C
-#endif
-#if CORTEX_NUM_VECTORS > 192
- .weak Vector340, Vector344, Vector348, Vector34C
-#endif
-#if CORTEX_NUM_VECTORS > 196
- .weak Vector350, Vector354, Vector358, Vector35C
-#endif
-#if CORTEX_NUM_VECTORS > 200
- .weak Vector360, Vector364, Vector368, Vector36C
-#endif
-#if CORTEX_NUM_VECTORS > 204
- .weak Vector370, Vector374, Vector378, Vector37C
-#endif
-#if CORTEX_NUM_VECTORS > 208
- .weak Vector380, Vector384, Vector388, Vector38C
-#endif
-#if CORTEX_NUM_VECTORS > 212
- .weak Vector390, Vector394, Vector398, Vector39C
-#endif
-#if CORTEX_NUM_VECTORS > 216
- .weak Vector3A0, Vector3A4, Vector3A8, Vector3AC
-#endif
-#if CORTEX_NUM_VECTORS > 220
- .weak Vector3B0, Vector3B4, Vector3B8, Vector3BC
-#endif
-#if CORTEX_NUM_VECTORS > 224
- .weak Vector3C0, Vector3C4, Vector3C8, Vector3CC
-#endif
-#if CORTEX_NUM_VECTORS > 228
- .weak Vector3D0, Vector3D4, Vector3D8, Vector3DC
-#endif
-#if CORTEX_NUM_VECTORS > 232
- .weak Vector3E0, Vector3E4, Vector3E8, Vector3EC
-#endif
-#if CORTEX_NUM_VECTORS > 236
- .weak Vector3F0, Vector3F4, Vector3F8, Vector3FC
-#endif
-
-NMI_Handler:
-HardFault_Handler:
-MemManage_Handler:
-BusFault_Handler:
-UsageFault_Handler:
-Vector1C:
-Vector20:
-Vector24:
-Vector28:
-SVC_Handler:
-DebugMon_Handler:
-Vector34:
-PendSV_Handler:
-SysTick_Handler:
-Vector40:
-Vector44:
-Vector48:
-Vector4C:
-Vector50:
-Vector54:
-Vector58:
-Vector5C:
-#if CORTEX_NUM_VECTORS > 8
-Vector60:
-Vector64:
-Vector68:
-Vector6C:
-Vector70:
-Vector74:
-Vector78:
-Vector7C:
-#endif
-#if CORTEX_NUM_VECTORS > 16
-Vector80:
-Vector84:
-Vector88:
-Vector8C:
-Vector90:
-Vector94:
-Vector98:
-Vector9C:
-#endif
-#if CORTEX_NUM_VECTORS > 24
-VectorA0:
-VectorA4:
-VectorA8:
-VectorAC:
-VectorB0:
-VectorB4:
-VectorB8:
-VectorBC:
-#endif
-#if CORTEX_NUM_VECTORS > 32
-VectorC0:
-VectorC4:
-VectorC8:
-VectorCC:
-VectorD0:
-VectorD4:
-VectorD8:
-VectorDC:
-#endif
-#if CORTEX_NUM_VECTORS > 40
-VectorE0:
-VectorE4:
-VectorE8:
-VectorEC:
-VectorF0:
-VectorF4:
-VectorF8:
-VectorFC:
-#endif
-#if CORTEX_NUM_VECTORS > 48
-Vector100:
-Vector104:
-Vector108:
-Vector10C:
-Vector110:
-Vector114:
-Vector118:
-Vector11C:
-#endif
-#if CORTEX_NUM_VECTORS > 56
-Vector120:
-Vector124:
-Vector128:
-Vector12C:
-Vector130:
-Vector134:
-Vector138:
-Vector13C:
-#endif
-#if CORTEX_NUM_VECTORS > 64
-Vector140:
-Vector144:
-Vector148:
-Vector14C:
-Vector150:
-Vector154:
-Vector158:
-Vector15C:
-#endif
-#if CORTEX_NUM_VECTORS > 72
-Vector160:
-Vector164:
-Vector168:
-Vector16C:
-Vector170:
-Vector174:
-Vector178:
-Vector17C:
-#endif
-#if CORTEX_NUM_VECTORS > 80
-Vector180:
-Vector184:
-Vector188:
-Vector18C:
-Vector190:
-Vector194:
-Vector198:
-Vector19C:
-#endif
-#if CORTEX_NUM_VECTORS > 88
-Vector1A0:
-Vector1A4:
-Vector1A8:
-Vector1AC:
-Vector1B0:
-Vector1B4:
-Vector1B8:
-Vector1BC:
-#endif
-#if CORTEX_NUM_VECTORS > 96
-Vector1C0:
-Vector1C4:
-Vector1C8:
-Vector1CC:
-Vector1D0:
-Vector1D4:
-Vector1D8:
-Vector1DC:
-#endif
-#if CORTEX_NUM_VECTORS > 104
-Vector1E0:
-Vector1E4:
-Vector1E8:
-Vector1EC:
-Vector1F0:
-Vector1F4:
-Vector1F8:
-Vector1FC:
-#endif
-#if CORTEX_NUM_VECTORS > 112
-Vector200:
-Vector204:
-Vector208:
-Vector20C:
-Vector210:
-Vector214:
-Vector218:
-Vector21C:
-#endif
-#if CORTEX_NUM_VECTORS > 120
-Vector220:
-Vector224:
-Vector228:
-Vector22C:
-Vector230:
-Vector234:
-Vector238:
-Vector23C:
-#endif
-#if CORTEX_NUM_VECTORS > 128
-Vector240:
-Vector244:
-Vector248:
-Vector24C:
-Vector250:
-Vector254:
-Vector258:
-Vector25C:
-#endif
-#if CORTEX_NUM_VECTORS > 136
-Vector260:
-Vector264:
-Vector268:
-Vector26C:
-Vector270:
-Vector274:
-Vector278:
-Vector27C:
-#endif
-#if CORTEX_NUM_VECTORS > 144
-Vector280:
-Vector284:
-Vector288:
-Vector28C:
-Vector290:
-Vector294:
-Vector298:
-Vector29C:
-#endif
-#if CORTEX_NUM_VECTORS > 152
-Vector2A0:
-Vector2A4:
-Vector2A8:
-Vector2AC:
-Vector2B0:
-Vector2B4:
-Vector2B8:
-Vector2BC:
-#endif
-#if CORTEX_NUM_VECTORS > 160
-Vector2C0:
-Vector2C4:
-Vector2C8:
-Vector2CC:
-Vector2D0:
-Vector2D4:
-Vector2D8:
-Vector2DC:
-#endif
-#if CORTEX_NUM_VECTORS > 168
-Vector2E0:
-Vector2E4:
-Vector2E8:
-Vector2EC:
-Vector2F0:
-Vector2F4:
-Vector2F8:
-Vector2FC:
-#endif
-#if CORTEX_NUM_VECTORS > 176
-Vector300:
-Vector304:
-Vector308:
-Vector30C:
-Vector310:
-Vector314:
-Vector318:
-Vector31C:
-#endif
-#if CORTEX_NUM_VECTORS > 184
-Vector320:
-Vector324:
-Vector328:
-Vector32C:
-Vector330:
-Vector334:
-Vector338:
-Vector33C:
-#endif
-#if CORTEX_NUM_VECTORS > 192
-Vector340:
-Vector344:
-Vector348:
-Vector34C:
-Vector350:
-Vector354:
-Vector358:
-Vector35C:
-#endif
-#if CORTEX_NUM_VECTORS > 200
-Vector360:
-Vector364:
-Vector368:
-Vector36C:
-Vector370:
-Vector374:
-Vector378:
-Vector37C:
-#endif
-#if CORTEX_NUM_VECTORS > 208
-Vector380:
-Vector384:
-Vector388:
-Vector38C:
-Vector390:
-Vector394:
-Vector398:
-Vector39C:
-#endif
-#if CORTEX_NUM_VECTORS > 216
-Vector3A0:
-Vector3A4:
-Vector3A8:
-Vector3AC:
-Vector3B0:
-Vector3B4:
-Vector3B8:
-Vector3BC:
-#endif
-#if CORTEX_NUM_VECTORS > 224
-Vector3C0:
-Vector3C4:
-Vector3C8:
-Vector3CC:
-Vector3D0:
-Vector3D4:
-Vector3D8:
-Vector3DC:
-#endif
-#if CORTEX_NUM_VECTORS > 232
-Vector3E0:
-Vector3E4:
-Vector3E8:
-Vector3EC:
-Vector3F0:
-Vector3F4:
-Vector3F8:
-Vector3FC:
-#endif
- b _unhandled_exception
-
- .thumb_func
- .weak _unhandled_exception
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file ARMCMx/GCC/vectors.S
+ * @brief Interrupt vectors for Cortex-Mx devices.
+ *
+ * @defgroup ARMCMx_GCC_VECTORS Cortex-Mx Interrupt Vectors
+ * @{
+ */
+
+#define _FROM_ASM_
+#include "cmparams.h"
+
+#if (CORTEX_NUM_VECTORS % 8) != 0
+#error "the constant CORTEX_NUM_VECTORS must be a multiple of 8"
+#endif
+
+#if (CORTEX_NUM_VECTORS < 8) || (CORTEX_NUM_VECTORS > 240)
+#error "the constant CORTEX_NUM_VECTORS must be between 8 and 240 inclusive"
+#endif
+
+/*===========================================================================*/
+/* Module constants. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module pre-compile time settings. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Code section. */
+/*===========================================================================*/
+
+#if !defined(__DOXYGEN__)
+
+ .syntax unified
+ .cpu cortex-m0
+ .thumb
+
+ .section .vectors, "ax"
+ .align 4
+ .globl _vectors
+_vectors:
+ .long __main_stack_end__
+ .long Reset_Handler
+ .long NMI_Handler
+ .long HardFault_Handler
+ .long MemManage_Handler
+ .long BusFault_Handler
+ .long UsageFault_Handler
+ .long Vector1C
+ .long Vector20
+ .long Vector24
+ .long Vector28
+ .long SVC_Handler
+ .long DebugMon_Handler
+ .long Vector34
+ .long PendSV_Handler
+ .long SysTick_Handler
+ .long Vector40, Vector44, Vector48, Vector4C
+#if CORTEX_NUM_VECTORS > 4
+ .long Vector50, Vector54, Vector58, Vector5C
+#endif
+#if CORTEX_NUM_VECTORS > 8
+ .long Vector60, Vector64, Vector68, Vector6C
+#endif
+#if CORTEX_NUM_VECTORS > 12
+ .long Vector70, Vector74, Vector78, Vector7C
+#endif
+#if CORTEX_NUM_VECTORS > 16
+ .long Vector80, Vector84, Vector88, Vector8C
+#endif
+#if CORTEX_NUM_VECTORS > 20
+ .long Vector90, Vector94, Vector98, Vector9C
+#endif
+#if CORTEX_NUM_VECTORS > 24
+ .long VectorA0, VectorA4, VectorA8, VectorAC
+#endif
+#if CORTEX_NUM_VECTORS > 28
+ .long VectorB0, VectorB4, VectorB8, VectorBC
+#endif
+#if CORTEX_NUM_VECTORS > 32
+ .long VectorC0, VectorC4, VectorC8, VectorCC
+#endif
+#if CORTEX_NUM_VECTORS > 36
+ .long VectorD0, VectorD4, VectorD8, VectorDC
+#endif
+#if CORTEX_NUM_VECTORS > 40
+ .long VectorE0, VectorE4, VectorE8, VectorEC
+#endif
+#if CORTEX_NUM_VECTORS > 44
+ .long VectorF0, VectorF4, VectorF8, VectorFC
+#endif
+#if CORTEX_NUM_VECTORS > 48
+ .long Vector100, Vector104, Vector108, Vector10C
+#endif
+#if CORTEX_NUM_VECTORS > 52
+ .long Vector110, Vector114, Vector118, Vector11C
+#endif
+#if CORTEX_NUM_VECTORS > 56
+ .long Vector120, Vector124, Vector128, Vector12C
+#endif
+#if CORTEX_NUM_VECTORS > 60
+ .long Vector130, Vector134, Vector138, Vector13C
+#endif
+#if CORTEX_NUM_VECTORS > 64
+ .long Vector140, Vector144, Vector148, Vector14C
+#endif
+#if CORTEX_NUM_VECTORS > 68
+ .long Vector150, Vector154, Vector158, Vector15C
+#endif
+#if CORTEX_NUM_VECTORS > 72
+ .long Vector160, Vector164, Vector168, Vector16C
+#endif
+#if CORTEX_NUM_VECTORS > 76
+ .long Vector170, Vector174, Vector178, Vector17C
+#endif
+#if CORTEX_NUM_VECTORS > 80
+ .long Vector180, Vector184, Vector188, Vector18C
+#endif
+#if CORTEX_NUM_VECTORS > 84
+ .long Vector190, Vector194, Vector198, Vector19C
+#endif
+#if CORTEX_NUM_VECTORS > 88
+ .long Vector1A0, Vector1A4, Vector1A8, Vector1AC
+#endif
+#if CORTEX_NUM_VECTORS > 92
+ .long Vector1B0, Vector1B4, Vector1B8, Vector1BC
+#endif
+#if CORTEX_NUM_VECTORS > 96
+ .long Vector1C0, Vector1C4, Vector1C8, Vector1CC
+#endif
+#if CORTEX_NUM_VECTORS > 100
+ .long Vector1D0, Vector1D4, Vector1D8, Vector1DC
+#endif
+#if CORTEX_NUM_VECTORS > 104
+ .long Vector1E0, Vector1E4, Vector1E8, Vector1EC
+#endif
+#if CORTEX_NUM_VECTORS > 108
+ .long Vector1F0, Vector1F4, Vector1F8, Vector1FC
+#endif
+#if CORTEX_NUM_VECTORS > 112
+ .long Vector200, Vector204, Vector208, Vector20C
+#endif
+#if CORTEX_NUM_VECTORS > 116
+ .long Vector210, Vector214, Vector218, Vector21C
+#endif
+#if CORTEX_NUM_VECTORS > 120
+ .long Vector220, Vector224, Vector228, Vector22C
+#endif
+#if CORTEX_NUM_VECTORS > 124
+ .long Vector230, Vector234, Vector238, Vector23C
+#endif
+#if CORTEX_NUM_VECTORS > 128
+ .long Vector240, Vector244, Vector248, Vector24C
+#endif
+#if CORTEX_NUM_VECTORS > 132
+ .long Vector250, Vector254, Vector258, Vector25C
+#endif
+#if CORTEX_NUM_VECTORS > 136
+ .long Vector260, Vector264, Vector268, Vector26C
+#endif
+#if CORTEX_NUM_VECTORS > 140
+ .long Vector270, Vector274, Vector278, Vector27C
+#endif
+#if CORTEX_NUM_VECTORS > 144
+ .long Vector280, Vector284, Vector288, Vector28C
+#endif
+#if CORTEX_NUM_VECTORS > 148
+ .long Vector290, Vector294, Vector298, Vector29C
+#endif
+#if CORTEX_NUM_VECTORS > 152
+ .long Vector2A0, Vector2A4, Vector2A8, Vector2AC
+#endif
+#if CORTEX_NUM_VECTORS > 156
+ .long Vector2B0, Vector2B4, Vector2B8, Vector2BC
+#endif
+#if CORTEX_NUM_VECTORS > 160
+ .long Vector2C0, Vector2C4, Vector2C8, Vector2CC
+#endif
+#if CORTEX_NUM_VECTORS > 164
+ .long Vector2D0, Vector2D4, Vector2D8, Vector2DC
+#endif
+#if CORTEX_NUM_VECTORS > 168
+ .long Vector2E0, Vector2E4, Vector2E8, Vector2EC
+#endif
+#if CORTEX_NUM_VECTORS > 172
+ .long Vector2F0, Vector2F4, Vector2F8, Vector2FC
+#endif
+#if CORTEX_NUM_VECTORS > 176
+ .long Vector300, Vector304, Vector308, Vector30C
+#endif
+#if CORTEX_NUM_VECTORS > 180
+ .long Vector310, Vector314, Vector318, Vector31C
+#endif
+#if CORTEX_NUM_VECTORS > 184
+ .long Vector320, Vector324, Vector328, Vector32C
+#endif
+#if CORTEX_NUM_VECTORS > 188
+ .long Vector330, Vector334, Vector338, Vector33C
+#endif
+#if CORTEX_NUM_VECTORS > 192
+ .long Vector340, Vector344, Vector348, Vector34C
+#endif
+#if CORTEX_NUM_VECTORS > 196
+ .long Vector350, Vector354, Vector358, Vector35C
+#endif
+#if CORTEX_NUM_VECTORS > 200
+ .long Vector360, Vector364, Vector368, Vector36C
+#endif
+#if CORTEX_NUM_VECTORS > 204
+ .long Vector370, Vector374, Vector378, Vector37C
+#endif
+#if CORTEX_NUM_VECTORS > 208
+ .long Vector380, Vector384, Vector388, Vector38C
+#endif
+#if CORTEX_NUM_VECTORS > 212
+ .long Vector390, Vector394, Vector398, Vector39C
+#endif
+#if CORTEX_NUM_VECTORS > 216
+ .long Vector3A0, Vector3A4, Vector3A8, Vector3AC
+#endif
+#if CORTEX_NUM_VECTORS > 220
+ .long Vector3B0, Vector3B4, Vector3B8, Vector3BC
+#endif
+#if CORTEX_NUM_VECTORS > 224
+ .long Vector3C0, Vector3C4, Vector3C8, Vector3CC
+#endif
+#if CORTEX_NUM_VECTORS > 228
+ .long Vector3D0, Vector3D4, Vector3D8, Vector3DC
+#endif
+#if CORTEX_NUM_VECTORS > 232
+ .long Vector3E0, Vector3E4, Vector3E8, Vector3EC
+#endif
+#if CORTEX_NUM_VECTORS > 236
+ .long Vector3F0, Vector3F4, Vector3F8, Vector3FC
+#endif
+
+ .text
+
+ .align 2
+ .thumb_func
+ .weak Reset_Handler
+Reset_Handler:
+ b _crt0_entry
+
+ .thumb_func
+ .weak NMI_Handler,
+ .weak HardFault_Handler
+ .weak MemManage_Handler
+ .weak BusFault_Handler
+ .weak UsageFault_Handler
+ .weak Vector1C
+ .weak Vector20
+ .weak Vector24
+ .weak Vector28
+ .weak SVC_Handler
+ .weak DebugMon_Handler
+ .weak Vector34
+ .weak PendSV_Handler
+ .weak SysTick_Handler
+ .weak Vector40, Vector44, Vector48, Vector4C
+#if CORTEX_NUM_VECTORS > 4
+ .weak Vector50, Vector54, Vector58, Vector5C
+#endif
+#if CORTEX_NUM_VECTORS > 8
+ .weak Vector60, Vector64, Vector68, Vector6C
+#endif
+#if CORTEX_NUM_VECTORS > 12
+ .weak Vector70, Vector74, Vector78, Vector7C
+#endif
+#if CORTEX_NUM_VECTORS > 16
+ .weak Vector80, Vector84, Vector88, Vector8C
+#endif
+#if CORTEX_NUM_VECTORS > 20
+ .weak Vector90, Vector94, Vector98, Vector9C
+#endif
+#if CORTEX_NUM_VECTORS > 24
+ .weak VectorA0, VectorA4, VectorA8, VectorAC
+#endif
+#if CORTEX_NUM_VECTORS > 28
+ .weak VectorB0, VectorB4, VectorB8, VectorBC
+#endif
+#if CORTEX_NUM_VECTORS > 32
+ .weak VectorC0, VectorC4, VectorC8, VectorCC
+#endif
+#if CORTEX_NUM_VECTORS > 36
+ .weak VectorD0, VectorD4, VectorD8, VectorDC
+#endif
+#if CORTEX_NUM_VECTORS > 40
+ .weak VectorE0, VectorE4, VectorE8, VectorEC
+#endif
+#if CORTEX_NUM_VECTORS > 44
+ .weak VectorF0, VectorF4, VectorF8, VectorFC
+#endif
+#if CORTEX_NUM_VECTORS > 48
+ .weak Vector100, Vector104, Vector108, Vector10C
+#endif
+#if CORTEX_NUM_VECTORS > 52
+ .weak Vector110, Vector114, Vector118, Vector11C
+#endif
+#if CORTEX_NUM_VECTORS > 56
+ .weak Vector120, Vector124, Vector128, Vector12C
+#endif
+#if CORTEX_NUM_VECTORS > 60
+ .weak Vector130, Vector134, Vector138, Vector13C
+#endif
+#if CORTEX_NUM_VECTORS > 64
+ .weak Vector140, Vector144, Vector148, Vector14C
+#endif
+#if CORTEX_NUM_VECTORS > 68
+ .weak Vector150, Vector154, Vector158, Vector15C
+#endif
+#if CORTEX_NUM_VECTORS > 72
+ .weak Vector160, Vector164, Vector168, Vector16C
+#endif
+#if CORTEX_NUM_VECTORS > 76
+ .weak Vector170, Vector174, Vector178, Vector17C
+#endif
+#if CORTEX_NUM_VECTORS > 80
+ .weak Vector180, Vector184, Vector188, Vector18C
+#endif
+#if CORTEX_NUM_VECTORS > 84
+ .weak Vector190, Vector194, Vector198, Vector19C
+#endif
+#if CORTEX_NUM_VECTORS > 88
+ .weak Vector1A0, Vector1A4, Vector1A8, Vector1AC
+#endif
+#if CORTEX_NUM_VECTORS > 92
+ .weak Vector1B0, Vector1B4, Vector1B8, Vector1BC
+#endif
+#if CORTEX_NUM_VECTORS > 96
+ .weak Vector1C0, Vector1C4, Vector1C8, Vector1CC
+#endif
+#if CORTEX_NUM_VECTORS > 100
+ .weak Vector1D0, Vector1D4, Vector1D8, Vector1DC
+#endif
+#if CORTEX_NUM_VECTORS > 104
+ .weak Vector1E0, Vector1E4, Vector1E8, Vector1EC
+#endif
+#if CORTEX_NUM_VECTORS > 108
+ .weak Vector1F0, Vector1F4, Vector1F8, Vector1FC
+#endif
+#if CORTEX_NUM_VECTORS > 112
+ .weak Vector200, Vector204, Vector208, Vector20C
+#endif
+#if CORTEX_NUM_VECTORS > 116
+ .weak Vector210, Vector214, Vector218, Vector21C
+#endif
+#if CORTEX_NUM_VECTORS > 120
+ .weak Vector220, Vector224, Vector228, Vector22C
+#endif
+#if CORTEX_NUM_VECTORS > 124
+ .weak Vector230, Vector234, Vector238, Vector23C
+#endif
+#if CORTEX_NUM_VECTORS > 128
+ .weak Vector240, Vector244, Vector248, Vector24C
+#endif
+#if CORTEX_NUM_VECTORS > 132
+ .weak Vector250, Vector254, Vector258, Vector25C
+#endif
+#if CORTEX_NUM_VECTORS > 136
+ .weak Vector260, Vector264, Vector268, Vector26C
+#endif
+#if CORTEX_NUM_VECTORS > 140
+ .weak Vector270, Vector274, Vector278, Vector27C
+#endif
+#if CORTEX_NUM_VECTORS > 144
+ .weak Vector280, Vector284, Vector288, Vector28C
+#endif
+#if CORTEX_NUM_VECTORS > 148
+ .weak Vector290, Vector294, Vector298, Vector29C
+#endif
+#if CORTEX_NUM_VECTORS > 152
+ .weak Vector2A0, Vector2A4, Vector2A8, Vector2AC
+#endif
+#if CORTEX_NUM_VECTORS > 156
+ .weak Vector2B0, Vector2B4, Vector2B8, Vector2BC
+#endif
+#if CORTEX_NUM_VECTORS > 160
+ .weak Vector2C0, Vector2C4, Vector2C8, Vector2CC
+#endif
+#if CORTEX_NUM_VECTORS > 164
+ .weak Vector2D0, Vector2D4, Vector2D8, Vector2DC
+#endif
+#if CORTEX_NUM_VECTORS > 168
+ .weak Vector2E0, Vector2E4, Vector2E8, Vector2EC
+#endif
+#if CORTEX_NUM_VECTORS > 172
+ .weak Vector2F0, Vector2F4, Vector2F8, Vector2FC
+#endif
+#if CORTEX_NUM_VECTORS > 176
+ .weak Vector300, Vector304, Vector308, Vector30C
+#endif
+#if CORTEX_NUM_VECTORS > 180
+ .weak Vector310, Vector314, Vector318, Vector31C
+#endif
+#if CORTEX_NUM_VECTORS > 184
+ .weak Vector320, Vector324, Vector328, Vector32C
+#endif
+#if CORTEX_NUM_VECTORS > 188
+ .weak Vector330, Vector334, Vector338, Vector33C
+#endif
+#if CORTEX_NUM_VECTORS > 192
+ .weak Vector340, Vector344, Vector348, Vector34C
+#endif
+#if CORTEX_NUM_VECTORS > 196
+ .weak Vector350, Vector354, Vector358, Vector35C
+#endif
+#if CORTEX_NUM_VECTORS > 200
+ .weak Vector360, Vector364, Vector368, Vector36C
+#endif
+#if CORTEX_NUM_VECTORS > 204
+ .weak Vector370, Vector374, Vector378, Vector37C
+#endif
+#if CORTEX_NUM_VECTORS > 208
+ .weak Vector380, Vector384, Vector388, Vector38C
+#endif
+#if CORTEX_NUM_VECTORS > 212
+ .weak Vector390, Vector394, Vector398, Vector39C
+#endif
+#if CORTEX_NUM_VECTORS > 216
+ .weak Vector3A0, Vector3A4, Vector3A8, Vector3AC
+#endif
+#if CORTEX_NUM_VECTORS > 220
+ .weak Vector3B0, Vector3B4, Vector3B8, Vector3BC
+#endif
+#if CORTEX_NUM_VECTORS > 224
+ .weak Vector3C0, Vector3C4, Vector3C8, Vector3CC
+#endif
+#if CORTEX_NUM_VECTORS > 228
+ .weak Vector3D0, Vector3D4, Vector3D8, Vector3DC
+#endif
+#if CORTEX_NUM_VECTORS > 232
+ .weak Vector3E0, Vector3E4, Vector3E8, Vector3EC
+#endif
+#if CORTEX_NUM_VECTORS > 236
+ .weak Vector3F0, Vector3F4, Vector3F8, Vector3FC
+#endif
+
+NMI_Handler:
+HardFault_Handler:
+MemManage_Handler:
+BusFault_Handler:
+UsageFault_Handler:
+Vector1C:
+Vector20:
+Vector24:
+Vector28:
+SVC_Handler:
+DebugMon_Handler:
+Vector34:
+PendSV_Handler:
+SysTick_Handler:
+Vector40:
+Vector44:
+Vector48:
+Vector4C:
+Vector50:
+Vector54:
+Vector58:
+Vector5C:
+#if CORTEX_NUM_VECTORS > 8
+Vector60:
+Vector64:
+Vector68:
+Vector6C:
+Vector70:
+Vector74:
+Vector78:
+Vector7C:
+#endif
+#if CORTEX_NUM_VECTORS > 16
+Vector80:
+Vector84:
+Vector88:
+Vector8C:
+Vector90:
+Vector94:
+Vector98:
+Vector9C:
+#endif
+#if CORTEX_NUM_VECTORS > 24
+VectorA0:
+VectorA4:
+VectorA8:
+VectorAC:
+VectorB0:
+VectorB4:
+VectorB8:
+VectorBC:
+#endif
+#if CORTEX_NUM_VECTORS > 32
+VectorC0:
+VectorC4:
+VectorC8:
+VectorCC:
+VectorD0:
+VectorD4:
+VectorD8:
+VectorDC:
+#endif
+#if CORTEX_NUM_VECTORS > 40
+VectorE0:
+VectorE4:
+VectorE8:
+VectorEC:
+VectorF0:
+VectorF4:
+VectorF8:
+VectorFC:
+#endif
+#if CORTEX_NUM_VECTORS > 48
+Vector100:
+Vector104:
+Vector108:
+Vector10C:
+Vector110:
+Vector114:
+Vector118:
+Vector11C:
+#endif
+#if CORTEX_NUM_VECTORS > 56
+Vector120:
+Vector124:
+Vector128:
+Vector12C:
+Vector130:
+Vector134:
+Vector138:
+Vector13C:
+#endif
+#if CORTEX_NUM_VECTORS > 64
+Vector140:
+Vector144:
+Vector148:
+Vector14C:
+Vector150:
+Vector154:
+Vector158:
+Vector15C:
+#endif
+#if CORTEX_NUM_VECTORS > 72
+Vector160:
+Vector164:
+Vector168:
+Vector16C:
+Vector170:
+Vector174:
+Vector178:
+Vector17C:
+#endif
+#if CORTEX_NUM_VECTORS > 80
+Vector180:
+Vector184:
+Vector188:
+Vector18C:
+Vector190:
+Vector194:
+Vector198:
+Vector19C:
+#endif
+#if CORTEX_NUM_VECTORS > 88
+Vector1A0:
+Vector1A4:
+Vector1A8:
+Vector1AC:
+Vector1B0:
+Vector1B4:
+Vector1B8:
+Vector1BC:
+#endif
+#if CORTEX_NUM_VECTORS > 96
+Vector1C0:
+Vector1C4:
+Vector1C8:
+Vector1CC:
+Vector1D0:
+Vector1D4:
+Vector1D8:
+Vector1DC:
+#endif
+#if CORTEX_NUM_VECTORS > 104
+Vector1E0:
+Vector1E4:
+Vector1E8:
+Vector1EC:
+Vector1F0:
+Vector1F4:
+Vector1F8:
+Vector1FC:
+#endif
+#if CORTEX_NUM_VECTORS > 112
+Vector200:
+Vector204:
+Vector208:
+Vector20C:
+Vector210:
+Vector214:
+Vector218:
+Vector21C:
+#endif
+#if CORTEX_NUM_VECTORS > 120
+Vector220:
+Vector224:
+Vector228:
+Vector22C:
+Vector230:
+Vector234:
+Vector238:
+Vector23C:
+#endif
+#if CORTEX_NUM_VECTORS > 128
+Vector240:
+Vector244:
+Vector248:
+Vector24C:
+Vector250:
+Vector254:
+Vector258:
+Vector25C:
+#endif
+#if CORTEX_NUM_VECTORS > 136
+Vector260:
+Vector264:
+Vector268:
+Vector26C:
+Vector270:
+Vector274:
+Vector278:
+Vector27C:
+#endif
+#if CORTEX_NUM_VECTORS > 144
+Vector280:
+Vector284:
+Vector288:
+Vector28C:
+Vector290:
+Vector294:
+Vector298:
+Vector29C:
+#endif
+#if CORTEX_NUM_VECTORS > 152
+Vector2A0:
+Vector2A4:
+Vector2A8:
+Vector2AC:
+Vector2B0:
+Vector2B4:
+Vector2B8:
+Vector2BC:
+#endif
+#if CORTEX_NUM_VECTORS > 160
+Vector2C0:
+Vector2C4:
+Vector2C8:
+Vector2CC:
+Vector2D0:
+Vector2D4:
+Vector2D8:
+Vector2DC:
+#endif
+#if CORTEX_NUM_VECTORS > 168
+Vector2E0:
+Vector2E4:
+Vector2E8:
+Vector2EC:
+Vector2F0:
+Vector2F4:
+Vector2F8:
+Vector2FC:
+#endif
+#if CORTEX_NUM_VECTORS > 176
+Vector300:
+Vector304:
+Vector308:
+Vector30C:
+Vector310:
+Vector314:
+Vector318:
+Vector31C:
+#endif
+#if CORTEX_NUM_VECTORS > 184
+Vector320:
+Vector324:
+Vector328:
+Vector32C:
+Vector330:
+Vector334:
+Vector338:
+Vector33C:
+#endif
+#if CORTEX_NUM_VECTORS > 192
+Vector340:
+Vector344:
+Vector348:
+Vector34C:
+Vector350:
+Vector354:
+Vector358:
+Vector35C:
+#endif
+#if CORTEX_NUM_VECTORS > 200
+Vector360:
+Vector364:
+Vector368:
+Vector36C:
+Vector370:
+Vector374:
+Vector378:
+Vector37C:
+#endif
+#if CORTEX_NUM_VECTORS > 208
+Vector380:
+Vector384:
+Vector388:
+Vector38C:
+Vector390:
+Vector394:
+Vector398:
+Vector39C:
+#endif
+#if CORTEX_NUM_VECTORS > 216
+Vector3A0:
+Vector3A4:
+Vector3A8:
+Vector3AC:
+Vector3B0:
+Vector3B4:
+Vector3B8:
+Vector3BC:
+#endif
+#if CORTEX_NUM_VECTORS > 224
+Vector3C0:
+Vector3C4:
+Vector3C8:
+Vector3CC:
+Vector3D0:
+Vector3D4:
+Vector3D8:
+Vector3DC:
+#endif
+#if CORTEX_NUM_VECTORS > 232
+Vector3E0:
+Vector3E4:
+Vector3E8:
+Vector3EC:
+Vector3F0:
+Vector3F4:
+Vector3F8:
+Vector3FC:
+#endif
+ b _unhandled_exception
+
+ .thumb_func
+ .weak _unhandled_exception
+_unhandled_exception:
+ b _unhandled_exception
+
+#endif /* !defined(__DOXYGEN__) */
+
+/** @} */
diff --git a/os/common/startup/ARMCMx/compilers/IAR/cstartup.s b/os/common/startup/ARMCMx/compilers/IAR/cstartup.s
index 2af3dc1d8..bf7aeca01 100644
--- a/os/common/startup/ARMCMx/compilers/IAR/cstartup.s
+++ b/os/common/startup/ARMCMx/compilers/IAR/cstartup.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/IAR/vectors.s b/os/common/startup/ARMCMx/compilers/IAR/vectors.s
index f4db42050..ec0360ea0 100644
--- a/os/common/startup/ARMCMx/compilers/IAR/vectors.s
+++ b/os/common/startup/ARMCMx/compilers/IAR/vectors.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/RVCT/cstartup.s b/os/common/startup/ARMCMx/compilers/RVCT/cstartup.s
index a7e597ff8..dc7933e41 100644
--- a/os/common/startup/ARMCMx/compilers/RVCT/cstartup.s
+++ b/os/common/startup/ARMCMx/compilers/RVCT/cstartup.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/compilers/RVCT/vectors.s b/os/common/startup/ARMCMx/compilers/RVCT/vectors.s
index 0c9748029..13329baee 100644
--- a/os/common/startup/ARMCMx/compilers/RVCT/vectors.s
+++ b/os/common/startup/ARMCMx/compilers/RVCT/vectors.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32F0xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F0xx/cmparams.h
index a96e65cb6..8afef19a1 100644
--- a/os/common/startup/ARMCMx/devices/STM32F0xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32F0xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h
index 9f934fc1e..d2ec31d37 100644
--- a/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32F2xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F2xx/cmparams.h
index 4685aa99d..67852c437 100644
--- a/os/common/startup/ARMCMx/devices/STM32F2xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32F2xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32F3xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F3xx/cmparams.h
index 3a96c655a..8ad514dcd 100644
--- a/os/common/startup/ARMCMx/devices/STM32F3xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32F3xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h
index c3ca65ecb..70c6704f9 100644
--- a/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h
index e0bc65466..d27da53a4 100644
--- a/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h
index 014db3a23..5068a538a 100644
--- a/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32L0xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32L0xx/cmparams.h
index ac1d2a421..8fe99d004 100644
--- a/os/common/startup/ARMCMx/devices/STM32L0xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32L0xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32L1xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32L1xx/cmparams.h
index 706408ef7..fbb8475af 100644
--- a/os/common/startup/ARMCMx/devices/STM32L1xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32L1xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h
index fbb304fe6..d1c070a17 100644
--- a/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/CW/crt0.s b/os/common/startup/e200/compilers/CW/crt0.s
index 5285730f1..e99935a98 100644
--- a/os/common/startup/e200/compilers/CW/crt0.s
+++ b/os/common/startup/e200/compilers/CW/crt0.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/CW/unhandled.s b/os/common/startup/e200/compilers/CW/unhandled.s
index 8c189e60e..f31897914 100644
--- a/os/common/startup/e200/compilers/CW/unhandled.s
+++ b/os/common/startup/e200/compilers/CW/unhandled.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/CW/vectors.h b/os/common/startup/e200/compilers/CW/vectors.h
index 95b1ff72c..4ef299340 100644
--- a/os/common/startup/e200/compilers/CW/vectors.h
+++ b/os/common/startup/e200/compilers/CW/vectors.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/CW/vectors.s b/os/common/startup/e200/compilers/CW/vectors.s
index e952d6bc8..43dcbfc09 100644
--- a/os/common/startup/e200/compilers/CW/vectors.s
+++ b/os/common/startup/e200/compilers/CW/vectors.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/crt0.S b/os/common/startup/e200/compilers/GCC/crt0.S
index 7c4b47bd4..eff066f6f 100644
--- a/os/common/startup/e200/compilers/GCC/crt0.S
+++ b/os/common/startup/e200/compilers/GCC/crt0.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC560B50.ld b/os/common/startup/e200/compilers/GCC/ld/SPC560B50.ld
index a7b6eabe1..f9b0cdf12 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC560B50.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC560B50.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC560B60.ld b/os/common/startup/e200/compilers/GCC/ld/SPC560B60.ld
index b2f85efbb..141c7e16e 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC560B60.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC560B60.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC560B64.ld b/os/common/startup/e200/compilers/GCC/ld/SPC560B64.ld
index 019dd939b..06302d39b 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC560B64.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC560B64.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC560D40.ld b/os/common/startup/e200/compilers/GCC/ld/SPC560D40.ld
index 2d3459fd4..8ca58ac71 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC560D40.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC560D40.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC560P50.ld b/os/common/startup/e200/compilers/GCC/ld/SPC560P50.ld
index 2b591d4d8..d90287aa9 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC560P50.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC560P50.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC563M64.ld b/os/common/startup/e200/compilers/GCC/ld/SPC563M64.ld
index eb6e1664d..a934f280b 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC563M64.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC563M64.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC564A70.ld b/os/common/startup/e200/compilers/GCC/ld/SPC564A70.ld
index af062aa88..0cc7207a1 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC564A70.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC564A70.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC564A80.ld b/os/common/startup/e200/compilers/GCC/ld/SPC564A80.ld
index 53341a5dd..f0ee57581 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC564A80.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC564A80.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC56EC74.ld b/os/common/startup/e200/compilers/GCC/ld/SPC56EC74.ld
index e1fe154ed..451eb24f6 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC56EC74.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC56EC74.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC56EL54_LSM.ld b/os/common/startup/e200/compilers/GCC/ld/SPC56EL54_LSM.ld
index 177525eee..06232c15a 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC56EL54_LSM.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC56EL54_LSM.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC56EL60_LSM.ld b/os/common/startup/e200/compilers/GCC/ld/SPC56EL60_LSM.ld
index d06f8b812..4884fee19 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC56EL60_LSM.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC56EL60_LSM.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC56EL70_LSM.ld b/os/common/startup/e200/compilers/GCC/ld/SPC56EL70_LSM.ld
index c336acece..e4b907b43 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC56EL70_LSM.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC56EL70_LSM.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/SPC57EM80_HSM.ld b/os/common/startup/e200/compilers/GCC/ld/SPC57EM80_HSM.ld
index 8bd3dbbd9..6083a87d0 100644
--- a/os/common/startup/e200/compilers/GCC/ld/SPC57EM80_HSM.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/SPC57EM80_HSM.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/rules_z0.ld b/os/common/startup/e200/compilers/GCC/ld/rules_z0.ld
index 4b421b842..d76932870 100644
--- a/os/common/startup/e200/compilers/GCC/ld/rules_z0.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/rules_z0.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/rules_z3.ld b/os/common/startup/e200/compilers/GCC/ld/rules_z3.ld
index f69a01ff4..bb4c6ecb3 100644
--- a/os/common/startup/e200/compilers/GCC/ld/rules_z3.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/rules_z3.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld b/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld
index f69a01ff4..bb4c6ecb3 100644
--- a/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/vectors.S b/os/common/startup/e200/compilers/GCC/vectors.S
index 251d1e935..e3227ab52 100644
--- a/os/common/startup/e200/compilers/GCC/vectors.S
+++ b/os/common/startup/e200/compilers/GCC/vectors.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GCC/vectors.h b/os/common/startup/e200/compilers/GCC/vectors.h
index 392148fb2..bb36b54e4 100644
--- a/os/common/startup/e200/compilers/GCC/vectors.h
+++ b/os/common/startup/e200/compilers/GCC/vectors.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/crt0.s b/os/common/startup/e200/compilers/GHS/crt0.s
index cd549b98f..5b2658c57 100644
--- a/os/common/startup/e200/compilers/GHS/crt0.s
+++ b/os/common/startup/e200/compilers/GHS/crt0.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC560B50.ld b/os/common/startup/e200/compilers/GHS/ld/SPC560B50.ld
index 5dd82f1fb..db726b8fd 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC560B50.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC560B50.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC560B60.ld b/os/common/startup/e200/compilers/GHS/ld/SPC560B60.ld
index 6d67434f0..8e3b6e451 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC560B60.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC560B60.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC560B64.ld b/os/common/startup/e200/compilers/GHS/ld/SPC560B64.ld
index b769f1fe5..93f14e00b 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC560B64.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC560B64.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC560D40.ld b/os/common/startup/e200/compilers/GHS/ld/SPC560D40.ld
index 494fa1259..b8e6d505a 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC560D40.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC560D40.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC560P50.ld b/os/common/startup/e200/compilers/GHS/ld/SPC560P50.ld
index a81ed55a3..40f074641 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC560P50.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC560P50.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC563M64.ld b/os/common/startup/e200/compilers/GHS/ld/SPC563M64.ld
index eb6e1664d..a934f280b 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC563M64.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC563M64.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC564A70.ld b/os/common/startup/e200/compilers/GHS/ld/SPC564A70.ld
index af062aa88..0cc7207a1 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC564A70.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC564A70.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC564A80.ld b/os/common/startup/e200/compilers/GHS/ld/SPC564A80.ld
index 53341a5dd..f0ee57581 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC564A80.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC564A80.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC56EC74.ld b/os/common/startup/e200/compilers/GHS/ld/SPC56EC74.ld
index 1023afebc..5beb58398 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC56EC74.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC56EC74.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC56EL54_LSM.ld b/os/common/startup/e200/compilers/GHS/ld/SPC56EL54_LSM.ld
index 177525eee..06232c15a 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC56EL54_LSM.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC56EL54_LSM.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC56EL60_LSM.ld b/os/common/startup/e200/compilers/GHS/ld/SPC56EL60_LSM.ld
index d06f8b812..4884fee19 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC56EL60_LSM.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC56EL60_LSM.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/ld/SPC56EL70_LSM.ld b/os/common/startup/e200/compilers/GHS/ld/SPC56EL70_LSM.ld
index c336acece..e4b907b43 100644
--- a/os/common/startup/e200/compilers/GHS/ld/SPC56EL70_LSM.ld
+++ b/os/common/startup/e200/compilers/GHS/ld/SPC56EL70_LSM.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/vectors.h b/os/common/startup/e200/compilers/GHS/vectors.h
index 392148fb2..bb36b54e4 100644
--- a/os/common/startup/e200/compilers/GHS/vectors.h
+++ b/os/common/startup/e200/compilers/GHS/vectors.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/compilers/GHS/vectors.s b/os/common/startup/e200/compilers/GHS/vectors.s
index ba39a0230..871a2aba1 100644
--- a/os/common/startup/e200/compilers/GHS/vectors.s
+++ b/os/common/startup/e200/compilers/GHS/vectors.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560BCxx/boot.S b/os/common/startup/e200/devices/SPC560BCxx/boot.S
index 73905b9bd..d4dd1631a 100644
--- a/os/common/startup/e200/devices/SPC560BCxx/boot.S
+++ b/os/common/startup/e200/devices/SPC560BCxx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560BCxx/boot.h b/os/common/startup/e200/devices/SPC560BCxx/boot.h
index 9116a6388..b54da3bc7 100644
--- a/os/common/startup/e200/devices/SPC560BCxx/boot.h
+++ b/os/common/startup/e200/devices/SPC560BCxx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560BCxx/intc.h b/os/common/startup/e200/devices/SPC560BCxx/intc.h
index 99b849148..0c92ba489 100644
--- a/os/common/startup/e200/devices/SPC560BCxx/intc.h
+++ b/os/common/startup/e200/devices/SPC560BCxx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560BCxx/ppcparams.h b/os/common/startup/e200/devices/SPC560BCxx/ppcparams.h
index f65102d57..d17d5cf1c 100644
--- a/os/common/startup/e200/devices/SPC560BCxx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC560BCxx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Bxx/boot.S b/os/common/startup/e200/devices/SPC560Bxx/boot.S
index 5ca775a64..2f8702976 100644
--- a/os/common/startup/e200/devices/SPC560Bxx/boot.S
+++ b/os/common/startup/e200/devices/SPC560Bxx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Bxx/boot.h b/os/common/startup/e200/devices/SPC560Bxx/boot.h
index 707244d00..8fe5f7c9f 100644
--- a/os/common/startup/e200/devices/SPC560Bxx/boot.h
+++ b/os/common/startup/e200/devices/SPC560Bxx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Bxx/intc.h b/os/common/startup/e200/devices/SPC560Bxx/intc.h
index 6ba7d7418..92f4b22f4 100644
--- a/os/common/startup/e200/devices/SPC560Bxx/intc.h
+++ b/os/common/startup/e200/devices/SPC560Bxx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Bxx/ppcparams.h b/os/common/startup/e200/devices/SPC560Bxx/ppcparams.h
index a9c76ed08..ed9165c7f 100644
--- a/os/common/startup/e200/devices/SPC560Bxx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC560Bxx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Dxx/boot.S b/os/common/startup/e200/devices/SPC560Dxx/boot.S
index e559f713a..78fb87157 100644
--- a/os/common/startup/e200/devices/SPC560Dxx/boot.S
+++ b/os/common/startup/e200/devices/SPC560Dxx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Dxx/boot.h b/os/common/startup/e200/devices/SPC560Dxx/boot.h
index 9134d574a..9c9605a52 100644
--- a/os/common/startup/e200/devices/SPC560Dxx/boot.h
+++ b/os/common/startup/e200/devices/SPC560Dxx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Dxx/boot_cw.s b/os/common/startup/e200/devices/SPC560Dxx/boot_cw.s
index 5c00b32e9..ef8851b0b 100644
--- a/os/common/startup/e200/devices/SPC560Dxx/boot_cw.s
+++ b/os/common/startup/e200/devices/SPC560Dxx/boot_cw.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Dxx/boot_ghs.s b/os/common/startup/e200/devices/SPC560Dxx/boot_ghs.s
index 729db33c7..5026cb103 100644
--- a/os/common/startup/e200/devices/SPC560Dxx/boot_ghs.s
+++ b/os/common/startup/e200/devices/SPC560Dxx/boot_ghs.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Dxx/intc.h b/os/common/startup/e200/devices/SPC560Dxx/intc.h
index 98ca3e07a..e12f50de7 100644
--- a/os/common/startup/e200/devices/SPC560Dxx/intc.h
+++ b/os/common/startup/e200/devices/SPC560Dxx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h b/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h
index b0c7a8a5a..ae213008e 100644
--- a/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Pxx/boot.S b/os/common/startup/e200/devices/SPC560Pxx/boot.S
index 51535cd68..8c8c7e2ba 100644
--- a/os/common/startup/e200/devices/SPC560Pxx/boot.S
+++ b/os/common/startup/e200/devices/SPC560Pxx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Pxx/boot.h b/os/common/startup/e200/devices/SPC560Pxx/boot.h
index 855e95db9..c928a9a50 100644
--- a/os/common/startup/e200/devices/SPC560Pxx/boot.h
+++ b/os/common/startup/e200/devices/SPC560Pxx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Pxx/intc.h b/os/common/startup/e200/devices/SPC560Pxx/intc.h
index d6b657da3..281a7836b 100644
--- a/os/common/startup/e200/devices/SPC560Pxx/intc.h
+++ b/os/common/startup/e200/devices/SPC560Pxx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC560Pxx/ppcparams.h b/os/common/startup/e200/devices/SPC560Pxx/ppcparams.h
index 4c885a411..7cce95408 100644
--- a/os/common/startup/e200/devices/SPC560Pxx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC560Pxx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC563Mxx/boot.S b/os/common/startup/e200/devices/SPC563Mxx/boot.S
index c9a0e3b3a..04f297ca2 100644
--- a/os/common/startup/e200/devices/SPC563Mxx/boot.S
+++ b/os/common/startup/e200/devices/SPC563Mxx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC563Mxx/boot.h b/os/common/startup/e200/devices/SPC563Mxx/boot.h
index 60002bfa8..f9168f5cc 100644
--- a/os/common/startup/e200/devices/SPC563Mxx/boot.h
+++ b/os/common/startup/e200/devices/SPC563Mxx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC563Mxx/intc.h b/os/common/startup/e200/devices/SPC563Mxx/intc.h
index 9988137d9..c60b31c87 100644
--- a/os/common/startup/e200/devices/SPC563Mxx/intc.h
+++ b/os/common/startup/e200/devices/SPC563Mxx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC563Mxx/ppcparams.h b/os/common/startup/e200/devices/SPC563Mxx/ppcparams.h
index abc888c73..705e3fcdc 100644
--- a/os/common/startup/e200/devices/SPC563Mxx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC563Mxx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC564Axx/boot.S b/os/common/startup/e200/devices/SPC564Axx/boot.S
index 28f34dae0..cd20b66c2 100644
--- a/os/common/startup/e200/devices/SPC564Axx/boot.S
+++ b/os/common/startup/e200/devices/SPC564Axx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC564Axx/boot.h b/os/common/startup/e200/devices/SPC564Axx/boot.h
index 7ee800546..fb07f22e3 100644
--- a/os/common/startup/e200/devices/SPC564Axx/boot.h
+++ b/os/common/startup/e200/devices/SPC564Axx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC564Axx/intc.h b/os/common/startup/e200/devices/SPC564Axx/intc.h
index d661935b3..d30418f4c 100644
--- a/os/common/startup/e200/devices/SPC564Axx/intc.h
+++ b/os/common/startup/e200/devices/SPC564Axx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC564Axx/ppcparams.h b/os/common/startup/e200/devices/SPC564Axx/ppcparams.h
index 66365b751..cf598fdb9 100644
--- a/os/common/startup/e200/devices/SPC564Axx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC564Axx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ECxx/boot.S b/os/common/startup/e200/devices/SPC56ECxx/boot.S
index fc8c663dc..b202cb491 100644
--- a/os/common/startup/e200/devices/SPC56ECxx/boot.S
+++ b/os/common/startup/e200/devices/SPC56ECxx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ECxx/boot.h b/os/common/startup/e200/devices/SPC56ECxx/boot.h
index 0d3c564db..1a5a1e827 100644
--- a/os/common/startup/e200/devices/SPC56ECxx/boot.h
+++ b/os/common/startup/e200/devices/SPC56ECxx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ECxx/boot_cw.s b/os/common/startup/e200/devices/SPC56ECxx/boot_cw.s
index 1b2f0462f..9d6961801 100644
--- a/os/common/startup/e200/devices/SPC56ECxx/boot_cw.s
+++ b/os/common/startup/e200/devices/SPC56ECxx/boot_cw.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ECxx/boot_ghs.s b/os/common/startup/e200/devices/SPC56ECxx/boot_ghs.s
index f4a6fa55e..0e9138660 100644
--- a/os/common/startup/e200/devices/SPC56ECxx/boot_ghs.s
+++ b/os/common/startup/e200/devices/SPC56ECxx/boot_ghs.s
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ECxx/intc.h b/os/common/startup/e200/devices/SPC56ECxx/intc.h
index 87d0caad5..6cbe30029 100644
--- a/os/common/startup/e200/devices/SPC56ECxx/intc.h
+++ b/os/common/startup/e200/devices/SPC56ECxx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ECxx/ppcparams.h b/os/common/startup/e200/devices/SPC56ECxx/ppcparams.h
index 4fb046199..8acb128b4 100644
--- a/os/common/startup/e200/devices/SPC56ECxx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC56ECxx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ELxx/boot.S b/os/common/startup/e200/devices/SPC56ELxx/boot.S
index f438d8fc8..748906f89 100644
--- a/os/common/startup/e200/devices/SPC56ELxx/boot.S
+++ b/os/common/startup/e200/devices/SPC56ELxx/boot.S
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ELxx/boot.h b/os/common/startup/e200/devices/SPC56ELxx/boot.h
index 2bf8c1678..71ae0eb69 100644
--- a/os/common/startup/e200/devices/SPC56ELxx/boot.h
+++ b/os/common/startup/e200/devices/SPC56ELxx/boot.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ELxx/intc.h b/os/common/startup/e200/devices/SPC56ELxx/intc.h
index 06392ef80..6900b6c90 100644
--- a/os/common/startup/e200/devices/SPC56ELxx/intc.h
+++ b/os/common/startup/e200/devices/SPC56ELxx/intc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/common/startup/e200/devices/SPC56ELxx/ppcparams.h b/os/common/startup/e200/devices/SPC56ELxx/ppcparams.h
index 2bec34c19..11363a414 100644
--- a/os/common/startup/e200/devices/SPC56ELxx/ppcparams.h
+++ b/os/common/startup/e200/devices/SPC56ELxx/ppcparams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/accelerometer.dox b/os/ex/dox/accelerometer.dox
index 77d98953b..e93a64c3b 100644
--- a/os/ex/dox/accelerometer.dox
+++ b/os/ex/dox/accelerometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/barometer.dox b/os/ex/dox/barometer.dox
index 173d1241a..4a472fa11 100644
--- a/os/ex/dox/barometer.dox
+++ b/os/ex/dox/barometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/compass.dox b/os/ex/dox/compass.dox
index ed8b566e1..4f16af784 100644
--- a/os/ex/dox/compass.dox
+++ b/os/ex/dox/compass.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/flash.dox b/os/ex/dox/flash.dox
index d9364587b..8cfb5c3d7 100644
--- a/os/ex/dox/flash.dox
+++ b/os/ex/dox/flash.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/gyro.dox b/os/ex/dox/gyro.dox
index 04c521709..66f3c6fa8 100644
--- a/os/ex/dox/gyro.dox
+++ b/os/ex/dox/gyro.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/hal.dox b/os/ex/dox/hal.dox
index f109f9f1b..2c6c47f67 100644
--- a/os/ex/dox/hal.dox
+++ b/os/ex/dox/hal.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/hygrometer.dox b/os/ex/dox/hygrometer.dox
index f60031900..b8eeb66de 100644
--- a/os/ex/dox/hygrometer.dox
+++ b/os/ex/dox/hygrometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/jesd216flash.dox b/os/ex/dox/jesd216flash.dox
index e979d6f0c..3e061c742 100644
--- a/os/ex/dox/jesd216flash.dox
+++ b/os/ex/dox/jesd216flash.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/main.dox b/os/ex/dox/main.dox
index f88327b0d..fb10d9d31 100644
--- a/os/ex/dox/main.dox
+++ b/os/ex/dox/main.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/sensor.dox b/os/ex/dox/sensor.dox
index ae15ab7f8..036f7f7ac 100644
--- a/os/ex/dox/sensor.dox
+++ b/os/ex/dox/sensor.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/ex/dox/thermometer.dox b/os/ex/dox/thermometer.dox
index d02063600..70cf0bb7b 100644
--- a/os/ex/dox/thermometer.dox
+++ b/os/ex/dox/thermometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_LEONARDO/board.c b/os/hal/boards/ARDUINO_LEONARDO/board.c
index ad1e8f535..89c138fd7 100644
--- a/os/hal/boards/ARDUINO_LEONARDO/board.c
+++ b/os/hal/boards/ARDUINO_LEONARDO/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_LEONARDO/board.h b/os/hal/boards/ARDUINO_LEONARDO/board.h
index 2ec8dafe3..94cd767f1 100644
--- a/os/hal/boards/ARDUINO_LEONARDO/board.h
+++ b/os/hal/boards/ARDUINO_LEONARDO/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_MEGA/board.c b/os/hal/boards/ARDUINO_MEGA/board.c
index a283a08f7..89c138fd7 100644
--- a/os/hal/boards/ARDUINO_MEGA/board.c
+++ b/os/hal/boards/ARDUINO_MEGA/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_MEGA/board.h b/os/hal/boards/ARDUINO_MEGA/board.h
index c455598af..2386434cd 100644
--- a/os/hal/boards/ARDUINO_MEGA/board.h
+++ b/os/hal/boards/ARDUINO_MEGA/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_MINI/board.c b/os/hal/boards/ARDUINO_MINI/board.c
index 370efe840..04f9dba51 100644
--- a/os/hal/boards/ARDUINO_MINI/board.c
+++ b/os/hal/boards/ARDUINO_MINI/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_MINI/board.h b/os/hal/boards/ARDUINO_MINI/board.h
index fe0c9a8fa..882d15c4b 100644
--- a/os/hal/boards/ARDUINO_MINI/board.h
+++ b/os/hal/boards/ARDUINO_MINI/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_NANO/board.c b/os/hal/boards/ARDUINO_NANO/board.c
index 370efe840..04f9dba51 100644
--- a/os/hal/boards/ARDUINO_NANO/board.c
+++ b/os/hal/boards/ARDUINO_NANO/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_NANO/board.h b/os/hal/boards/ARDUINO_NANO/board.h
index d23c3f4d0..dafd9ee89 100644
--- a/os/hal/boards/ARDUINO_NANO/board.h
+++ b/os/hal/boards/ARDUINO_NANO/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_UNO/board.c b/os/hal/boards/ARDUINO_UNO/board.c
index 370efe840..04f9dba51 100644
--- a/os/hal/boards/ARDUINO_UNO/board.c
+++ b/os/hal/boards/ARDUINO_UNO/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ARDUINO_UNO/board.h b/os/hal/boards/ARDUINO_UNO/board.h
index 10c80710e..4a3c192de 100644
--- a/os/hal/boards/ARDUINO_UNO/board.h
+++ b/os/hal/boards/ARDUINO_UNO/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ATSAMA5D2_XULT/board.c b/os/hal/boards/ATSAMA5D2_XULT/board.c
index e8595d534..a3c476cc8 100644
--- a/os/hal/boards/ATSAMA5D2_XULT/board.c
+++ b/os/hal/boards/ATSAMA5D2_XULT/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ATSAMA5D2_XULT/board.h b/os/hal/boards/ATSAMA5D2_XULT/board.h
index 78b670d4c..f8f737466 100644
--- a/os/hal/boards/ATSAMA5D2_XULT/board.h
+++ b/os/hal/boards/ATSAMA5D2_XULT/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/DIGISPARK_ATTINY_167/board.c b/os/hal/boards/DIGISPARK_ATTINY_167/board.c
index aab4dbd85..34af33be7 100644
--- a/os/hal/boards/DIGISPARK_ATTINY_167/board.c
+++ b/os/hal/boards/DIGISPARK_ATTINY_167/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/DIGISPARK_ATTINY_167/board.h b/os/hal/boards/DIGISPARK_ATTINY_167/board.h
index f142eca53..27b89c3b3 100644
--- a/os/hal/boards/DIGISPARK_ATTINY_167/board.h
+++ b/os/hal/boards/DIGISPARK_ATTINY_167/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_11C24/board.c b/os/hal/boards/EA_LPCXPRESSO_11C24/board.c
index e40f6bca1..811c37b65 100644
--- a/os/hal/boards/EA_LPCXPRESSO_11C24/board.c
+++ b/os/hal/boards/EA_LPCXPRESSO_11C24/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_11C24/board.h b/os/hal/boards/EA_LPCXPRESSO_11C24/board.h
index 1330dea52..7f7c35cbc 100644
--- a/os/hal/boards/EA_LPCXPRESSO_11C24/board.h
+++ b/os/hal/boards/EA_LPCXPRESSO_11C24/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.c b/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.c
index 5053d91ac..ef3eac5ee 100644
--- a/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.c
+++ b/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.h b/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.h
index 446eddf9c..87b41e43a 100644
--- a/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.h
+++ b/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.c b/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.c
index 61ceab146..a3d8da18f 100644
--- a/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.c
+++ b/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.h b/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.h
index ef5728370..791367fd1 100644
--- a/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.h
+++ b/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.c b/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.c
index e014cdb4a..a8e463e6c 100644
--- a/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.c
+++ b/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.h b/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.h
index db149b2aa..30250344f 100644
--- a/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.h
+++ b/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_LPC812/board.c b/os/hal/boards/EA_LPCXPRESSO_LPC812/board.c
index 2eb0739ce..5709c0fd3 100644
--- a/os/hal/boards/EA_LPCXPRESSO_LPC812/board.c
+++ b/os/hal/boards/EA_LPCXPRESSO_LPC812/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/EA_LPCXPRESSO_LPC812/board.h b/os/hal/boards/EA_LPCXPRESSO_LPC812/board.h
index e8e975fa8..70d6c0d0c 100644
--- a/os/hal/boards/EA_LPCXPRESSO_LPC812/board.h
+++ b/os/hal/boards/EA_LPCXPRESSO_LPC812/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/GOLDBULL_STM32_F107VC/board.c b/os/hal/boards/GOLDBULL_STM32_F107VC/board.c
index a6e68bd4f..8afc765a7 100644
--- a/os/hal/boards/GOLDBULL_STM32_F107VC/board.c
+++ b/os/hal/boards/GOLDBULL_STM32_F107VC/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/GOLDBULL_STM32_F107VC/board.h b/os/hal/boards/GOLDBULL_STM32_F107VC/board.h
index 29e6e269f..6bed45c78 100644
--- a/os/hal/boards/GOLDBULL_STM32_F107VC/board.h
+++ b/os/hal/boards/GOLDBULL_STM32_F107VC/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/MAPLEMINI_STM32_F103/board.c b/os/hal/boards/MAPLEMINI_STM32_F103/board.c
index 751a4ba89..ac929a476 100644
--- a/os/hal/boards/MAPLEMINI_STM32_F103/board.c
+++ b/os/hal/boards/MAPLEMINI_STM32_F103/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/MAPLEMINI_STM32_F103/board.h b/os/hal/boards/MAPLEMINI_STM32_F103/board.h
index 994cd86bf..f419af195 100644
--- a/os/hal/boards/MAPLEMINI_STM32_F103/board.h
+++ b/os/hal/boards/MAPLEMINI_STM32_F103/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/MIKROE_CLICKER2_STM32/board.c b/os/hal/boards/MIKROE_CLICKER2_STM32/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/MIKROE_CLICKER2_STM32/board.c
+++ b/os/hal/boards/MIKROE_CLICKER2_STM32/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/MIKROE_CLICKER2_STM32/board.h b/os/hal/boards/MIKROE_CLICKER2_STM32/board.h
index a663e2c77..3457d6623 100644
--- a/os/hal/boards/MIKROE_CLICKER2_STM32/board.h
+++ b/os/hal/boards/MIKROE_CLICKER2_STM32/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/NGX_BB_LPC11U14/board.c b/os/hal/boards/NGX_BB_LPC11U14/board.c
index 8693e4be6..fc12f31c1 100644
--- a/os/hal/boards/NGX_BB_LPC11U14/board.c
+++ b/os/hal/boards/NGX_BB_LPC11U14/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/NGX_BB_LPC11U14/board.h b/os/hal/boards/NGX_BB_LPC11U14/board.h
index 5a3c77f1a..9cb2e4b74 100644
--- a/os/hal/boards/NGX_BB_LPC11U14/board.h
+++ b/os/hal/boards/NGX_BB_LPC11U14/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c b/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c
index 992a93ec5..9bdedc7fd 100644
--- a/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c
+++ b/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.h b/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.h
index fc82accaf..7a9cf1ae6 100644
--- a/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.h
+++ b/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_AVR_CAN/board.c b/os/hal/boards/OLIMEX_AVR_CAN/board.c
index 617692a0c..599ad6285 100644
--- a/os/hal/boards/OLIMEX_AVR_CAN/board.c
+++ b/os/hal/boards/OLIMEX_AVR_CAN/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_AVR_CAN/board.h b/os/hal/boards/OLIMEX_AVR_CAN/board.h
index 9adc3d559..faf101267 100644
--- a/os/hal/boards/OLIMEX_AVR_CAN/board.h
+++ b/os/hal/boards/OLIMEX_AVR_CAN/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_AVR_MT_128/board.c b/os/hal/boards/OLIMEX_AVR_MT_128/board.c
index e5915654e..a26611d47 100644
--- a/os/hal/boards/OLIMEX_AVR_MT_128/board.c
+++ b/os/hal/boards/OLIMEX_AVR_MT_128/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_AVR_MT_128/board.h b/os/hal/boards/OLIMEX_AVR_MT_128/board.h
index a8c49bbcf..fb4bf22ff 100644
--- a/os/hal/boards/OLIMEX_AVR_MT_128/board.h
+++ b/os/hal/boards/OLIMEX_AVR_MT_128/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P1227/board.c b/os/hal/boards/OLIMEX_LPC_P1227/board.c
index 4e7dfe73d..86f7ca81a 100644
--- a/os/hal/boards/OLIMEX_LPC_P1227/board.c
+++ b/os/hal/boards/OLIMEX_LPC_P1227/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P1227/board.h b/os/hal/boards/OLIMEX_LPC_P1227/board.h
index 5ee13aec0..c04f801fe 100644
--- a/os/hal/boards/OLIMEX_LPC_P1227/board.h
+++ b/os/hal/boards/OLIMEX_LPC_P1227/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P1343/board.c b/os/hal/boards/OLIMEX_LPC_P1343/board.c
index 72d263bfe..720facb01 100644
--- a/os/hal/boards/OLIMEX_LPC_P1343/board.c
+++ b/os/hal/boards/OLIMEX_LPC_P1343/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P1343/board.h b/os/hal/boards/OLIMEX_LPC_P1343/board.h
index c9affe939..91aebe31d 100644
--- a/os/hal/boards/OLIMEX_LPC_P1343/board.h
+++ b/os/hal/boards/OLIMEX_LPC_P1343/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P2148/board.c b/os/hal/boards/OLIMEX_LPC_P2148/board.c
index 975bd398b..06a913048 100644
--- a/os/hal/boards/OLIMEX_LPC_P2148/board.c
+++ b/os/hal/boards/OLIMEX_LPC_P2148/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P2148/board.h b/os/hal/boards/OLIMEX_LPC_P2148/board.h
index 5882cd899..236c67aa2 100644
--- a/os/hal/boards/OLIMEX_LPC_P2148/board.h
+++ b/os/hal/boards/OLIMEX_LPC_P2148/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P2148/buzzer.c b/os/hal/boards/OLIMEX_LPC_P2148/buzzer.c
index 833c92627..2332580b5 100644
--- a/os/hal/boards/OLIMEX_LPC_P2148/buzzer.c
+++ b/os/hal/boards/OLIMEX_LPC_P2148/buzzer.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_LPC_P2148/buzzer.h b/os/hal/boards/OLIMEX_LPC_P2148/buzzer.h
index dee0350c0..790117a6c 100644
--- a/os/hal/boards/OLIMEX_LPC_P2148/buzzer.h
+++ b/os/hal/boards/OLIMEX_LPC_P2148/buzzer.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_MSP430_P1611/board.c b/os/hal/boards/OLIMEX_MSP430_P1611/board.c
index f1635a856..9817eba01 100644
--- a/os/hal/boards/OLIMEX_MSP430_P1611/board.c
+++ b/os/hal/boards/OLIMEX_MSP430_P1611/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_MSP430_P1611/board.h b/os/hal/boards/OLIMEX_MSP430_P1611/board.h
index 2338001e6..837047514 100644
--- a/os/hal/boards/OLIMEX_MSP430_P1611/board.h
+++ b/os/hal/boards/OLIMEX_MSP430_P1611/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_SAM7_EX256/board.c b/os/hal/boards/OLIMEX_SAM7_EX256/board.c
index 42c1e4f89..b439389c9 100644
--- a/os/hal/boards/OLIMEX_SAM7_EX256/board.c
+++ b/os/hal/boards/OLIMEX_SAM7_EX256/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_SAM7_EX256/board.h b/os/hal/boards/OLIMEX_SAM7_EX256/board.h
index aac4625e9..3e0917a24 100644
--- a/os/hal/boards/OLIMEX_SAM7_EX256/board.h
+++ b/os/hal/boards/OLIMEX_SAM7_EX256/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_SAM7_P256/board.c b/os/hal/boards/OLIMEX_SAM7_P256/board.c
index 1f44b5993..bc291be94 100644
--- a/os/hal/boards/OLIMEX_SAM7_P256/board.c
+++ b/os/hal/boards/OLIMEX_SAM7_P256/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_SAM7_P256/board.h b/os/hal/boards/OLIMEX_SAM7_P256/board.h
index 8e220d6d8..fc8dbfe4a 100644
--- a/os/hal/boards/OLIMEX_SAM7_P256/board.h
+++ b/os/hal/boards/OLIMEX_SAM7_P256/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_103STK/board.c b/os/hal/boards/OLIMEX_STM32_103STK/board.c
index 751a4ba89..ac929a476 100644
--- a/os/hal/boards/OLIMEX_STM32_103STK/board.c
+++ b/os/hal/boards/OLIMEX_STM32_103STK/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_103STK/board.h b/os/hal/boards/OLIMEX_STM32_103STK/board.h
index 0cbf9c708..0d726c9b0 100644
--- a/os/hal/boards/OLIMEX_STM32_103STK/board.h
+++ b/os/hal/boards/OLIMEX_STM32_103STK/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_E407/board.c b/os/hal/boards/OLIMEX_STM32_E407/board.c
index 1796841ac..dfb409113 100644
--- a/os/hal/boards/OLIMEX_STM32_E407/board.c
+++ b/os/hal/boards/OLIMEX_STM32_E407/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -218,10 +218,10 @@ void __early_init(void) {
* @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
- static bool last_status = false;
-
- if (blkIsTransferring(sdcp))
- return last_status;
+ static bool last_status = false;
+
+ if (blkIsTransferring(sdcp))
+ return last_status;
return last_status = (bool)palReadPad(GPIOC, GPIOC_SD_D3);
}
@@ -229,8 +229,8 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
* @brief SDC card write protection detection.
*/
bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
-
- (void)sdcp;
+
+ (void)sdcp;
return false;
}
#endif /* HAL_USE_SDC */
diff --git a/os/hal/boards/OLIMEX_STM32_E407/board.h b/os/hal/boards/OLIMEX_STM32_E407/board.h
index cce728d9c..8219dbb74 100644
--- a/os/hal/boards/OLIMEX_STM32_E407/board.h
+++ b/os/hal/boards/OLIMEX_STM32_E407/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.c b/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.c
index 1796841ac..dfb409113 100644
--- a/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.c
+++ b/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -218,10 +218,10 @@ void __early_init(void) {
* @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
- static bool last_status = false;
-
- if (blkIsTransferring(sdcp))
- return last_status;
+ static bool last_status = false;
+
+ if (blkIsTransferring(sdcp))
+ return last_status;
return last_status = (bool)palReadPad(GPIOC, GPIOC_SD_D3);
}
@@ -229,8 +229,8 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
* @brief SDC card write protection detection.
*/
bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
-
- (void)sdcp;
+
+ (void)sdcp;
return false;
}
#endif /* HAL_USE_SDC */
diff --git a/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.h b/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.h
index c602977e1..5f751792c 100644
--- a/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.h
+++ b/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_H103/board.c b/os/hal/boards/OLIMEX_STM32_H103/board.c
index 751a4ba89..ac929a476 100644
--- a/os/hal/boards/OLIMEX_STM32_H103/board.c
+++ b/os/hal/boards/OLIMEX_STM32_H103/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_H103/board.h b/os/hal/boards/OLIMEX_STM32_H103/board.h
index 9a1fa924e..5a2fd43a2 100644
--- a/os/hal/boards/OLIMEX_STM32_H103/board.h
+++ b/os/hal/boards/OLIMEX_STM32_H103/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_H407/board.c b/os/hal/boards/OLIMEX_STM32_H407/board.c
index 1796841ac..dfb409113 100644
--- a/os/hal/boards/OLIMEX_STM32_H407/board.c
+++ b/os/hal/boards/OLIMEX_STM32_H407/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -218,10 +218,10 @@ void __early_init(void) {
* @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
- static bool last_status = false;
-
- if (blkIsTransferring(sdcp))
- return last_status;
+ static bool last_status = false;
+
+ if (blkIsTransferring(sdcp))
+ return last_status;
return last_status = (bool)palReadPad(GPIOC, GPIOC_SD_D3);
}
@@ -229,8 +229,8 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
* @brief SDC card write protection detection.
*/
bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
-
- (void)sdcp;
+
+ (void)sdcp;
return false;
}
#endif /* HAL_USE_SDC */
diff --git a/os/hal/boards/OLIMEX_STM32_H407/board.h b/os/hal/boards/OLIMEX_STM32_H407/board.h
index 63637149a..d16bc3d29 100644
--- a/os/hal/boards/OLIMEX_STM32_H407/board.h
+++ b/os/hal/boards/OLIMEX_STM32_H407/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_LCD/board.c b/os/hal/boards/OLIMEX_STM32_LCD/board.c
index 620709e73..dffc533ef 100644
--- a/os/hal/boards/OLIMEX_STM32_LCD/board.c
+++ b/os/hal/boards/OLIMEX_STM32_LCD/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_LCD/board.h b/os/hal/boards/OLIMEX_STM32_LCD/board.h
index 7ea7d846e..dfa5f63e6 100644
--- a/os/hal/boards/OLIMEX_STM32_LCD/board.h
+++ b/os/hal/boards/OLIMEX_STM32_LCD/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_P103/board.c b/os/hal/boards/OLIMEX_STM32_P103/board.c
index d2d287acf..b3edc2cb4 100644
--- a/os/hal/boards/OLIMEX_STM32_P103/board.c
+++ b/os/hal/boards/OLIMEX_STM32_P103/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_P103/board.h b/os/hal/boards/OLIMEX_STM32_P103/board.h
index 0bb5ca6c4..32b300e08 100644
--- a/os/hal/boards/OLIMEX_STM32_P103/board.h
+++ b/os/hal/boards/OLIMEX_STM32_P103/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_P107/board.c b/os/hal/boards/OLIMEX_STM32_P107/board.c
index 89360bfcf..65f3ea31a 100644
--- a/os/hal/boards/OLIMEX_STM32_P107/board.c
+++ b/os/hal/boards/OLIMEX_STM32_P107/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_P107/board.h b/os/hal/boards/OLIMEX_STM32_P107/board.h
index 7bdfe42d0..4ec2ab65d 100644
--- a/os/hal/boards/OLIMEX_STM32_P107/board.h
+++ b/os/hal/boards/OLIMEX_STM32_P107/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_P407/board.c b/os/hal/boards/OLIMEX_STM32_P407/board.c
index fcf8963d6..0dad9f2fe 100644
--- a/os/hal/boards/OLIMEX_STM32_P407/board.c
+++ b/os/hal/boards/OLIMEX_STM32_P407/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/OLIMEX_STM32_P407/board.h b/os/hal/boards/OLIMEX_STM32_P407/board.h
index bae7bc573..f220aee81 100644
--- a/os/hal/boards/OLIMEX_STM32_P407/board.h
+++ b/os/hal/boards/OLIMEX_STM32_P407/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/RAISONANCE_REVA_STM8S/board.c b/os/hal/boards/RAISONANCE_REVA_STM8S/board.c
index 768ec24c9..ecad295e5 100644
--- a/os/hal/boards/RAISONANCE_REVA_STM8S/board.c
+++ b/os/hal/boards/RAISONANCE_REVA_STM8S/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/RAISONANCE_REVA_STM8S/board.h b/os/hal/boards/RAISONANCE_REVA_STM8S/board.h
index 7550f451e..1dd71aadd 100644
--- a/os/hal/boards/RAISONANCE_REVA_STM8S/board.h
+++ b/os/hal/boards/RAISONANCE_REVA_STM8S/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/SEEED_ARCH_MAX/board.c b/os/hal/boards/SEEED_ARCH_MAX/board.c
index 1796841ac..dfb409113 100755
--- a/os/hal/boards/SEEED_ARCH_MAX/board.c
+++ b/os/hal/boards/SEEED_ARCH_MAX/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -218,10 +218,10 @@ void __early_init(void) {
* @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
- static bool last_status = false;
-
- if (blkIsTransferring(sdcp))
- return last_status;
+ static bool last_status = false;
+
+ if (blkIsTransferring(sdcp))
+ return last_status;
return last_status = (bool)palReadPad(GPIOC, GPIOC_SD_D3);
}
@@ -229,8 +229,8 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
* @brief SDC card write protection detection.
*/
bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
-
- (void)sdcp;
+
+ (void)sdcp;
return false;
}
#endif /* HAL_USE_SDC */
diff --git a/os/hal/boards/SEEED_ARCH_MAX/board.h b/os/hal/boards/SEEED_ARCH_MAX/board.h
index 9496df145..35f7d46a4 100755
--- a/os/hal/boards/SEEED_ARCH_MAX/board.h
+++ b/os/hal/boards/SEEED_ARCH_MAX/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/SPARKFUN_PRO_MICRO/board.c b/os/hal/boards/SPARKFUN_PRO_MICRO/board.c
index 9083f088e..732f2e798 100755
--- a/os/hal/boards/SPARKFUN_PRO_MICRO/board.c
+++ b/os/hal/boards/SPARKFUN_PRO_MICRO/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/SPARKFUN_PRO_MICRO/board.h b/os/hal/boards/SPARKFUN_PRO_MICRO/board.h
index bc4a1d4bf..65954968d 100755
--- a/os/hal/boards/SPARKFUN_PRO_MICRO/board.h
+++ b/os/hal/boards/SPARKFUN_PRO_MICRO/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/STM32F103C8_MINIMAL/board.c b/os/hal/boards/STM32F103C8_MINIMAL/board.c
index 751a4ba89..ac929a476 100644
--- a/os/hal/boards/STM32F103C8_MINIMAL/board.c
+++ b/os/hal/boards/STM32F103C8_MINIMAL/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/STM32F103C8_MINIMAL/board.h b/os/hal/boards/STM32F103C8_MINIMAL/board.h
index 492dcfabe..9350c1388 100644
--- a/os/hal/boards/STM32F103C8_MINIMAL/board.h
+++ b/os/hal/boards/STM32F103C8_MINIMAL/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.c b/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.c
index a4e2a1ad2..2951df1e4 100644
--- a/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.c
+++ b/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.h b/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.h
index 68eb2fcca..395da3d04 100644
--- a/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.h
+++ b/os/hal/boards/STUDIEL_AT91SAM7A3_EK/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVALKITST7580_1/board.c b/os/hal/boards/ST_EVALKITST7580_1/board.c
index 0f864b202..78a1b1804 100644
--- a/os/hal/boards/ST_EVALKITST7580_1/board.c
+++ b/os/hal/boards/ST_EVALKITST7580_1/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVALKITST7580_1/board.h b/os/hal/boards/ST_EVALKITST7580_1/board.h
index 0ffd377b1..7ad9fdc74 100644
--- a/os/hal/boards/ST_EVALKITST7580_1/board.h
+++ b/os/hal/boards/ST_EVALKITST7580_1/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560B/board.c b/os/hal/boards/ST_EVB_SPC560B/board.c
index d7e325046..0107053dc 100644
--- a/os/hal/boards/ST_EVB_SPC560B/board.c
+++ b/os/hal/boards/ST_EVB_SPC560B/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560B/board.h b/os/hal/boards/ST_EVB_SPC560B/board.h
index 6a17bfea7..74754bed1 100644
--- a/os/hal/boards/ST_EVB_SPC560B/board.h
+++ b/os/hal/boards/ST_EVB_SPC560B/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560BC/board.c b/os/hal/boards/ST_EVB_SPC560BC/board.c
index d7e325046..0107053dc 100644
--- a/os/hal/boards/ST_EVB_SPC560BC/board.c
+++ b/os/hal/boards/ST_EVB_SPC560BC/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560BC/board.h b/os/hal/boards/ST_EVB_SPC560BC/board.h
index fb77fa902..bbc801062 100644
--- a/os/hal/boards/ST_EVB_SPC560BC/board.h
+++ b/os/hal/boards/ST_EVB_SPC560BC/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560D/board.c b/os/hal/boards/ST_EVB_SPC560D/board.c
index b4903af7e..8ff27ca34 100644
--- a/os/hal/boards/ST_EVB_SPC560D/board.c
+++ b/os/hal/boards/ST_EVB_SPC560D/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560D/board.h b/os/hal/boards/ST_EVB_SPC560D/board.h
index 60892ec1d..395d97a51 100644
--- a/os/hal/boards/ST_EVB_SPC560D/board.h
+++ b/os/hal/boards/ST_EVB_SPC560D/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560P/board.c b/os/hal/boards/ST_EVB_SPC560P/board.c
index 2a121651c..1b0db3b68 100644
--- a/os/hal/boards/ST_EVB_SPC560P/board.c
+++ b/os/hal/boards/ST_EVB_SPC560P/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC560P/board.h b/os/hal/boards/ST_EVB_SPC560P/board.h
index 8fcd2e5d6..8df28a519 100644
--- a/os/hal/boards/ST_EVB_SPC560P/board.h
+++ b/os/hal/boards/ST_EVB_SPC560P/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC563M/board.c b/os/hal/boards/ST_EVB_SPC563M/board.c
index 7bfa3cdbf..bac9b5c08 100644
--- a/os/hal/boards/ST_EVB_SPC563M/board.c
+++ b/os/hal/boards/ST_EVB_SPC563M/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC563M/board.h b/os/hal/boards/ST_EVB_SPC563M/board.h
index 3008cf469..4b31cf598 100644
--- a/os/hal/boards/ST_EVB_SPC563M/board.h
+++ b/os/hal/boards/ST_EVB_SPC563M/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC564A/board.c b/os/hal/boards/ST_EVB_SPC564A/board.c
index e4542cea1..f3d43d6a6 100644
--- a/os/hal/boards/ST_EVB_SPC564A/board.c
+++ b/os/hal/boards/ST_EVB_SPC564A/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC564A/board.h b/os/hal/boards/ST_EVB_SPC564A/board.h
index a3d34f339..e2643f4c3 100644
--- a/os/hal/boards/ST_EVB_SPC564A/board.h
+++ b/os/hal/boards/ST_EVB_SPC564A/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC56EC/board.c b/os/hal/boards/ST_EVB_SPC56EC/board.c
index 319829b71..a77b02797 100644
--- a/os/hal/boards/ST_EVB_SPC56EC/board.c
+++ b/os/hal/boards/ST_EVB_SPC56EC/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC56EC/board.h b/os/hal/boards/ST_EVB_SPC56EC/board.h
index d889f5645..36e4647ad 100644
--- a/os/hal/boards/ST_EVB_SPC56EC/board.h
+++ b/os/hal/boards/ST_EVB_SPC56EC/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC56EL/board.c b/os/hal/boards/ST_EVB_SPC56EL/board.c
index d6d573b4f..564e92b59 100644
--- a/os/hal/boards/ST_EVB_SPC56EL/board.c
+++ b/os/hal/boards/ST_EVB_SPC56EL/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_EVB_SPC56EL/board.h b/os/hal/boards/ST_EVB_SPC56EL/board.h
index 9c7628d85..cedea2582 100644
--- a/os/hal/boards/ST_EVB_SPC56EL/board.h
+++ b/os/hal/boards/ST_EVB_SPC56EL/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.c b/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.c
index 1511f4c6a..d08202121 100644
--- a/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.c
+++ b/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.h b/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.h
index 19edfc836..fb37904ab 100644
--- a/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.h
+++ b/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F207ZG/board.c b/os/hal/boards/ST_NUCLEO144_F207ZG/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO144_F207ZG/board.c
+++ b/os/hal/boards/ST_NUCLEO144_F207ZG/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F207ZG/board.h b/os/hal/boards/ST_NUCLEO144_F207ZG/board.h
index f072ce77d..9119f7526 100644
--- a/os/hal/boards/ST_NUCLEO144_F207ZG/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F207ZG/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F303ZE/board.c b/os/hal/boards/ST_NUCLEO144_F303ZE/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO144_F303ZE/board.c
+++ b/os/hal/boards/ST_NUCLEO144_F303ZE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F303ZE/board.h b/os/hal/boards/ST_NUCLEO144_F303ZE/board.h
index 5db87e95d..9f93a8400 100644
--- a/os/hal/boards/ST_NUCLEO144_F303ZE/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F303ZE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F412ZG/board.c b/os/hal/boards/ST_NUCLEO144_F412ZG/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO144_F412ZG/board.c
+++ b/os/hal/boards/ST_NUCLEO144_F412ZG/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F412ZG/board.h b/os/hal/boards/ST_NUCLEO144_F412ZG/board.h
index 0ab2d8fcf..2c2f551e2 100644
--- a/os/hal/boards/ST_NUCLEO144_F412ZG/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F412ZG/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F429ZI/board.c b/os/hal/boards/ST_NUCLEO144_F429ZI/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO144_F429ZI/board.c
+++ b/os/hal/boards/ST_NUCLEO144_F429ZI/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F429ZI/board.h b/os/hal/boards/ST_NUCLEO144_F429ZI/board.h
index 7916c754f..b7f5ce24a 100644
--- a/os/hal/boards/ST_NUCLEO144_F429ZI/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F429ZI/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F446ZE/board.c b/os/hal/boards/ST_NUCLEO144_F446ZE/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO144_F446ZE/board.c
+++ b/os/hal/boards/ST_NUCLEO144_F446ZE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F446ZE/board.h b/os/hal/boards/ST_NUCLEO144_F446ZE/board.h
index 9cbff7303..a380e1727 100644
--- a/os/hal/boards/ST_NUCLEO144_F446ZE/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F446ZE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F746ZG/board.c b/os/hal/boards/ST_NUCLEO144_F746ZG/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO144_F746ZG/board.c
+++ b/os/hal/boards/ST_NUCLEO144_F746ZG/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F746ZG/board.h b/os/hal/boards/ST_NUCLEO144_F746ZG/board.h
index 4e2c08b1a..8fd779f81 100644
--- a/os/hal/boards/ST_NUCLEO144_F746ZG/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F746ZG/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F767ZI/board.c b/os/hal/boards/ST_NUCLEO144_F767ZI/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO144_F767ZI/board.c
+++ b/os/hal/boards/ST_NUCLEO144_F767ZI/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_F767ZI/board.h b/os/hal/boards/ST_NUCLEO144_F767ZI/board.h
index 4b8477b25..f3e6aed6e 100644
--- a/os/hal/boards/ST_NUCLEO144_F767ZI/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F767ZI/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_H743ZI/board.c b/os/hal/boards/ST_NUCLEO144_H743ZI/board.c
index 7173084e8..41cc7ae41 100644
--- a/os/hal/boards/ST_NUCLEO144_H743ZI/board.c
+++ b/os/hal/boards/ST_NUCLEO144_H743ZI/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO144_H743ZI/board.h b/os/hal/boards/ST_NUCLEO144_H743ZI/board.h
index 72c729235..0147b3626 100644
--- a/os/hal/boards/ST_NUCLEO144_H743ZI/board.h
+++ b/os/hal/boards/ST_NUCLEO144_H743ZI/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_F031K6/board.c b/os/hal/boards/ST_NUCLEO32_F031K6/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO32_F031K6/board.c
+++ b/os/hal/boards/ST_NUCLEO32_F031K6/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_F031K6/board.h b/os/hal/boards/ST_NUCLEO32_F031K6/board.h
index 8ed19eb76..7c082df88 100644
--- a/os/hal/boards/ST_NUCLEO32_F031K6/board.h
+++ b/os/hal/boards/ST_NUCLEO32_F031K6/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_F042K6/board.c b/os/hal/boards/ST_NUCLEO32_F042K6/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO32_F042K6/board.c
+++ b/os/hal/boards/ST_NUCLEO32_F042K6/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_F042K6/board.h b/os/hal/boards/ST_NUCLEO32_F042K6/board.h
index 1a618f736..c84215b65 100644
--- a/os/hal/boards/ST_NUCLEO32_F042K6/board.h
+++ b/os/hal/boards/ST_NUCLEO32_F042K6/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_F303K8/board.c b/os/hal/boards/ST_NUCLEO32_F303K8/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO32_F303K8/board.c
+++ b/os/hal/boards/ST_NUCLEO32_F303K8/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_F303K8/board.h b/os/hal/boards/ST_NUCLEO32_F303K8/board.h
index 89e5aa100..5a134bd28 100644
--- a/os/hal/boards/ST_NUCLEO32_F303K8/board.h
+++ b/os/hal/boards/ST_NUCLEO32_F303K8/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_L011K4/board.c b/os/hal/boards/ST_NUCLEO32_L011K4/board.c
index 15c4d29a8..bf7a62b39 100644
--- a/os/hal/boards/ST_NUCLEO32_L011K4/board.c
+++ b/os/hal/boards/ST_NUCLEO32_L011K4/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_L011K4/board.h b/os/hal/boards/ST_NUCLEO32_L011K4/board.h
index 661bc51f8..3d72724d5 100644
--- a/os/hal/boards/ST_NUCLEO32_L011K4/board.h
+++ b/os/hal/boards/ST_NUCLEO32_L011K4/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_L031K6/board.c b/os/hal/boards/ST_NUCLEO32_L031K6/board.c
index 15c4d29a8..bf7a62b39 100644
--- a/os/hal/boards/ST_NUCLEO32_L031K6/board.c
+++ b/os/hal/boards/ST_NUCLEO32_L031K6/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_L031K6/board.h b/os/hal/boards/ST_NUCLEO32_L031K6/board.h
index e334266ba..f418ad17a 100644
--- a/os/hal/boards/ST_NUCLEO32_L031K6/board.h
+++ b/os/hal/boards/ST_NUCLEO32_L031K6/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_L432KC/board.c b/os/hal/boards/ST_NUCLEO32_L432KC/board.c
index 177ec13c8..c5776a150 100644
--- a/os/hal/boards/ST_NUCLEO32_L432KC/board.c
+++ b/os/hal/boards/ST_NUCLEO32_L432KC/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO32_L432KC/board.h b/os/hal/boards/ST_NUCLEO32_L432KC/board.h
index aee482f3a..7ee5cb052 100644
--- a/os/hal/boards/ST_NUCLEO32_L432KC/board.h
+++ b/os/hal/boards/ST_NUCLEO32_L432KC/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F030R8/board.c b/os/hal/boards/ST_NUCLEO64_F030R8/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_F030R8/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F030R8/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F030R8/board.h b/os/hal/boards/ST_NUCLEO64_F030R8/board.h
index b9c72f19a..664327f25 100644
--- a/os/hal/boards/ST_NUCLEO64_F030R8/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F030R8/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F070RB/board.c b/os/hal/boards/ST_NUCLEO64_F070RB/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_F070RB/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F070RB/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F070RB/board.h b/os/hal/boards/ST_NUCLEO64_F070RB/board.h
index 5bf868f4e..9c7233a17 100644
--- a/os/hal/boards/ST_NUCLEO64_F070RB/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F070RB/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F072RB/board.c b/os/hal/boards/ST_NUCLEO64_F072RB/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_F072RB/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F072RB/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F072RB/board.h b/os/hal/boards/ST_NUCLEO64_F072RB/board.h
index 9e54cca2f..88d6db288 100644
--- a/os/hal/boards/ST_NUCLEO64_F072RB/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F072RB/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F091RC/board.c b/os/hal/boards/ST_NUCLEO64_F091RC/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_F091RC/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F091RC/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F091RC/board.h b/os/hal/boards/ST_NUCLEO64_F091RC/board.h
index 3f13fa955..d3273d93f 100644
--- a/os/hal/boards/ST_NUCLEO64_F091RC/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F091RC/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F103RB/board.c b/os/hal/boards/ST_NUCLEO64_F103RB/board.c
index 3e0199366..ac929a476 100644
--- a/os/hal/boards/ST_NUCLEO64_F103RB/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F103RB/board.c
@@ -1,49 +1,49 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "hal.h"
-
-/**
- * @brief PAL setup.
- * @details Digital I/O ports static configuration as defined in @p board.h.
- * This variable is used by the HAL when initializing the PAL driver.
- */
-#if HAL_USE_PAL || defined(__DOXYGEN__)
-const PALConfig pal_default_config =
-{
- {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH},
- {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH},
- {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH},
- {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH},
- {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH},
-};
-#endif
-
-/*
- * Early initialization code.
- * This initialization must be performed just after stack setup and before
- * any other initialization.
- */
-void __early_init(void) {
-
- stm32_clock_init();
-}
-
-/*
- * Board-specific initialization code.
- */
-void boardInit(void) {
-}
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "hal.h"
+
+/**
+ * @brief PAL setup.
+ * @details Digital I/O ports static configuration as defined in @p board.h.
+ * This variable is used by the HAL when initializing the PAL driver.
+ */
+#if HAL_USE_PAL || defined(__DOXYGEN__)
+const PALConfig pal_default_config =
+{
+ {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH},
+ {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH},
+ {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH},
+ {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH},
+ {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH},
+};
+#endif
+
+/*
+ * Early initialization code.
+ * This initialization must be performed just after stack setup and before
+ * any other initialization.
+ */
+void __early_init(void) {
+
+ stm32_clock_init();
+}
+
+/*
+ * Board-specific initialization code.
+ */
+void boardInit(void) {
+}
diff --git a/os/hal/boards/ST_NUCLEO64_F103RB/board.h b/os/hal/boards/ST_NUCLEO64_F103RB/board.h
index 117c9423e..fe0e43959 100644
--- a/os/hal/boards/ST_NUCLEO64_F103RB/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F103RB/board.h
@@ -1,260 +1,260 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef _BOARD_H_
-#define _BOARD_H_
-
-/*
- * Setup for the ST INEMO-M1 Discovery board.
- */
-
-/*
- * Board identifier.
- */
-#define BOARD_ST_NUCLEO64_F103RB
-#define BOARD_NAME "STMicroelectronics NUCLEO-F103RB"
-
-/*
- * Board frequencies.
- */
-#define STM32_LSECLK 0
-
-#if defined(NUCLEO_EXTERNAL_OSCILLATOR)
-#define STM32_HSECLK 8000000
-#define STM32_HSE_BYPASS
-
-#elif defined(NUCLEO_HSE_CRYSTAL)
-#define STM32_HSECLK 8000000
-
-#else
-#define STM32_HSECLK 0
-#endif
-
-/*
- * MCU type, supported types are defined in ./os/hal/platforms/hal_lld.h.
- */
-#define STM32F103xB
-
-/*
- * IO pins assignments.
- */
-#define GPIOA_ARD_A0 0U
-#define GPIOA_ADC1_IN0 0U
-#define GPIOA_ARD_A1 1U
-#define GPIOA_ADC1_IN1 1U
-#define GPIOA_ARD_D1 2U
-#define GPIOA_USART2_TX 2U
-#define GPIOA_ARD_D0 3U
-#define GPIOA_USART2_RX 3U
-#define GPIOA_ARD_A2 4U
-#define GPIOA_ADC1_IN4 4U
-#define GPIOA_LED_GREEN 5U
-#define GPIOA_ARD_D13 5U
-#define GPIOA_ARD_D12 6U
-#define GPIOA_ARD_D11 7U
-#define GPIOA_ARD_D7 8U
-#define GPIOA_ARD_D8 9U
-#define GPIOA_ARD_D2 10U
-#define GPIOA_PIN11 11U
-#define GPIOA_PIN12 12U
-#define GPIOA_SWDIO 13U
-#define GPIOA_SWCLK 14U
-#define GPIOA_PIN15 15U
-
-#define GPIOB_ARD_A3 0U
-#define GPIOB_ADC1_IN8 0U
-#define GPIOB_PIN1 1U
-#define GPIOB_PIN2 2U
-#define GPIOB_SWO 3U
-#define GPIOB_ARD_D3 3U
-#define GPIOB_ARD_D5 4U
-#define GPIOB_ARD_D4 5U
-#define GPIOB_ARD_D10 6U
-#define GPIOB_PIN7 7U
-#define GPIOB_ARD_D15 8U
-#define GPIOB_ARD_D14 9U
-#define GPIOB_ARD_D6 10U
-#define GPIOB_PIN11 11U
-#define GPIOB_PIN12 12U
-#define GPIOB_PIN13 13U
-#define GPIOB_PIN14 14U
-#define GPIOB_PIN15 15U
-
-#define GPIOC_ARD_A5 0U
-#define GPIOC_ADC1_IN11 0U
-#define GPIOC_ARD_A4 1U
-#define GPIOC_ADC1_IN10 1U
-#define GPIOC_PIN2 2U
-#define GPIOC_PIN3 3U
-#define GPIOC_PIN4 4U
-#define GPIOC_PIN5 5U
-#define GPIOC_PIN6 6U
-#define GPIOC_ARD_D9 7U
-#define GPIOC_PIN8 8U
-#define GPIOC_PIN9 9U
-#define GPIOC_PIN10 10U
-#define GPIOC_PIN11 11U
-#define GPIOC_PIN12 12U
-#define GPIOC_BUTTON 13U
-#define GPIOC_PIN14 14U
-#define GPIOC_PIN15 15U
-
-#define GPIOD_OSC_IN 0U
-#define GPIOD_PIN0 0U
-#define GPIOD_OSC_OUT 1U
-#define GPIOD_PIN1 1U
-#define GPIOD_PIN2 2U
-#define GPIOD_PIN3 3U
-#define GPIOD_PIN4 4U
-#define GPIOD_PIN5 5U
-#define GPIOD_PIN6 6U
-#define GPIOD_PIN7 7U
-#define GPIOD_PIN8 8U
-#define GPIOD_PIN9 9U
-#define GPIOD_PIN10 10U
-#define GPIOD_PIN11 11U
-#define GPIOD_PIN12 12U
-#define GPIOD_PIN13 13U
-#define GPIOD_PIN14 14U
-#define GPIOD_PIN15 15U
-
-#define GPIOE_PIN0 0U
-#define GPIOE_PIN1 1U
-#define GPIOE_PIN2 2U
-#define GPIOE_PIN3 3U
-#define GPIOE_PIN4 4U
-#define GPIOE_PIN5 5U
-#define GPIOE_PIN6 6U
-#define GPIOE_PIN7 7U
-#define GPIOE_PIN8 8U
-#define GPIOE_PIN9 9U
-#define GPIOE_PIN10 10U
-#define GPIOE_PIN11 11U
-#define GPIOE_PIN12 12U
-#define GPIOE_PIN13 13U
-#define GPIOE_PIN14 14U
-#define GPIOE_PIN15 15U
-
-#define GPIOF_PIN0 0U
-#define GPIOF_PIN1 1U
-#define GPIOF_PIN2 2U
-#define GPIOF_PIN3 3U
-#define GPIOF_PIN4 4U
-#define GPIOF_PIN5 5U
-#define GPIOF_PIN6 6U
-#define GPIOF_PIN7 7U
-#define GPIOF_PIN8 8U
-#define GPIOF_PIN9 9U
-#define GPIOF_PIN10 10U
-#define GPIOF_PIN11 11U
-#define GPIOF_PIN12 12U
-#define GPIOF_PIN13 13U
-#define GPIOF_PIN14 14U
-#define GPIOF_PIN15 15U
-/*
- * I/O ports initial setup, this configuration is established soon after reset
- * in the initialization code.
- *
- * The digits have the following meaning:
- * 0 - Analog input.
- * 1 - Push Pull output 10MHz.
- * 2 - Push Pull output 2MHz.
- * 3 - Push Pull output 50MHz.
- * 4 - Digital input.
- * 5 - Open Drain output 10MHz.
- * 6 - Open Drain output 2MHz.
- * 7 - Open Drain output 50MHz.
- * 8 - Digital input with PullUp or PullDown resistor depending on ODR.
- * 9 - Alternate Push Pull output 10MHz.
- * A - Alternate Push Pull output 2MHz.
- * B - Alternate Push Pull output 50MHz.
- * C - Reserved.
- * D - Alternate Open Drain output 10MHz.
- * E - Alternate Open Drain output 2MHz.
- * F - Alternate Open Drain output 50MHz.
- * Please refer to the STM32 Reference Manual for details.
- */
-
-/*
- * Port A setup.
- * Everything input with pull-up except:
- * PA2 - Alternate output (GPIOA_ARD_D1, GPIOA_USART2_TX).
- * PA3 - Normal input (GPIOA_ARD_D0, GPIOA_USART2_RX).
- * PA5 - Push Pull output (GPIOA_LED_GREEN).
- * PA13 - Pull-up input (GPIOA_SWDIO).
- * PA14 - Pull-down input (GPIOA_SWCLK).
- */
-#define VAL_GPIOACRL 0x88384B88 /* PA7...PA0 */
-#define VAL_GPIOACRH 0x88888888 /* PA15...PA8 */
-#define VAL_GPIOAODR 0xFFFFBFDF
-
-/*
- * Port B setup.
- * Everything input with pull-up except:
- * PB3 - Pull-up input (GPIOA_SWO).
- */
-#define VAL_GPIOBCRL 0x88888888 /* PB7...PB0 */
-#define VAL_GPIOBCRH 0x88888888 /* PB15...PB8 */
-#define VAL_GPIOBODR 0xFFFFFFFF
-
-/*
- * Port C setup.
- * Everything input with pull-up except:
- * PC13 - Normal input (GPIOC_BUTTON).
- */
-#define VAL_GPIOCCRL 0x88888888 /* PC7...PC0 */
-#define VAL_GPIOCCRH 0x88488888 /* PC15...PC8 */
-#define VAL_GPIOCODR 0xFFFFFFFF
-
-/*
- * Port D setup.
- * Everything input with pull-up except:
- * PD0 - Normal input (GPIOD_OSC_IN).
- * PD1 - Normal input (GPIOD_OSC_OUT).
- */
-#define VAL_GPIODCRL 0x88888844 /* PD7...PD0 */
-#define VAL_GPIODCRH 0x88888888 /* PD15...PD8 */
-#define VAL_GPIODODR 0xFFFFFFFF
-
-/*
- * Port E setup.
- * Everything input with pull-up except:
- */
-#define VAL_GPIOECRL 0x88888888 /* PE7...PE0 */
-#define VAL_GPIOECRH 0x88888888 /* PE15...PE8 */
-#define VAL_GPIOEODR 0xFFFFFFFF
-
-/*
- * USB bus activation macro, required by the USB driver.
- */
-#define usb_lld_connect_bus(usbp)
-
-/*
- * USB bus de-activation macro, required by the USB driver.
- */
-#define usb_lld_disconnect_bus(usbp)
-
-#if !defined(_FROM_ASM_)
-#ifdef __cplusplus
-extern "C" {
-#endif
- void boardInit(void);
-#ifdef __cplusplus
-}
-#endif
-#endif /* _FROM_ASM_ */
-
-#endif /* _BOARD_H_ */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef _BOARD_H_
+#define _BOARD_H_
+
+/*
+ * Setup for the ST INEMO-M1 Discovery board.
+ */
+
+/*
+ * Board identifier.
+ */
+#define BOARD_ST_NUCLEO64_F103RB
+#define BOARD_NAME "STMicroelectronics NUCLEO-F103RB"
+
+/*
+ * Board frequencies.
+ */
+#define STM32_LSECLK 0
+
+#if defined(NUCLEO_EXTERNAL_OSCILLATOR)
+#define STM32_HSECLK 8000000
+#define STM32_HSE_BYPASS
+
+#elif defined(NUCLEO_HSE_CRYSTAL)
+#define STM32_HSECLK 8000000
+
+#else
+#define STM32_HSECLK 0
+#endif
+
+/*
+ * MCU type, supported types are defined in ./os/hal/platforms/hal_lld.h.
+ */
+#define STM32F103xB
+
+/*
+ * IO pins assignments.
+ */
+#define GPIOA_ARD_A0 0U
+#define GPIOA_ADC1_IN0 0U
+#define GPIOA_ARD_A1 1U
+#define GPIOA_ADC1_IN1 1U
+#define GPIOA_ARD_D1 2U
+#define GPIOA_USART2_TX 2U
+#define GPIOA_ARD_D0 3U
+#define GPIOA_USART2_RX 3U
+#define GPIOA_ARD_A2 4U
+#define GPIOA_ADC1_IN4 4U
+#define GPIOA_LED_GREEN 5U
+#define GPIOA_ARD_D13 5U
+#define GPIOA_ARD_D12 6U
+#define GPIOA_ARD_D11 7U
+#define GPIOA_ARD_D7 8U
+#define GPIOA_ARD_D8 9U
+#define GPIOA_ARD_D2 10U
+#define GPIOA_PIN11 11U
+#define GPIOA_PIN12 12U
+#define GPIOA_SWDIO 13U
+#define GPIOA_SWCLK 14U
+#define GPIOA_PIN15 15U
+
+#define GPIOB_ARD_A3 0U
+#define GPIOB_ADC1_IN8 0U
+#define GPIOB_PIN1 1U
+#define GPIOB_PIN2 2U
+#define GPIOB_SWO 3U
+#define GPIOB_ARD_D3 3U
+#define GPIOB_ARD_D5 4U
+#define GPIOB_ARD_D4 5U
+#define GPIOB_ARD_D10 6U
+#define GPIOB_PIN7 7U
+#define GPIOB_ARD_D15 8U
+#define GPIOB_ARD_D14 9U
+#define GPIOB_ARD_D6 10U
+#define GPIOB_PIN11 11U
+#define GPIOB_PIN12 12U
+#define GPIOB_PIN13 13U
+#define GPIOB_PIN14 14U
+#define GPIOB_PIN15 15U
+
+#define GPIOC_ARD_A5 0U
+#define GPIOC_ADC1_IN11 0U
+#define GPIOC_ARD_A4 1U
+#define GPIOC_ADC1_IN10 1U
+#define GPIOC_PIN2 2U
+#define GPIOC_PIN3 3U
+#define GPIOC_PIN4 4U
+#define GPIOC_PIN5 5U
+#define GPIOC_PIN6 6U
+#define GPIOC_ARD_D9 7U
+#define GPIOC_PIN8 8U
+#define GPIOC_PIN9 9U
+#define GPIOC_PIN10 10U
+#define GPIOC_PIN11 11U
+#define GPIOC_PIN12 12U
+#define GPIOC_BUTTON 13U
+#define GPIOC_PIN14 14U
+#define GPIOC_PIN15 15U
+
+#define GPIOD_OSC_IN 0U
+#define GPIOD_PIN0 0U
+#define GPIOD_OSC_OUT 1U
+#define GPIOD_PIN1 1U
+#define GPIOD_PIN2 2U
+#define GPIOD_PIN3 3U
+#define GPIOD_PIN4 4U
+#define GPIOD_PIN5 5U
+#define GPIOD_PIN6 6U
+#define GPIOD_PIN7 7U
+#define GPIOD_PIN8 8U
+#define GPIOD_PIN9 9U
+#define GPIOD_PIN10 10U
+#define GPIOD_PIN11 11U
+#define GPIOD_PIN12 12U
+#define GPIOD_PIN13 13U
+#define GPIOD_PIN14 14U
+#define GPIOD_PIN15 15U
+
+#define GPIOE_PIN0 0U
+#define GPIOE_PIN1 1U
+#define GPIOE_PIN2 2U
+#define GPIOE_PIN3 3U
+#define GPIOE_PIN4 4U
+#define GPIOE_PIN5 5U
+#define GPIOE_PIN6 6U
+#define GPIOE_PIN7 7U
+#define GPIOE_PIN8 8U
+#define GPIOE_PIN9 9U
+#define GPIOE_PIN10 10U
+#define GPIOE_PIN11 11U
+#define GPIOE_PIN12 12U
+#define GPIOE_PIN13 13U
+#define GPIOE_PIN14 14U
+#define GPIOE_PIN15 15U
+
+#define GPIOF_PIN0 0U
+#define GPIOF_PIN1 1U
+#define GPIOF_PIN2 2U
+#define GPIOF_PIN3 3U
+#define GPIOF_PIN4 4U
+#define GPIOF_PIN5 5U
+#define GPIOF_PIN6 6U
+#define GPIOF_PIN7 7U
+#define GPIOF_PIN8 8U
+#define GPIOF_PIN9 9U
+#define GPIOF_PIN10 10U
+#define GPIOF_PIN11 11U
+#define GPIOF_PIN12 12U
+#define GPIOF_PIN13 13U
+#define GPIOF_PIN14 14U
+#define GPIOF_PIN15 15U
+/*
+ * I/O ports initial setup, this configuration is established soon after reset
+ * in the initialization code.
+ *
+ * The digits have the following meaning:
+ * 0 - Analog input.
+ * 1 - Push Pull output 10MHz.
+ * 2 - Push Pull output 2MHz.
+ * 3 - Push Pull output 50MHz.
+ * 4 - Digital input.
+ * 5 - Open Drain output 10MHz.
+ * 6 - Open Drain output 2MHz.
+ * 7 - Open Drain output 50MHz.
+ * 8 - Digital input with PullUp or PullDown resistor depending on ODR.
+ * 9 - Alternate Push Pull output 10MHz.
+ * A - Alternate Push Pull output 2MHz.
+ * B - Alternate Push Pull output 50MHz.
+ * C - Reserved.
+ * D - Alternate Open Drain output 10MHz.
+ * E - Alternate Open Drain output 2MHz.
+ * F - Alternate Open Drain output 50MHz.
+ * Please refer to the STM32 Reference Manual for details.
+ */
+
+/*
+ * Port A setup.
+ * Everything input with pull-up except:
+ * PA2 - Alternate output (GPIOA_ARD_D1, GPIOA_USART2_TX).
+ * PA3 - Normal input (GPIOA_ARD_D0, GPIOA_USART2_RX).
+ * PA5 - Push Pull output (GPIOA_LED_GREEN).
+ * PA13 - Pull-up input (GPIOA_SWDIO).
+ * PA14 - Pull-down input (GPIOA_SWCLK).
+ */
+#define VAL_GPIOACRL 0x88384B88 /* PA7...PA0 */
+#define VAL_GPIOACRH 0x88888888 /* PA15...PA8 */
+#define VAL_GPIOAODR 0xFFFFBFDF
+
+/*
+ * Port B setup.
+ * Everything input with pull-up except:
+ * PB3 - Pull-up input (GPIOA_SWO).
+ */
+#define VAL_GPIOBCRL 0x88888888 /* PB7...PB0 */
+#define VAL_GPIOBCRH 0x88888888 /* PB15...PB8 */
+#define VAL_GPIOBODR 0xFFFFFFFF
+
+/*
+ * Port C setup.
+ * Everything input with pull-up except:
+ * PC13 - Normal input (GPIOC_BUTTON).
+ */
+#define VAL_GPIOCCRL 0x88888888 /* PC7...PC0 */
+#define VAL_GPIOCCRH 0x88488888 /* PC15...PC8 */
+#define VAL_GPIOCODR 0xFFFFFFFF
+
+/*
+ * Port D setup.
+ * Everything input with pull-up except:
+ * PD0 - Normal input (GPIOD_OSC_IN).
+ * PD1 - Normal input (GPIOD_OSC_OUT).
+ */
+#define VAL_GPIODCRL 0x88888844 /* PD7...PD0 */
+#define VAL_GPIODCRH 0x88888888 /* PD15...PD8 */
+#define VAL_GPIODODR 0xFFFFFFFF
+
+/*
+ * Port E setup.
+ * Everything input with pull-up except:
+ */
+#define VAL_GPIOECRL 0x88888888 /* PE7...PE0 */
+#define VAL_GPIOECRH 0x88888888 /* PE15...PE8 */
+#define VAL_GPIOEODR 0xFFFFFFFF
+
+/*
+ * USB bus activation macro, required by the USB driver.
+ */
+#define usb_lld_connect_bus(usbp)
+
+/*
+ * USB bus de-activation macro, required by the USB driver.
+ */
+#define usb_lld_disconnect_bus(usbp)
+
+#if !defined(_FROM_ASM_)
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void boardInit(void);
+#ifdef __cplusplus
+}
+#endif
+#endif /* _FROM_ASM_ */
+
+#endif /* _BOARD_H_ */
diff --git a/os/hal/boards/ST_NUCLEO64_F302R8/board.c b/os/hal/boards/ST_NUCLEO64_F302R8/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_F302R8/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F302R8/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F302R8/board.h b/os/hal/boards/ST_NUCLEO64_F302R8/board.h
index ceab90a72..e545d41f6 100644
--- a/os/hal/boards/ST_NUCLEO64_F302R8/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F302R8/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F303RE/board.c b/os/hal/boards/ST_NUCLEO64_F303RE/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_F303RE/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F303RE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F303RE/board.h b/os/hal/boards/ST_NUCLEO64_F303RE/board.h
index 41c37bbbf..22745f5e7 100644
--- a/os/hal/boards/ST_NUCLEO64_F303RE/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F303RE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F334R8/board.c b/os/hal/boards/ST_NUCLEO64_F334R8/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_F334R8/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F334R8/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F334R8/board.h b/os/hal/boards/ST_NUCLEO64_F334R8/board.h
index 1cb072663..58f8c7a52 100644
--- a/os/hal/boards/ST_NUCLEO64_F334R8/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F334R8/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F401RE/board.c b/os/hal/boards/ST_NUCLEO64_F401RE/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO64_F401RE/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F401RE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F401RE/board.h b/os/hal/boards/ST_NUCLEO64_F401RE/board.h
index b82bc5ad6..20f4e2f18 100644
--- a/os/hal/boards/ST_NUCLEO64_F401RE/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F401RE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F410RB/board.c b/os/hal/boards/ST_NUCLEO64_F410RB/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO64_F410RB/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F410RB/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F410RB/board.h b/os/hal/boards/ST_NUCLEO64_F410RB/board.h
index 22ad88b01..b012f56c2 100644
--- a/os/hal/boards/ST_NUCLEO64_F410RB/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F410RB/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F411RE/board.c b/os/hal/boards/ST_NUCLEO64_F411RE/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO64_F411RE/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F411RE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F411RE/board.h b/os/hal/boards/ST_NUCLEO64_F411RE/board.h
index efe1718a1..676ad2a77 100644
--- a/os/hal/boards/ST_NUCLEO64_F411RE/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F411RE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F446RE/board.c b/os/hal/boards/ST_NUCLEO64_F446RE/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_NUCLEO64_F446RE/board.c
+++ b/os/hal/boards/ST_NUCLEO64_F446RE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_F446RE/board.h b/os/hal/boards/ST_NUCLEO64_F446RE/board.h
index c4fab47f7..cd5912c39 100644
--- a/os/hal/boards/ST_NUCLEO64_F446RE/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F446RE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L053R8/board.c b/os/hal/boards/ST_NUCLEO64_L053R8/board.c
index 15c4d29a8..bf7a62b39 100644
--- a/os/hal/boards/ST_NUCLEO64_L053R8/board.c
+++ b/os/hal/boards/ST_NUCLEO64_L053R8/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L053R8/board.h b/os/hal/boards/ST_NUCLEO64_L053R8/board.h
index cd7b46eb0..dc3fe1540 100644
--- a/os/hal/boards/ST_NUCLEO64_L053R8/board.h
+++ b/os/hal/boards/ST_NUCLEO64_L053R8/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L073RZ/board.c b/os/hal/boards/ST_NUCLEO64_L073RZ/board.c
index 15c4d29a8..bf7a62b39 100644
--- a/os/hal/boards/ST_NUCLEO64_L073RZ/board.c
+++ b/os/hal/boards/ST_NUCLEO64_L073RZ/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L073RZ/board.h b/os/hal/boards/ST_NUCLEO64_L073RZ/board.h
index 4f16130f3..668e7277d 100644
--- a/os/hal/boards/ST_NUCLEO64_L073RZ/board.h
+++ b/os/hal/boards/ST_NUCLEO64_L073RZ/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L152RE/board.c b/os/hal/boards/ST_NUCLEO64_L152RE/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_NUCLEO64_L152RE/board.c
+++ b/os/hal/boards/ST_NUCLEO64_L152RE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L152RE/board.h b/os/hal/boards/ST_NUCLEO64_L152RE/board.h
index 4cee77340..2f598a25f 100644
--- a/os/hal/boards/ST_NUCLEO64_L152RE/board.h
+++ b/os/hal/boards/ST_NUCLEO64_L152RE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L476RG/board.c b/os/hal/boards/ST_NUCLEO64_L476RG/board.c
index 177ec13c8..c5776a150 100644
--- a/os/hal/boards/ST_NUCLEO64_L476RG/board.c
+++ b/os/hal/boards/ST_NUCLEO64_L476RG/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_NUCLEO64_L476RG/board.h b/os/hal/boards/ST_NUCLEO64_L476RG/board.h
index 632e3bff4..ff42cd1da 100644
--- a/os/hal/boards/ST_NUCLEO64_L476RG/board.h
+++ b/os/hal/boards/ST_NUCLEO64_L476RG/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM3210C_EVAL/board.c b/os/hal/boards/ST_STM3210C_EVAL/board.c
index e04f7e056..4a073c40d 100644
--- a/os/hal/boards/ST_STM3210C_EVAL/board.c
+++ b/os/hal/boards/ST_STM3210C_EVAL/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM3210C_EVAL/board.h b/os/hal/boards/ST_STM3210C_EVAL/board.h
index 0c7f6aad2..8f0b34f45 100644
--- a/os/hal/boards/ST_STM3210C_EVAL/board.h
+++ b/os/hal/boards/ST_STM3210C_EVAL/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM3210E_EVAL/board.c b/os/hal/boards/ST_STM3210E_EVAL/board.c
index 6362d8709..bf01cf176 100644
--- a/os/hal/boards/ST_STM3210E_EVAL/board.c
+++ b/os/hal/boards/ST_STM3210E_EVAL/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM3210E_EVAL/board.h b/os/hal/boards/ST_STM3210E_EVAL/board.h
index a95abf008..67004d456 100644
--- a/os/hal/boards/ST_STM3210E_EVAL/board.h
+++ b/os/hal/boards/ST_STM3210E_EVAL/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM3220G_EVAL/board.c b/os/hal/boards/ST_STM3220G_EVAL/board.c
index 3df8177c8..494711db0 100644
--- a/os/hal/boards/ST_STM3220G_EVAL/board.c
+++ b/os/hal/boards/ST_STM3220G_EVAL/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM3220G_EVAL/board.h b/os/hal/boards/ST_STM3220G_EVAL/board.h
index 9eb84908c..9b7628fde 100644
--- a/os/hal/boards/ST_STM3220G_EVAL/board.h
+++ b/os/hal/boards/ST_STM3220G_EVAL/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32373C_EVAL/board.c b/os/hal/boards/ST_STM32373C_EVAL/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_STM32373C_EVAL/board.c
+++ b/os/hal/boards/ST_STM32373C_EVAL/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32373C_EVAL/board.h b/os/hal/boards/ST_STM32373C_EVAL/board.h
index 036e2ad9b..6290d9307 100644
--- a/os/hal/boards/ST_STM32373C_EVAL/board.h
+++ b/os/hal/boards/ST_STM32373C_EVAL/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h
index 96df81c25..f4996d344 100644
--- a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F0_DISCOVERY/board.c b/os/hal/boards/ST_STM32F0_DISCOVERY/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_STM32F0_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F0_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F0_DISCOVERY/board.h b/os/hal/boards/ST_STM32F0_DISCOVERY/board.h
index 50168f09d..0ec61ffcc 100644
--- a/os/hal/boards/ST_STM32F0_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F0_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F2_DISCOVERY/board.c b/os/hal/boards/ST_STM32F2_DISCOVERY/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_STM32F2_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F2_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F2_DISCOVERY/board.h b/os/hal/boards/ST_STM32F2_DISCOVERY/board.h
index 07077f1f1..e66bde175 100644
--- a/os/hal/boards/ST_STM32F2_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F2_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F334_DISCOVERY/board.c b/os/hal/boards/ST_STM32F334_DISCOVERY/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_STM32F334_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F334_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F334_DISCOVERY/board.h b/os/hal/boards/ST_STM32F334_DISCOVERY/board.h
index 99eb86a27..ad9a8615d 100644
--- a/os/hal/boards/ST_STM32F334_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F334_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F3_DISCOVERY/board.c b/os/hal/boards/ST_STM32F3_DISCOVERY/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_STM32F3_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F3_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F3_DISCOVERY/board.h b/os/hal/boards/ST_STM32F3_DISCOVERY/board.h
index 9c21c295d..fa58d2017 100644
--- a/os/hal/boards/ST_STM32F3_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F3_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.c b/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.c
+++ b/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.h b/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.h
index cdf190113..c908f2190 100644
--- a/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.h
+++ b/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F401C_DISCOVERY/board.c b/os/hal/boards/ST_STM32F401C_DISCOVERY/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_STM32F401C_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F401C_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F401C_DISCOVERY/board.h b/os/hal/boards/ST_STM32F401C_DISCOVERY/board.h
index 90d6e9565..374713f24 100644
--- a/os/hal/boards/ST_STM32F401C_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F401C_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F429I_DISCOVERY/board.c b/os/hal/boards/ST_STM32F429I_DISCOVERY/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_STM32F429I_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F429I_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F429I_DISCOVERY/board.h b/os/hal/boards/ST_STM32F429I_DISCOVERY/board.h
index 80e245386..c27026ce4 100644
--- a/os/hal/boards/ST_STM32F429I_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F429I_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F469I_DISCOVERY/board.c b/os/hal/boards/ST_STM32F469I_DISCOVERY/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_STM32F469I_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F469I_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F469I_DISCOVERY/board.h b/os/hal/boards/ST_STM32F469I_DISCOVERY/board.h
index d115bea98..87d75342c 100644
--- a/os/hal/boards/ST_STM32F469I_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F469I_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F4_DISCOVERY/board.c b/os/hal/boards/ST_STM32F4_DISCOVERY/board.c
index 5ee0873d7..428857763 100644
--- a/os/hal/boards/ST_STM32F4_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F4_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F4_DISCOVERY/board.h b/os/hal/boards/ST_STM32F4_DISCOVERY/board.h
index f0373cc12..8836d1ec6 100644
--- a/os/hal/boards/ST_STM32F4_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F4_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c
index 0fa02614d..5048086ae 100644
--- a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -218,9 +218,9 @@ void __early_init(void) {
* @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
-
- (void)sdcp;
-
+
+ (void)sdcp;
+
return !palReadPad(GPIOC, GPIOC_SD_DETECT);
}
diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h
index b9c9388b8..f59339e86 100644
--- a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c
index b3924f0c0..94ec0b449 100644
--- a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -218,9 +218,9 @@ void __early_init(void) {
* @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
-
- (void)sdcp;
-
+
+ (void)sdcp;
+
return !palReadLine(LINE_SD_DETECT);
}
diff --git a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.h b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.h
index d3c2dd1b4..a919ad35c 100644
--- a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32L053_DISCOVERY/board.c b/os/hal/boards/ST_STM32L053_DISCOVERY/board.c
index 15c4d29a8..bf7a62b39 100644
--- a/os/hal/boards/ST_STM32L053_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32L053_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32L053_DISCOVERY/board.h b/os/hal/boards/ST_STM32L053_DISCOVERY/board.h
index afee11a0e..86ae94cd7 100644
--- a/os/hal/boards/ST_STM32L053_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32L053_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32L476_DISCOVERY/board.c b/os/hal/boards/ST_STM32L476_DISCOVERY/board.c
index 177ec13c8..c5776a150 100644
--- a/os/hal/boards/ST_STM32L476_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32L476_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32L476_DISCOVERY/board.h b/os/hal/boards/ST_STM32L476_DISCOVERY/board.h
index 677d84d53..dec038aa7 100644
--- a/os/hal/boards/ST_STM32L476_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32L476_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32L_DISCOVERY/board.c b/os/hal/boards/ST_STM32L_DISCOVERY/board.c
index 3c291169d..da54370c1 100644
--- a/os/hal/boards/ST_STM32L_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32L_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32L_DISCOVERY/board.h b/os/hal/boards/ST_STM32L_DISCOVERY/board.h
index 648f593d3..9c7383c41 100644
--- a/os/hal/boards/ST_STM32L_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32L_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32VL_DISCOVERY/board.c b/os/hal/boards/ST_STM32VL_DISCOVERY/board.c
index 751a4ba89..ac929a476 100644
--- a/os/hal/boards/ST_STM32VL_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32VL_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM32VL_DISCOVERY/board.h b/os/hal/boards/ST_STM32VL_DISCOVERY/board.h
index ef842c9e4..5c5b680a8 100644
--- a/os/hal/boards/ST_STM32VL_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32VL_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM8L_DISCOVERY/board.c b/os/hal/boards/ST_STM8L_DISCOVERY/board.c
index 38c05f1c1..d84ec5eea 100644
--- a/os/hal/boards/ST_STM8L_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM8L_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM8L_DISCOVERY/board.h b/os/hal/boards/ST_STM8L_DISCOVERY/board.h
index ca4682644..edf1d74e2 100644
--- a/os/hal/boards/ST_STM8L_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM8L_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM8S_DISCOVERY/board.c b/os/hal/boards/ST_STM8S_DISCOVERY/board.c
index 768ec24c9..ecad295e5 100644
--- a/os/hal/boards/ST_STM8S_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM8S_DISCOVERY/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/ST_STM8S_DISCOVERY/board.h b/os/hal/boards/ST_STM8S_DISCOVERY/board.h
index c3e8e84d0..4fffd3d63 100644
--- a/os/hal/boards/ST_STM8S_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM8S_DISCOVERY/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/simulator/board.c b/os/hal/boards/simulator/board.c
index 65e25f77e..358860778 100644
--- a/os/hal/boards/simulator/board.c
+++ b/os/hal/boards/simulator/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/boards/simulator/board.h b/os/hal/boards/simulator/board.h
index ec6ed8b66..c9049441b 100644
--- a/os/hal/boards/simulator/board.h
+++ b/os/hal/boards/simulator/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/accelerometer.dox b/os/hal/dox/accelerometer.dox
index 77d98953b..e93a64c3b 100644
--- a/os/hal/dox/accelerometer.dox
+++ b/os/hal/dox/accelerometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/adc.dox b/os/hal/dox/adc.dox
index 8a21a5b86..c80a0b495 100644
--- a/os/hal/dox/adc.dox
+++ b/os/hal/dox/adc.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/barometer.dox b/os/hal/dox/barometer.dox
index 173d1241a..4a472fa11 100644
--- a/os/hal/dox/barometer.dox
+++ b/os/hal/dox/barometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/can.dox b/os/hal/dox/can.dox
index b893bc191..5dd8104b0 100644
--- a/os/hal/dox/can.dox
+++ b/os/hal/dox/can.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/compass.dox b/os/hal/dox/compass.dox
index ed8b566e1..4f16af784 100644
--- a/os/hal/dox/compass.dox
+++ b/os/hal/dox/compass.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/dac.dox b/os/hal/dox/dac.dox
index d3f4f3683..c81f3a0bd 100644
--- a/os/hal/dox/dac.dox
+++ b/os/hal/dox/dac.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/ext.dox b/os/hal/dox/ext.dox
index a8362bada..1eed75e5b 100644
--- a/os/hal/dox/ext.dox
+++ b/os/hal/dox/ext.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/flash.dox b/os/hal/dox/flash.dox
index d9364587b..8cfb5c3d7 100644
--- a/os/hal/dox/flash.dox
+++ b/os/hal/dox/flash.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/gpt.dox b/os/hal/dox/gpt.dox
index f50638dca..d75dab2b8 100644
--- a/os/hal/dox/gpt.dox
+++ b/os/hal/dox/gpt.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/gyro.dox b/os/hal/dox/gyro.dox
index 04c521709..66f3c6fa8 100644
--- a/os/hal/dox/gyro.dox
+++ b/os/hal/dox/gyro.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal.dox b/os/hal/dox/hal.dox
index 7c9ac27b4..5c1ac3d9d 100644
--- a/os/hal/dox/hal.dox
+++ b/os/hal/dox/hal.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal_buffers.dox b/os/hal/dox/hal_buffers.dox
index 6d865f471..c5da7147a 100644
--- a/os/hal/dox/hal_buffers.dox
+++ b/os/hal/dox/hal_buffers.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal_channels.dox b/os/hal/dox/hal_channels.dox
index 389801bab..9b9503def 100644
--- a/os/hal/dox/hal_channels.dox
+++ b/os/hal/dox/hal_channels.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal_files.dox b/os/hal/dox/hal_files.dox
index 5e36e33ee..b71136163 100644
--- a/os/hal/dox/hal_files.dox
+++ b/os/hal/dox/hal_files.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal_ioblock.dox b/os/hal/dox/hal_ioblock.dox
index 2cff3e0e1..2a20e9148 100644
--- a/os/hal/dox/hal_ioblock.dox
+++ b/os/hal/dox/hal_ioblock.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal_peripherals.dox b/os/hal/dox/hal_peripherals.dox
index 732372689..ac46d74b9 100644
--- a/os/hal/dox/hal_peripherals.dox
+++ b/os/hal/dox/hal_peripherals.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal_queues.dox b/os/hal/dox/hal_queues.dox
index 2baa0ef1a..60ce9746b 100644
--- a/os/hal/dox/hal_queues.dox
+++ b/os/hal/dox/hal_queues.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hal_streams.dox b/os/hal/dox/hal_streams.dox
index 2c453bef5..c21bbbf11 100644
--- a/os/hal/dox/hal_streams.dox
+++ b/os/hal/dox/hal_streams.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/hygrometer.dox b/os/hal/dox/hygrometer.dox
index f60031900..b8eeb66de 100644
--- a/os/hal/dox/hygrometer.dox
+++ b/os/hal/dox/hygrometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/i2c.dox b/os/hal/dox/i2c.dox
index 4d1f0546e..c5a39f341 100644
--- a/os/hal/dox/i2c.dox
+++ b/os/hal/dox/i2c.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/i2s.dox b/os/hal/dox/i2s.dox
index 01c3c8b46..629b5e95b 100644
--- a/os/hal/dox/i2s.dox
+++ b/os/hal/dox/i2s.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/icu.dox b/os/hal/dox/icu.dox
index b9353967c..710c388ae 100644
--- a/os/hal/dox/icu.dox
+++ b/os/hal/dox/icu.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/jesd216flash.dox b/os/hal/dox/jesd216flash.dox
index e979d6f0c..3e061c742 100644
--- a/os/hal/dox/jesd216flash.dox
+++ b/os/hal/dox/jesd216flash.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/mac.dox b/os/hal/dox/mac.dox
index 9a23b67c0..c5e9c643b 100644
--- a/os/hal/dox/mac.dox
+++ b/os/hal/dox/mac.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/main.dox b/os/hal/dox/main.dox
index 87951b47d..4a34791ba 100644
--- a/os/hal/dox/main.dox
+++ b/os/hal/dox/main.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/mii.dox b/os/hal/dox/mii.dox
index e6944432e..cfd7a1ec6 100644
--- a/os/hal/dox/mii.dox
+++ b/os/hal/dox/mii.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/mmc_spi.dox b/os/hal/dox/mmc_spi.dox
index 9897b8ad1..1dc4b27b8 100644
--- a/os/hal/dox/mmc_spi.dox
+++ b/os/hal/dox/mmc_spi.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/mmcsd.dox b/os/hal/dox/mmcsd.dox
index 31d8616c7..3b8017cb4 100644
--- a/os/hal/dox/mmcsd.dox
+++ b/os/hal/dox/mmcsd.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/norflash.dox b/os/hal/dox/norflash.dox
index 01b519fff..1cc4a758a 100644
--- a/os/hal/dox/norflash.dox
+++ b/os/hal/dox/norflash.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/pal.dox b/os/hal/dox/pal.dox
index 4f61c872d..d37fd091d 100644
--- a/os/hal/dox/pal.dox
+++ b/os/hal/dox/pal.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/pwm.dox b/os/hal/dox/pwm.dox
index 7e9e31c73..39e0128b1 100644
--- a/os/hal/dox/pwm.dox
+++ b/os/hal/dox/pwm.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/qspi.dox b/os/hal/dox/qspi.dox
index c24e96754..486d6a1b5 100755
--- a/os/hal/dox/qspi.dox
+++ b/os/hal/dox/qspi.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/rtc.dox b/os/hal/dox/rtc.dox
index 53acd0938..0923e61e7 100644
--- a/os/hal/dox/rtc.dox
+++ b/os/hal/dox/rtc.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/sdc.dox b/os/hal/dox/sdc.dox
index d894a5d32..1a2600659 100644
--- a/os/hal/dox/sdc.dox
+++ b/os/hal/dox/sdc.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/sensor.dox b/os/hal/dox/sensor.dox
index ae15ab7f8..036f7f7ac 100644
--- a/os/hal/dox/sensor.dox
+++ b/os/hal/dox/sensor.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/serial.dox b/os/hal/dox/serial.dox
index 075040f41..9acb0bccb 100644
--- a/os/hal/dox/serial.dox
+++ b/os/hal/dox/serial.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/serial_usb.dox b/os/hal/dox/serial_usb.dox
index f6101929f..028d8bbd0 100644
--- a/os/hal/dox/serial_usb.dox
+++ b/os/hal/dox/serial_usb.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/spi.dox b/os/hal/dox/spi.dox
index df29555d9..4307bacd9 100644
--- a/os/hal/dox/spi.dox
+++ b/os/hal/dox/spi.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/st.dox b/os/hal/dox/st.dox
index 5e2e8f68b..c6a8a6471 100644
--- a/os/hal/dox/st.dox
+++ b/os/hal/dox/st.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/thermometer.dox b/os/hal/dox/thermometer.dox
index d02063600..70cf0bb7b 100644
--- a/os/hal/dox/thermometer.dox
+++ b/os/hal/dox/thermometer.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/uart.dox b/os/hal/dox/uart.dox
index c80bf2e88..8af312787 100644
--- a/os/hal/dox/uart.dox
+++ b/os/hal/dox/uart.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/usb.dox b/os/hal/dox/usb.dox
index 451098388..82de6ccfc 100644
--- a/os/hal/dox/usb.dox
+++ b/os/hal/dox/usb.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/usb_cdc.dox b/os/hal/dox/usb_cdc.dox
index 2cd55289d..c480c95a8 100644
--- a/os/hal/dox/usb_cdc.dox
+++ b/os/hal/dox/usb_cdc.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/dox/wdg.dox b/os/hal/dox/wdg.dox
index 74ac0c3dc..75293203c 100644
--- a/os/hal/dox/wdg.dox
+++ b/os/hal/dox/wdg.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal.h b/os/hal/include/hal.h
index 7b0fe8337..337f85f6f 100644
--- a/os/hal/include/hal.h
+++ b/os/hal/include/hal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_adc.h b/os/hal/include/hal_adc.h
index bdef634c2..c08c77f5a 100644
--- a/os/hal/include/hal_adc.h
+++ b/os/hal/include/hal_adc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h
index 4b41e7313..2a9c6623a 100644
--- a/os/hal/include/hal_buffers.h
+++ b/os/hal/include/hal_buffers.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_can.h b/os/hal/include/hal_can.h
index 9a698868d..d32e91e93 100644
--- a/os/hal/include/hal_can.h
+++ b/os/hal/include/hal_can.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_channels.h b/os/hal/include/hal_channels.h
index 15ccd4b80..688f7d4d9 100644
--- a/os/hal/include/hal_channels.h
+++ b/os/hal/include/hal_channels.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_crypto.h b/os/hal/include/hal_crypto.h
index df2167b02..01ce3c33f 100644
--- a/os/hal/include/hal_crypto.h
+++ b/os/hal/include/hal_crypto.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_dac.h b/os/hal/include/hal_dac.h
index 04f005a1f..24eda81e1 100644
--- a/os/hal/include/hal_dac.h
+++ b/os/hal/include/hal_dac.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_ext.h b/os/hal/include/hal_ext.h
index 2d92a4d68..2c0b0d062 100644
--- a/os/hal/include/hal_ext.h
+++ b/os/hal/include/hal_ext.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_files.h b/os/hal/include/hal_files.h
index 344023070..c6b5608a3 100644
--- a/os/hal/include/hal_files.h
+++ b/os/hal/include/hal_files.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_gpt.h b/os/hal/include/hal_gpt.h
index 3af462121..91bd4484a 100644
--- a/os/hal/include/hal_gpt.h
+++ b/os/hal/include/hal_gpt.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_i2c.h b/os/hal/include/hal_i2c.h
index 379c56308..0d865a033 100644
--- a/os/hal/include/hal_i2c.h
+++ b/os/hal/include/hal_i2c.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_i2s.h b/os/hal/include/hal_i2s.h
index d66f6ce66..a7ec3b352 100644
--- a/os/hal/include/hal_i2s.h
+++ b/os/hal/include/hal_i2s.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_icu.h b/os/hal/include/hal_icu.h
index 1e7882644..8408b4a1d 100644
--- a/os/hal/include/hal_icu.h
+++ b/os/hal/include/hal_icu.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_ioblock.h b/os/hal/include/hal_ioblock.h
index 06f3665b5..74c41034f 100644
--- a/os/hal/include/hal_ioblock.h
+++ b/os/hal/include/hal_ioblock.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_mac.h b/os/hal/include/hal_mac.h
index 0ca5e5fcd..5e6777e9d 100644
--- a/os/hal/include/hal_mac.h
+++ b/os/hal/include/hal_mac.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_mii.h b/os/hal/include/hal_mii.h
index 2e2c67454..80cbfd2af 100644
--- a/os/hal/include/hal_mii.h
+++ b/os/hal/include/hal_mii.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_mmc_spi.h b/os/hal/include/hal_mmc_spi.h
index 7a9c50a90..fa9d137f8 100644
--- a/os/hal/include/hal_mmc_spi.h
+++ b/os/hal/include/hal_mmc_spi.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_mmcsd.h b/os/hal/include/hal_mmcsd.h
index f69a7a1e4..b1b75536e 100644
--- a/os/hal/include/hal_mmcsd.h
+++ b/os/hal/include/hal_mmcsd.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index ba2a6ea43..91774189c 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_pwm.h b/os/hal/include/hal_pwm.h
index 6d69cdbc7..ee2d19158 100644
--- a/os/hal/include/hal_pwm.h
+++ b/os/hal/include/hal_pwm.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_qspi.h b/os/hal/include/hal_qspi.h
index c5f0f1c22..0fe8c223f 100644
--- a/os/hal/include/hal_qspi.h
+++ b/os/hal/include/hal_qspi.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h
index 65491ddf8..1ebefe1a3 100644
--- a/os/hal/include/hal_queues.h
+++ b/os/hal/include/hal_queues.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_rtc.h b/os/hal/include/hal_rtc.h
index f269c9706..63a916b22 100644
--- a/os/hal/include/hal_rtc.h
+++ b/os/hal/include/hal_rtc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_sdc.h b/os/hal/include/hal_sdc.h
index 307636558..0273a5a43 100644
--- a/os/hal/include/hal_sdc.h
+++ b/os/hal/include/hal_sdc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_serial.h b/os/hal/include/hal_serial.h
index 2276a49c8..d4309c2de 100644
--- a/os/hal/include/hal_serial.h
+++ b/os/hal/include/hal_serial.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_serial_usb.h b/os/hal/include/hal_serial_usb.h
index be3579e94..0e32429d3 100644
--- a/os/hal/include/hal_serial_usb.h
+++ b/os/hal/include/hal_serial_usb.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_spi.h b/os/hal/include/hal_spi.h
index fafc3ce2a..6390f677a 100644
--- a/os/hal/include/hal_spi.h
+++ b/os/hal/include/hal_spi.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_st.h b/os/hal/include/hal_st.h
index e2c03cc2e..1cc0460c2 100644
--- a/os/hal/include/hal_st.h
+++ b/os/hal/include/hal_st.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_streams.h b/os/hal/include/hal_streams.h
index 709429f99..3e414ae04 100644
--- a/os/hal/include/hal_streams.h
+++ b/os/hal/include/hal_streams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_uart.h b/os/hal/include/hal_uart.h
index 01d61df7a..a0683592c 100644
--- a/os/hal/include/hal_uart.h
+++ b/os/hal/include/hal_uart.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_usb.h b/os/hal/include/hal_usb.h
index 9abbc6eb9..9fe67a64b 100644
--- a/os/hal/include/hal_usb.h
+++ b/os/hal/include/hal_usb.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_usb_cdc.h b/os/hal/include/hal_usb_cdc.h
index a52aa537d..4eaf90539 100644
--- a/os/hal/include/hal_usb_cdc.h
+++ b/os/hal/include/hal_usb_cdc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/include/hal_wdg.h b/os/hal/include/hal_wdg.h
index b2c86c146..8513740ba 100644
--- a/os/hal/include/hal_wdg.h
+++ b/os/hal/include/hal_wdg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/fallback/I2C/hal_i2c_lld.c b/os/hal/lib/fallback/I2C/hal_i2c_lld.c
index 72e522b6f..1482d52f5 100644
--- a/os/hal/lib/fallback/I2C/hal_i2c_lld.c
+++ b/os/hal/lib/fallback/I2C/hal_i2c_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/fallback/I2C/hal_i2c_lld.h b/os/hal/lib/fallback/I2C/hal_i2c_lld.h
index 5b63bc6cd..21a7faabf 100644
--- a/os/hal/lib/fallback/I2C/hal_i2c_lld.h
+++ b/os/hal/lib/fallback/I2C/hal_i2c_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/displays/hal_displays.h b/os/hal/lib/peripherals/displays/hal_displays.h
index 78ce1c9f7..f53c56334 100644
--- a/os/hal/lib/peripherals/displays/hal_displays.h
+++ b/os/hal/lib/peripherals/displays/hal_displays.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/flash/hal_flash.c b/os/hal/lib/peripherals/flash/hal_flash.c
index 4ae5211d4..8bf096177 100644
--- a/os/hal/lib/peripherals/flash/hal_flash.c
+++ b/os/hal/lib/peripherals/flash/hal_flash.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/flash/hal_flash.h b/os/hal/lib/peripherals/flash/hal_flash.h
index bfd1974c5..5e5c8c82d 100644
--- a/os/hal/lib/peripherals/flash/hal_flash.h
+++ b/os/hal/lib/peripherals/flash/hal_flash.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/flash/hal_jesd216_flash.c b/os/hal/lib/peripherals/flash/hal_jesd216_flash.c
index c27a1ba02..b26b50740 100644
--- a/os/hal/lib/peripherals/flash/hal_jesd216_flash.c
+++ b/os/hal/lib/peripherals/flash/hal_jesd216_flash.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/flash/hal_jesd216_flash.h b/os/hal/lib/peripherals/flash/hal_jesd216_flash.h
index 371892ec1..4dae29ce8 100644
--- a/os/hal/lib/peripherals/flash/hal_jesd216_flash.h
+++ b/os/hal/lib/peripherals/flash/hal_jesd216_flash.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/sensors/hal_accelerometer.h b/os/hal/lib/peripherals/sensors/hal_accelerometer.h
index 6f2249e91..dbc96484a 100644
--- a/os/hal/lib/peripherals/sensors/hal_accelerometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_accelerometer.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/sensors/hal_barometer.h b/os/hal/lib/peripherals/sensors/hal_barometer.h
index e62b5116e..168922761 100644
--- a/os/hal/lib/peripherals/sensors/hal_barometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_barometer.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/sensors/hal_compass.h b/os/hal/lib/peripherals/sensors/hal_compass.h
index cf30f7318..51b1fe407 100644
--- a/os/hal/lib/peripherals/sensors/hal_compass.h
+++ b/os/hal/lib/peripherals/sensors/hal_compass.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/sensors/hal_gyroscope.h b/os/hal/lib/peripherals/sensors/hal_gyroscope.h
index 2ca19fd1d..bc3e693a3 100644
--- a/os/hal/lib/peripherals/sensors/hal_gyroscope.h
+++ b/os/hal/lib/peripherals/sensors/hal_gyroscope.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/sensors/hal_hygrometer.h b/os/hal/lib/peripherals/sensors/hal_hygrometer.h
index 6080f5951..d6a9c1634 100644
--- a/os/hal/lib/peripherals/sensors/hal_hygrometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_hygrometer.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/sensors/hal_sensors.h b/os/hal/lib/peripherals/sensors/hal_sensors.h
index fc9268224..ad053667a 100644
--- a/os/hal/lib/peripherals/sensors/hal_sensors.h
+++ b/os/hal/lib/peripherals/sensors/hal_sensors.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/peripherals/sensors/hal_thermometer.h b/os/hal/lib/peripherals/sensors/hal_thermometer.h
index d6f62fb60..b02cbfe07 100644
--- a/os/hal/lib/peripherals/sensors/hal_thermometer.h
+++ b/os/hal/lib/peripherals/sensors/hal_thermometer.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/streams/chprintf.c b/os/hal/lib/streams/chprintf.c
index 5875d3e8a..50b1ed75e 100644
--- a/os/hal/lib/streams/chprintf.c
+++ b/os/hal/lib/streams/chprintf.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/streams/chprintf.h b/os/hal/lib/streams/chprintf.h
index a595249a6..19774eaab 100644
--- a/os/hal/lib/streams/chprintf.h
+++ b/os/hal/lib/streams/chprintf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/streams/memstreams.c b/os/hal/lib/streams/memstreams.c
index d949d1674..a4a2fb4a4 100644
--- a/os/hal/lib/streams/memstreams.c
+++ b/os/hal/lib/streams/memstreams.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/streams/memstreams.h b/os/hal/lib/streams/memstreams.h
index dad5ba677..cc10ae8d5 100644
--- a/os/hal/lib/streams/memstreams.h
+++ b/os/hal/lib/streams/memstreams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/streams/nullstreams.c b/os/hal/lib/streams/nullstreams.c
index 1b517e79c..d21ecd990 100644
--- a/os/hal/lib/streams/nullstreams.c
+++ b/os/hal/lib/streams/nullstreams.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/lib/streams/nullstreams.h b/os/hal/lib/streams/nullstreams.h
index f174ee3a6..1d652a97f 100644
--- a/os/hal/lib/streams/nullstreams.h
+++ b/os/hal/lib/streams/nullstreams.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/lib/osal_vt.c b/os/hal/osal/lib/osal_vt.c
index b6f520a8e..7d92d13d5 100644
--- a/os/hal/osal/lib/osal_vt.c
+++ b/os/hal/osal/lib/osal_vt.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/lib/osal_vt.h b/os/hal/osal/lib/osal_vt.h
index 14e54efc8..4926bc56b 100644
--- a/os/hal/osal/lib/osal_vt.h
+++ b/os/hal/osal/lib/osal_vt.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/nil/osal.c b/os/hal/osal/nil/osal.c
index 863be6a75..7f4103bcf 100644
--- a/os/hal/osal/nil/osal.c
+++ b/os/hal/osal/nil/osal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/nil/osal.h b/os/hal/osal/nil/osal.h
index 6a69a371d..68dacc4c6 100644
--- a/os/hal/osal/nil/osal.h
+++ b/os/hal/osal/nil/osal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/os-less/ARMCMx/osal.c b/os/hal/osal/os-less/ARMCMx/osal.c
index 571e6d6b5..3f8a7ea62 100644
--- a/os/hal/osal/os-less/ARMCMx/osal.c
+++ b/os/hal/osal/os-less/ARMCMx/osal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/os-less/ARMCMx/osal.h b/os/hal/osal/os-less/ARMCMx/osal.h
index 3fa1d040d..891944543 100644
--- a/os/hal/osal/os-less/ARMCMx/osal.h
+++ b/os/hal/osal/os-less/ARMCMx/osal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/os-less/AVR/osal.c b/os/hal/osal/os-less/AVR/osal.c
index c1a7ac3a4..616beafc8 100644
--- a/os/hal/osal/os-less/AVR/osal.c
+++ b/os/hal/osal/os-less/AVR/osal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/os-less/AVR/osal.h b/os/hal/osal/os-less/AVR/osal.h
index d23134e04..95292d11b 100644
--- a/os/hal/osal/os-less/AVR/osal.h
+++ b/os/hal/osal/os-less/AVR/osal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/rt/osal.c b/os/hal/osal/rt/osal.c
index 863be6a75..7f4103bcf 100644
--- a/os/hal/osal/rt/osal.c
+++ b/os/hal/osal/rt/osal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/osal/rt/osal.h b/os/hal/osal/rt/osal.h
index b8151c15c..69b755c22 100644
--- a/os/hal/osal/rt/osal.h
+++ b/os/hal/osal/rt/osal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_pins.h b/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_pins.h
index b98ce2574..1ede2443c 100644
--- a/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_pins.h
+++ b/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_pins.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_timers.h b/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_timers.h
index 42c275e20..8ddf26e25 100644
--- a/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_timers.h
+++ b/os/hal/ports/AVR/MEGA/ATMEGAxx/avr_timers.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.c b/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.c
index fef8b7084..449fcc83b 100644
--- a/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.c
+++ b/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.h b/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.h
index eca18ffc3..ba7df0b2a 100644
--- a/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.h
+++ b/os/hal/ports/AVR/MEGA/ATMEGAxx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.c b/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.c
index 4898941b6..f742cf580 100644
--- a/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.h b/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.h
index fe0e03dd0..c0bd82f0c 100644
--- a/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/ADCv1/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c b/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c
index 491fc58d4..f43b2c501 100644
--- a/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.h b/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.h
index c174a260c..eb27f739c 100644
--- a/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.c b/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.c
index 989cf5e6d..3052ffdbf 100644
--- a/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.h b/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.h
index 6822abca7..5afec3382 100644
--- a/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/I2Cv1/hal_i2c_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.c b/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.c
index 76e865754..e8d772e20 100644
--- a/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.h b/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.h
index 25de60fe2..ca0e15543 100644
--- a/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/SPIv1/hal_spi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.c b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.c
index 98a33dd80..9940a6017 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.h b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.h
index 45ab14058..be535234e 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_gpt_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.c b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.c
index bb540f8e0..e5f654cf4 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.h b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.h
index 589df04b1..e0dfd2b6b 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_icu_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.c b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.c
index df97aa74e..a1179c4fe 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.h b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.h
index 4f25911d1..262cbe716 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_pwm_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.c b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.c
index 1135768e4..bad3101a9 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.h b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.h
index 5e526a81f..5ef56a897 100644
--- a/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/TIMv1/hal_st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.c b/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.c
index d581e2257..bb934aaef 100644
--- a/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.h b/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.h
index 0001fa363..a5627ebdd 100644
--- a/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.h
+++ b/os/hal/ports/AVR/MEGA/LLD/USARTv1/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.c b/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.c
index be1e23cac..46174f710 100644
--- a/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.c
+++ b/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.h b/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.h
index a14096888..daa157ec4 100644
--- a/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.h
+++ b/os/hal/ports/AVR/TINY/ATTinyxxx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.c b/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.c
index ca5601196..71be6cb92 100644
--- a/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.c
+++ b/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.h b/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.h
index 495ea6e05..d3ec65ee9 100644
--- a/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.h
+++ b/os/hal/ports/AVR/TINY/LLD/GPIOv1/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.c b/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.c
index ad9e3b4ba..1c804de76 100644
--- a/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.c
+++ b/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h b/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h
index 35ae441b9..69ceeeec3 100644
--- a/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h
+++ b/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/LLD/avr_pins.h b/os/hal/ports/AVR/TINY/LLD/avr_pins.h
index b98ce2574..1ede2443c 100644
--- a/os/hal/ports/AVR/TINY/LLD/avr_pins.h
+++ b/os/hal/ports/AVR/TINY/LLD/avr_pins.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/TINY/LLD/avr_timers.h b/os/hal/ports/AVR/TINY/LLD/avr_timers.h
index 42c275e20..8ddf26e25 100644
--- a/os/hal/ports/AVR/TINY/LLD/avr_timers.h
+++ b/os/hal/ports/AVR/TINY/LLD/avr_timers.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.c b/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.c
index b6a466e00..8fd714edc 100644
--- a/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.c
+++ b/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.h b/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.h
index 965b3a857..11d00d915 100644
--- a/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.h
+++ b/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_lld.c b/os/hal/ports/LPC/LPC214x/hal_lld.c
index 37d3b5c65..9763e62b8 100644
--- a/os/hal/ports/LPC/LPC214x/hal_lld.c
+++ b/os/hal/ports/LPC/LPC214x/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_lld.h b/os/hal/ports/LPC/LPC214x/hal_lld.h
index bc4b62e1f..5189b148c 100644
--- a/os/hal/ports/LPC/LPC214x/hal_lld.h
+++ b/os/hal/ports/LPC/LPC214x/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_pal_lld.c b/os/hal/ports/LPC/LPC214x/hal_pal_lld.c
index 5903df2ea..b93642988 100644
--- a/os/hal/ports/LPC/LPC214x/hal_pal_lld.c
+++ b/os/hal/ports/LPC/LPC214x/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_pal_lld.h b/os/hal/ports/LPC/LPC214x/hal_pal_lld.h
index f771c787f..cf4157bf0 100644
--- a/os/hal/ports/LPC/LPC214x/hal_pal_lld.h
+++ b/os/hal/ports/LPC/LPC214x/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_serial_lld.c b/os/hal/ports/LPC/LPC214x/hal_serial_lld.c
index d5f3d9ec2..fb4514d36 100644
--- a/os/hal/ports/LPC/LPC214x/hal_serial_lld.c
+++ b/os/hal/ports/LPC/LPC214x/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_serial_lld.h b/os/hal/ports/LPC/LPC214x/hal_serial_lld.h
index d18a67f6c..559393038 100644
--- a/os/hal/ports/LPC/LPC214x/hal_serial_lld.h
+++ b/os/hal/ports/LPC/LPC214x/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_spi_lld.c b/os/hal/ports/LPC/LPC214x/hal_spi_lld.c
index f93389029..f607527ff 100644
--- a/os/hal/ports/LPC/LPC214x/hal_spi_lld.c
+++ b/os/hal/ports/LPC/LPC214x/hal_spi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_spi_lld.h b/os/hal/ports/LPC/LPC214x/hal_spi_lld.h
index 49e29bdf6..fd9ef578a 100644
--- a/os/hal/ports/LPC/LPC214x/hal_spi_lld.h
+++ b/os/hal/ports/LPC/LPC214x/hal_spi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_st_lld.c b/os/hal/ports/LPC/LPC214x/hal_st_lld.c
index 4a20bd222..65777bfbd 100644
--- a/os/hal/ports/LPC/LPC214x/hal_st_lld.c
+++ b/os/hal/ports/LPC/LPC214x/hal_st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/hal_st_lld.h b/os/hal/ports/LPC/LPC214x/hal_st_lld.h
index ce25d5292..f8b611da7 100644
--- a/os/hal/ports/LPC/LPC214x/hal_st_lld.h
+++ b/os/hal/ports/LPC/LPC214x/hal_st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/vic.c b/os/hal/ports/LPC/LPC214x/vic.c
index af806c507..862a014ff 100644
--- a/os/hal/ports/LPC/LPC214x/vic.c
+++ b/os/hal/ports/LPC/LPC214x/vic.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/LPC/LPC214x/vic.h b/os/hal/ports/LPC/LPC214x/vic.h
index 1961ae359..221a67bff 100644
--- a/os/hal/ports/LPC/LPC214x/vic.h
+++ b/os/hal/ports/LPC/LPC214x/vic.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c
index bbe51ab20..b490b05bc 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.h b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.h
index 3df2d28e1..3875287e6 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.h
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.c b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.c
index 12c2df965..a4e19d7c7 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.c
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.h b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.h
index a496fc201..b7a1a9fae 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.h
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_crypto_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c
index 673fa6ffd..79432e008 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.h b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.h
index c27d33cac..bc883aeed 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.h
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.c b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.c
index 76ff34145..fbe000e47 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.c
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.c
@@ -1,18 +1,18 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
#include "hal.h"
#if (HAL_USE_CRY == TRUE) || defined(__DOXYGEN__)
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.h b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.h
index bc48f02b1..7f714f9e0 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.h
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_tdes_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
index 948d87b6c..d43133307 100644
--- a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
+++ b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h
index 475627ef0..a3246baf5 100644
--- a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h
+++ b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c
index 75df3e0a7..56b9939ad 100644
--- a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c
+++ b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.h b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.h
index 958612a6d..81e019aaf 100644
--- a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.h
+++ b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.c b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.c
index 35dbb08c1..81f8d6cd0 100644
--- a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.c
+++ b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
index df871956a..e2ede7c52 100644
--- a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
+++ b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.c b/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.c
index 9e49843cd..e35df0fe9 100644
--- a/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.c
+++ b/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.h b/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.h
index a6ffaa9c9..a5105382f 100644
--- a/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.h
+++ b/os/hal/ports/SAMA/LLD/RTCv1/hal_rtc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
index 2c5a862e1..dadca65b7 100644
--- a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
+++ b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h
index 488b57491..c87c90525 100644
--- a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h
+++ b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.c b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.c
index a450f261b..b5a890fea 100644
--- a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.c
+++ b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h
index d5df35dac..f9be8bdee 100644
--- a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h
+++ b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.c b/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.c
index 04589bcb6..e9ec465f0 100644
--- a/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.c
+++ b/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.h b/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.h
index d2849916b..552d54b1a 100644
--- a/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.h
+++ b/os/hal/ports/SAMA/LLD/USARTv1/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.c b/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.c
index 3056d2a73..7589c82fb 100644
--- a/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.c
+++ b/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.h b/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.h
index a6e6bbb82..6c20da1c4 100644
--- a/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.h
+++ b/os/hal/ports/SAMA/LLD/USARTv1/hal_uart_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/aic.c b/os/hal/ports/SAMA/SAMA5D2x/aic.c
index 2b5d95e61..ff66cceb9 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/aic.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/aic.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/aic.h b/os/hal/ports/SAMA/SAMA5D2x/aic.h
index 73f9888c1..a4f220754 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/aic.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/aic.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.c
index 2e841cca7..2e8a67309 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.c
@@ -1,18 +1,18 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
/**
* @file hal_crypto_lld.c
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.h
index 4521bb57b..af3985aa2 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_crypto_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
index afa9062a5..ce190c7c0 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
index d80ee7d11..e28e9bbb3 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c
index adc174363..8d286884e 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.h
index 24a656841..bce654bc9 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.c
index 5cfa90968..8edc7f4b0 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.h
index b58d6e1cb..cbd20ee7d 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_tc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_cache.c b/os/hal/ports/SAMA/SAMA5D2x/sama_cache.c
index f20e9e3db..64f1f32d2 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_cache.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_cache.c
@@ -1,65 +1,65 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAMA5D2x/sama_cache.c
- * @brief SAMA CACHE support code.
- *
- * @addtogroup SAMA5D2x_CACHE
- * @{
- */
-
-#include "hal.h"
-
-/**
- * @brief Invalidate D-Cache Region
- * @TODO: Extend to L2C
- *
- * @param[in] start Pointer to beginning of memory region.
- * @param[in] length Length of the memory location.
- */
-void cacheInvalidateRegion(void *start, uint32_t length) {
-
- uint32_t start_addr = (uint32_t)start;
- uint32_t end_addr = start_addr + length;
- uint32_t mva;
-
- /* Invalidate L1 D-Cache */
- for (mva = start_addr & ~L1_CACHE_BYTES; mva < end_addr; mva += L1_CACHE_BYTES) {
- L1C_InvalidateDCacheMVA((uint32_t *)mva);
- }
-}
-
-/**
- * @brief Clean D-Cache Region
- * @TODO: Extend to L2C
- *
- * @param[in] start Pointer to beginning of memory region.
- * @param[in] length Length of the memory location.
- */
-void cacheCleanRegion(void *start, uint32_t length) {
-
- uint32_t start_addr = (uint32_t)start;
- uint32_t end_addr = start_addr + length;
- uint32_t mva;
-
- /* Clean L1 D-Cache */
- for (mva = start_addr & ~L1_CACHE_BYTES; mva < end_addr; mva += L1_CACHE_BYTES) {
- L1C_CleanDCacheMVA((uint32_t *)mva);
- }
-}
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAMA5D2x/sama_cache.c
+ * @brief SAMA CACHE support code.
+ *
+ * @addtogroup SAMA5D2x_CACHE
+ * @{
+ */
+
+#include "hal.h"
+
+/**
+ * @brief Invalidate D-Cache Region
+ * @TODO: Extend to L2C
+ *
+ * @param[in] start Pointer to beginning of memory region.
+ * @param[in] length Length of the memory location.
+ */
+void cacheInvalidateRegion(void *start, uint32_t length) {
+
+ uint32_t start_addr = (uint32_t)start;
+ uint32_t end_addr = start_addr + length;
+ uint32_t mva;
+
+ /* Invalidate L1 D-Cache */
+ for (mva = start_addr & ~L1_CACHE_BYTES; mva < end_addr; mva += L1_CACHE_BYTES) {
+ L1C_InvalidateDCacheMVA((uint32_t *)mva);
+ }
+}
+
+/**
+ * @brief Clean D-Cache Region
+ * @TODO: Extend to L2C
+ *
+ * @param[in] start Pointer to beginning of memory region.
+ * @param[in] length Length of the memory location.
+ */
+void cacheCleanRegion(void *start, uint32_t length) {
+
+ uint32_t start_addr = (uint32_t)start;
+ uint32_t end_addr = start_addr + length;
+ uint32_t mva;
+
+ /* Clean L1 D-Cache */
+ for (mva = start_addr & ~L1_CACHE_BYTES; mva < end_addr; mva += L1_CACHE_BYTES) {
+ L1C_CleanDCacheMVA((uint32_t *)mva);
+ }
+}
+
+/** @} */
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_cache.h b/os/hal/ports/SAMA/SAMA5D2x/sama_cache.h
index fe8201438..fc7bcedac 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_cache.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_cache.h
@@ -1,43 +1,43 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAMA5D2x/sama_cache.h
- * @brief SAMA CACHE support macros and structures.
- *
- * @addtogroup SAMA5D2x_CACHE
- * @{
- */
-#ifndef SAMA_CACHE_H_
-#define SAMA_CACHE_H_
-
-/*===========================================================================*/
-/* Driver constants. */
-/*===========================================================================*/
-#define L1_CACHE_BYTES 32u
-
-#ifdef __cplusplus
-extern "C" {
-#endif
- extern void cacheInvalidateRegion(void *start, uint32_t length);
- extern void cacheCleanRegion(void *start, uint32_t length);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* SAMA_CACHE_H_ */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAMA5D2x/sama_cache.h
+ * @brief SAMA CACHE support macros and structures.
+ *
+ * @addtogroup SAMA5D2x_CACHE
+ * @{
+ */
+#ifndef SAMA_CACHE_H_
+#define SAMA_CACHE_H_
+
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+#define L1_CACHE_BYTES 32u
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ extern void cacheInvalidateRegion(void *start, uint32_t length);
+ extern void cacheCleanRegion(void *start, uint32_t length);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* SAMA_CACHE_H_ */
+
+/** @} */
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.c b/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.c
index dc187a5ff..da6f6f340 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h b/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h
index b899d413b..5cf4ee29b 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h
@@ -1,341 +1,341 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAMA5D2x/sama_matrix.h
- * @brief SAMA MATRIX support macros and structures.
- *
- * @addtogroup SAMA5D2x_MATRIX
- * @{
- */
-
-#ifndef SAMA_MATRIX_H
-#define SAMA_MATRIX_H
-
-/*===========================================================================*/
-/* Driver constants. */
-/*===========================================================================*/
-/**
- * @name SECURE MATRIX mode macros
- * @{
- */
-/**
- * @brief The low area of region is the securable one.
- */
-#define LOWER_AREA_SECURABLE 0x0u
-
-/**
- * @brief The upper area of region is the non-securable one.
- */
-#define UPPER_AREA_SECURABLE 0x1u
-
-/**
- * @brief Securable area is secured for reads.
- */
-#define SECURE_READ 0x0u
-
-/**
- * @brief Securable area is secured for writes.
- */
-#define SECURE_WRITE 0x0u
-
-/**
- * @brief Securable area is non-secured for reads.
- */
-#define NOT_SECURE_READ 0x1u
-
-/**
- * @brief Securable area is non-secured for writes.
- */
-#define NOT_SECURE_WRITE 0x1u
-
-/**
- * @brief Peripheral Securable as secure.
- */
-#define SECURE_PER FALSE
-
-/**
- * @brief Peripheral Securable as not-secure.
- */
-#define NOT_SECURE_PER TRUE
-/** @} */
-
-/**
- * @name MASTER TYPE MATRIX macros
- * @{
- */
-/**
- * @brief No Default Master.
- */
-#define NO_DEFAULT_MASTER 0x0u
-
-/**
- * @brief Last Default Master.
- */
-#define LAST_DEFAULT_MASTER 0x1u
-
-/**
- * @brief Fixed Default Master.
- */
-#define FIXED_DEFAULT_MASTER 0x2u
-/** @} */
-
-/**
- * @name REGION MATRIX MASK macros
- * @{
- */
-/**
- * @brief Region 0.
- */
-#define REGION_0_MSK (0x1u << 0)
-
-/**
- * @brief Region 1.
- */
-#define REGION_1_MSK (0x1u << 1)
-
-/**
- * @brief Region 2.
- */
-#define REGION_2_MSK (0x1u << 2)
-
-/**
- * @brief Region 3.
- */
-#define REGION_3_MSK (0x1u << 3)
-
-/**
- * @brief Region 4.
- */
-#define REGION_4_MSK (0x1u << 4)
-
-/**
- * @brief Region 5.
- */
-#define REGION_5_MSK (0x1u << 5)
-
-/**
- * @brief Region 6.
- */
-#define REGION_6_MSK (0x1u << 6)
-
-/**
- * @brief Region 7.
- */
-#define REGION_7_MSK (0x1u << 7)
-/** @} */
-
-/**
- * @name REGION MATRIX macros
- * @{
- */
-/**
- * @brief Region 0.
- */
-#define REGION_0 0x0u
-
-/**
- * @brief Region 1.
- */
-#define REGION_1 0x1u
-
-/**
- * @brief Region 2.
- */
-#define REGION_2 0x2u
-
-/**
- * @brief Region 3.
- */
-#define REGION_3 0x3u
-
-/**
- * @brief Region 4.
- */
-#define REGION_4 0x4u
-
-/**
- * @brief Region 5.
- */
-#define REGION_5 0x5u
-
-/**
- * @brief Region 6.
- */
-#define REGION_6 0x6u
-
-/**
- * @brief Region 7.
- */
-#define REGION_7 0x7u
-/** @} */
-
-/**
- * @name AREA SIZE MATRIX macros
- * @{
- */
-/**
- * @brief Area size 4 KB.
- */
-#define MATRIX_AREA_SIZE_4K 0x0u
-
-/**
- * @brief Area size 8 KB.
- */
-#define MATRIX_AREA_SIZE_8K 0x1u
-
-/**
- * @brief Area size 16 KB.
- */
-#define MATRIX_AREA_SIZE_16K 0x2u
-
-/**
- * @brief Area size 32 KB.
- */
-#define MATRIX_AREA_SIZE_32K 0x3u
-
-/**
- * @brief Area size 64 KB.
- */
-#define MATRIX_AREA_SIZE_64K 0x4u
-
-/**
- * @brief Area size 128 KB.
- */
-#define MATRIX_AREA_SIZE_128K 0x5u
-
-/**
- * @brief Area size 256 KB.
- */
-#define MATRIX_AREA_SIZE_256K 0x6u
-
-/**
- * @brief Area size 512 KB.
- */
-#define MATRIX_AREA_SIZE_512K 0x7u
-
-/**
- * @brief Area size 1 MB.
- */
-#define MATRIX_AREA_SIZE_1M 0x8u
-
-/**
- * @brief Area size 2 MB.
- */
-#define MATRIX_AREA_SIZE_2M 0x9u
-
-/**
- * @brief Area size 4 MB.
- */
-#define MATRIX_AREA_SIZE_4M 0xAu
-
-/**
- * @brief Area size 8 MB.
- */
-#define MATRIX_AREA_SIZE_8M 0xBu
-
-/**
- * @brief Area size 16 MB.
- */
-#define MATRIX_AREA_SIZE_16M 0xCu
-
-/**
- * @brief Area size 32 MB.
- */
-#define MATRIX_AREA_SIZE_32M 0xDu
-
-/**
- * @brief Area size 64 MB.
- */
-#define MATRIX_AREA_SIZE_64M 0xEu
-
-/**
- * @brief Area size 128 MB.
- */
-#define MATRIX_AREA_SIZE_128M 0xFu
-/** @} */
-
-/*===========================================================================*/
-/* Driver pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Driver data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Driver macros. */
-/*===========================================================================*/
-/**
- * @brief Configure LANSECH per Region.
- *
- * @param[in] region Region to configure.
- * @param[in] lansech Securable mode.
- *
- * @api
- */
-#define mtxRegionLansech(region, lansech) (lansech << region)
-
-/**
- * @brief Configure RDNSECH per Region.
- *
- * @param[in] region Region to configure.
- * @param[in] rdnsech Read securable mode.
- *
- * @api
- */
-#define mtxRegionRdnsech(region, rdnsech) (rdnsech << region)
-
-/**
- * @brief Configure WRNSECH per Region.
- *
- * @param[in] region Region to configure.
- * @param[in] wrnsech Write securable mode.
- *
- * @api
- */
-#define mtxRegionWrnsech(region, wrnsech) (wrnsech << region)
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
- bool mtxConfigPeriphSecurity(Matrix *mtxp, uint32_t id, bool mode);
- void mtxConfigDefaultMaster(Matrix *mtxp, uint8_t slaveID,
- uint8_t type, uint8_t masterID);
- void mtxConfigSlaveSec(Matrix *mtxp, uint8_t slaveID,
- uint8_t selMask, uint8_t readMask,
- uint8_t writeMask);
- void mtxSetSlaveSplitAddr(Matrix *mtxp, uint8_t slaveID,
- uint8_t area, uint8_t mask);
- void mtxSetSlaveRegionSize(Matrix *mtxp, uint8_t slaveID,
- uint8_t areaSize, uint8_t mask);
- void mtxRemapRom(void);
- void mtxRemapRam(void);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* SAMA_MATRIX_H */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAMA5D2x/sama_matrix.h
+ * @brief SAMA MATRIX support macros and structures.
+ *
+ * @addtogroup SAMA5D2x_MATRIX
+ * @{
+ */
+
+#ifndef SAMA_MATRIX_H
+#define SAMA_MATRIX_H
+
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+/**
+ * @name SECURE MATRIX mode macros
+ * @{
+ */
+/**
+ * @brief The low area of region is the securable one.
+ */
+#define LOWER_AREA_SECURABLE 0x0u
+
+/**
+ * @brief The upper area of region is the non-securable one.
+ */
+#define UPPER_AREA_SECURABLE 0x1u
+
+/**
+ * @brief Securable area is secured for reads.
+ */
+#define SECURE_READ 0x0u
+
+/**
+ * @brief Securable area is secured for writes.
+ */
+#define SECURE_WRITE 0x0u
+
+/**
+ * @brief Securable area is non-secured for reads.
+ */
+#define NOT_SECURE_READ 0x1u
+
+/**
+ * @brief Securable area is non-secured for writes.
+ */
+#define NOT_SECURE_WRITE 0x1u
+
+/**
+ * @brief Peripheral Securable as secure.
+ */
+#define SECURE_PER FALSE
+
+/**
+ * @brief Peripheral Securable as not-secure.
+ */
+#define NOT_SECURE_PER TRUE
+/** @} */
+
+/**
+ * @name MASTER TYPE MATRIX macros
+ * @{
+ */
+/**
+ * @brief No Default Master.
+ */
+#define NO_DEFAULT_MASTER 0x0u
+
+/**
+ * @brief Last Default Master.
+ */
+#define LAST_DEFAULT_MASTER 0x1u
+
+/**
+ * @brief Fixed Default Master.
+ */
+#define FIXED_DEFAULT_MASTER 0x2u
+/** @} */
+
+/**
+ * @name REGION MATRIX MASK macros
+ * @{
+ */
+/**
+ * @brief Region 0.
+ */
+#define REGION_0_MSK (0x1u << 0)
+
+/**
+ * @brief Region 1.
+ */
+#define REGION_1_MSK (0x1u << 1)
+
+/**
+ * @brief Region 2.
+ */
+#define REGION_2_MSK (0x1u << 2)
+
+/**
+ * @brief Region 3.
+ */
+#define REGION_3_MSK (0x1u << 3)
+
+/**
+ * @brief Region 4.
+ */
+#define REGION_4_MSK (0x1u << 4)
+
+/**
+ * @brief Region 5.
+ */
+#define REGION_5_MSK (0x1u << 5)
+
+/**
+ * @brief Region 6.
+ */
+#define REGION_6_MSK (0x1u << 6)
+
+/**
+ * @brief Region 7.
+ */
+#define REGION_7_MSK (0x1u << 7)
+/** @} */
+
+/**
+ * @name REGION MATRIX macros
+ * @{
+ */
+/**
+ * @brief Region 0.
+ */
+#define REGION_0 0x0u
+
+/**
+ * @brief Region 1.
+ */
+#define REGION_1 0x1u
+
+/**
+ * @brief Region 2.
+ */
+#define REGION_2 0x2u
+
+/**
+ * @brief Region 3.
+ */
+#define REGION_3 0x3u
+
+/**
+ * @brief Region 4.
+ */
+#define REGION_4 0x4u
+
+/**
+ * @brief Region 5.
+ */
+#define REGION_5 0x5u
+
+/**
+ * @brief Region 6.
+ */
+#define REGION_6 0x6u
+
+/**
+ * @brief Region 7.
+ */
+#define REGION_7 0x7u
+/** @} */
+
+/**
+ * @name AREA SIZE MATRIX macros
+ * @{
+ */
+/**
+ * @brief Area size 4 KB.
+ */
+#define MATRIX_AREA_SIZE_4K 0x0u
+
+/**
+ * @brief Area size 8 KB.
+ */
+#define MATRIX_AREA_SIZE_8K 0x1u
+
+/**
+ * @brief Area size 16 KB.
+ */
+#define MATRIX_AREA_SIZE_16K 0x2u
+
+/**
+ * @brief Area size 32 KB.
+ */
+#define MATRIX_AREA_SIZE_32K 0x3u
+
+/**
+ * @brief Area size 64 KB.
+ */
+#define MATRIX_AREA_SIZE_64K 0x4u
+
+/**
+ * @brief Area size 128 KB.
+ */
+#define MATRIX_AREA_SIZE_128K 0x5u
+
+/**
+ * @brief Area size 256 KB.
+ */
+#define MATRIX_AREA_SIZE_256K 0x6u
+
+/**
+ * @brief Area size 512 KB.
+ */
+#define MATRIX_AREA_SIZE_512K 0x7u
+
+/**
+ * @brief Area size 1 MB.
+ */
+#define MATRIX_AREA_SIZE_1M 0x8u
+
+/**
+ * @brief Area size 2 MB.
+ */
+#define MATRIX_AREA_SIZE_2M 0x9u
+
+/**
+ * @brief Area size 4 MB.
+ */
+#define MATRIX_AREA_SIZE_4M 0xAu
+
+/**
+ * @brief Area size 8 MB.
+ */
+#define MATRIX_AREA_SIZE_8M 0xBu
+
+/**
+ * @brief Area size 16 MB.
+ */
+#define MATRIX_AREA_SIZE_16M 0xCu
+
+/**
+ * @brief Area size 32 MB.
+ */
+#define MATRIX_AREA_SIZE_32M 0xDu
+
+/**
+ * @brief Area size 64 MB.
+ */
+#define MATRIX_AREA_SIZE_64M 0xEu
+
+/**
+ * @brief Area size 128 MB.
+ */
+#define MATRIX_AREA_SIZE_128M 0xFu
+/** @} */
+
+/*===========================================================================*/
+/* Driver pre-compile time settings. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver macros. */
+/*===========================================================================*/
+/**
+ * @brief Configure LANSECH per Region.
+ *
+ * @param[in] region Region to configure.
+ * @param[in] lansech Securable mode.
+ *
+ * @api
+ */
+#define mtxRegionLansech(region, lansech) (lansech << region)
+
+/**
+ * @brief Configure RDNSECH per Region.
+ *
+ * @param[in] region Region to configure.
+ * @param[in] rdnsech Read securable mode.
+ *
+ * @api
+ */
+#define mtxRegionRdnsech(region, rdnsech) (rdnsech << region)
+
+/**
+ * @brief Configure WRNSECH per Region.
+ *
+ * @param[in] region Region to configure.
+ * @param[in] wrnsech Write securable mode.
+ *
+ * @api
+ */
+#define mtxRegionWrnsech(region, wrnsech) (wrnsech << region)
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ bool mtxConfigPeriphSecurity(Matrix *mtxp, uint32_t id, bool mode);
+ void mtxConfigDefaultMaster(Matrix *mtxp, uint8_t slaveID,
+ uint8_t type, uint8_t masterID);
+ void mtxConfigSlaveSec(Matrix *mtxp, uint8_t slaveID,
+ uint8_t selMask, uint8_t readMask,
+ uint8_t writeMask);
+ void mtxSetSlaveSplitAddr(Matrix *mtxp, uint8_t slaveID,
+ uint8_t area, uint8_t mask);
+ void mtxSetSlaveRegionSize(Matrix *mtxp, uint8_t slaveID,
+ uint8_t areaSize, uint8_t mask);
+ void mtxRemapRom(void);
+ void mtxRemapRam(void);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* SAMA_MATRIX_H */
+
+/** @} */
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
index 611cc9d05..9b4a580c2 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
index d7735ba0d..31a017707 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c b/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c
index 3652e6b65..63cd35d85 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.h b/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.h
index 54c7a3207..d73938c4c 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.h
@@ -1,554 +1,554 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file SAMA5D2x/sama_secumod.h
- * @brief SAMA SECUMOD support macros and structures.
- *
- * @addtogroup SAMA5D2x_SECUMOD
- * @{
- */
-
-#ifndef SAMA_SECUMOD_LLD_H
-#define SAMA_SECUMOD_LLD_H
-
-#if HAL_USE_SECUMOD || defined(__DOXYGEN__)
-
-#include <string.h>
-/*===========================================================================*/
-/* Driver constants. */
-/*===========================================================================*/
-/**
- * @name RAM ACCESS mode macros
- * @{
- */
-/**
- * @brief No access allowed.
- */
-#define RAMACC_NO_ACCESS 0x0U
-
-/**
- * @brief Only write access allowed.
- */
-#define RAMACC_WR_ACCESS 0x1U
-
-/**
- * @brief Only read access allowed.
- */
-#define RAMACC_RD_ACCESS 0x2U
-
-/**
- * @brief Read and Write access allowed.
- */
-#define RAMACC_WR_RD_ACCESS 0x3U
-/** @} */
-
-/**
- * @name SOURCE INTERRUPT macros
- * @{
- */
-/*
- * @brief Shield Monitor Protection Interrupt Source.
- */
-#define SECUMOD_SHLDM (0x1u << 0)
-
-/*
- * @brief Double Frequency Monitor Protection Interrupt Source.
- */
-#define SECUMOD_DBLFM (0x1u << 1)
-
-/*
- * @brief Test Pin Protection Interrupt Source.
- */
-#define SECUMOD_TST (0x1u << 2)
-
-/*
- * @brief JTAG Pins Protection Interrupt Source.
- */
-#define SECUMOD_JTAG (0x1u << 3)
-
-/*
- * @brief Master Clock Monitor Protection Interrupt Source.
- */
-#define SECUMOD_MCKM (0x1u << 5)
-
-/*
- * @brief Low Temperature Monitor Protection Interrupt Source.
- */
-#define SECUMOD_TPML (0x1u << 6)
-
-/*
- * @brief High Temperature Monitor Protection Interrupt Source.
- */
-#define SECUMOD_TPMH (0x1u << 7)
-
-/*
- * @brief Low VDDBU Voltage Monitor Protection Interrupt Source.
- */
-#define SECUMOD_VDDBUL (0x1u << 10)
-
-/*
- * @brief High VDDBU Voltage Monitor Protection Interrupt Source.
- */
-#define SECUMOD_VDDBUH (0x1u << 11)
-
-/*
- * @brief Low VDDCORE Voltage Monitor Protection Interrupt Source.
- */
-#define SECUMOD_VDDCOREL (0x1u << 12)
-
-/*
- * @brief High VDDCORE Voltage Monitor Protection Interrupt Source.
- */
-#define SECUMOD_VDDCOREH (0x1u << 13)
-
-/*
- * @brief PIOBUx Intrusion Detector Protection Interrupt Source.
- */
-#define SECUMOD_DET0 (0x1u << 16)
-#define SECUMOD_DET1 (0x1u << 17)
-#define SECUMOD_DET2 (0x1u << 18)
-#define SECUMOD_DET3 (0x1u << 19)
-#define SECUMOD_DET4 (0x1u << 20)
-#define SECUMOD_DET5 (0x1u << 21)
-#define SECUMOD_DET6 (0x1u << 22)
-#define SECUMOD_DET7 (0x1u << 23)
-/** @} */
-
-/**
- * @name RAM STATUS mode macros
- * @{
- */
-/**
- * @brief No access violation occurred.
- */
-#define RAMACCSR_NO_VIOLATION 0x0U
-
-/**
- * @brief Write access violation occurred.
- */
-#define RAMACCSR_WR_VIOLATION 0x1U
-
-/**
- * @brief Read access violation occurred.
- */
-#define RAMACCSR_RD_VIOLATION 0x2U
-
-/**
- * @brief Read and Write access violation occurred.
- */
-#define RAMACCSR_WR_RD_VIOLATION 0x3U
-/** @} */
-
-/**
- * @name SCRAMB mode macros
- * @{
- */
-/**
- * @brief SCRAMB ENABLE.
- */
-#define SCRAMB_ENABLE 0x1U
-
-/**
- * @brief SCRAMB DISABLE.
- */
-#define SCRAMB_DISABLE 0x2U
-/** @} */
-
-/*
- * @brief RAM regions of SECUMOD
- */
-#define SECUMOD_RAM_REGIONS 6
-
-/*===========================================================================*/
-/* Driver pre-compile time settings. */
-/*===========================================================================*/
-/**
- * @name Configuration options
- * @{
- */
-/**
- * @brief SECUMOD interrupt priority level setting.
- */
-#if !defined(SAMA_SECUMOD_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define SAMA_SECUMOD_IRQ_PRIORITY 7
-#endif
-
-/**
- * @brief SECURAM interrupt priority level setting.
- */
-#if !defined(SAMA_SECURAM_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define SAMA_SECURAM_IRQ_PRIORITY 7
-#endif
-
-/** @} */
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Driver data structures and types. */
-/*===========================================================================*/
-/**
- * @brief Driver state machine possible states.
- */
-typedef enum {
- SEC_UNINIT = 0, /**< Not initialized. */
- SEC_STOP = 1, /**< Stopped. */
- SEC_ACTIVE = 2 /**< Active. */
-} secstate_t;
-
-/**
- * @brief Type of an SECUMOD event.
- */
-typedef enum {
- SEC_EVENT_SHLDM = 0, /* Triggered on Shield Monitor. */
- SEC_EVENT_DBLFM = 1, /* Triggered on Double Frequency Monitor. */
- SEC_EVENT_TST = 2, /* Triggered on Test Pin Monitor. */
- SEC_EVENT_JTAG = 3, /* Triggered on JTAG Pins Monitor. */
- SEC_EVENT_MCKM = 4, /* Triggered on Master Clock Monitor. */
- SEC_EVENT_TPML = 5, /* Triggered on Low Temperature Monitor. */
- SEC_EVENT_TPMH = 6, /* Triggered on High Temperature Monitor. */
- SEC_EVENT_VDDBUL = 7, /* Triggered on Low VDDBU Voltage Monitor. */
- SEC_EVENT_VDDBUH = 8, /* Triggered on High VDDBU Voltage Monitor. */
- SEC_EVENT_VDDCOREL = 9, /* Triggered on Low VDDCORE Voltage Monitor. */
- SEC_EVENT_VDDCOREH = 10, /* Triggered on High VDDCORE Voltage Monitor. */
- SEC_EVENT_PIOBU = 11 /* Triggered on PIOBU intrusion. */
-} secevent_t;
-
-/**
- * @brief Type of a structure representing an SEC driver.
- */
-typedef struct SECDriver SECDriver;
-
-/**
- * @brief SECURAM notification callback type.
- *
- * @param[in] secp pointer to a @p SECDriver object
- */
-typedef void (*securam_callback_t)(SECDriver *secp);
-
-/**
- * @brief SECUMOD notification callback type.
- *
- * @param[in] secp pointer to a @p SECDriver object
- */
-typedef void (*secumod_callback_t)(SECDriver *secp, secevent_t event);
-
-/**
- * @brief SECUMOD erase callback type.
- *
- * @param[in] secp pointer to a @p SECDriver object
- */
-typedef void (*erased_callback_t)(SECDriver *secp);
-
-/**
- * @brief Type of RAM access mode.
- */
-typedef uint32_t ram_access_mode_t;
-
-/**
- * @brief PIOBU configuration structure.
- */
-typedef struct {
- /*
- * @brief PIOBU pin's index
- */
- uint32_t pinIndex:3;
- /*
- * @brief alarm filter value
- */
- uint32_t afv:4;
- /*
- * @brief reset filter value
- */
- uint32_t rfv:4;
- /*
- * @brief I/O line mode
- * @note 0: pure input, 1: enabled in output
- */
- uint32_t mode:1;
- /*
- * @brief Configure the I/O line in output mode
- * @note 0: clear, 1: set
- */
- uint32_t outputLevel:1;
- /*
- * @brief programmable pull-up state
- * @note 0: none, 1: pull-up; 2: pull-down; 3: reserved
- */
- uint32_t pullUpState:2;
- /*
- * @brief Pull-up/Down Scheduled:
- * @note 0: no; 1: yes
- */
- uint32_t scheduled:1;
- /*
- * @brief switch input default state
- */
- uint32_t inputDefaultLevel:1;
- /*
- * @brief Mode of detection intrusion.
- * @note 0: static, 1: dynamic
- */
- uint32_t dynamic:1;
- /*
- * @brief filter for dynamic signatures input
- * @note 0: 3 stages majority vote, 1: 5 stages
- */
- uint32_t filter3_5:1;
-} PIOBUConfig;
-
-typedef struct {
- /**
- * @brief RAM Access Right
- */
- ram_access_mode_t mode;
- /* End of the mandatory fields.*/
-} RAMAccessConfig;
-
-/**
- * @brief Driver configuration structure.
- * @note It could be empty on some architectures.
- */
-typedef struct {
- /**
- * @brief Callback for memory violation
- */
- securam_callback_t securam_callback;
- /**
- * @brief Callback after memory erasing
- */
- erased_callback_t erased_callback;
- /**
- * @brief lenght of PIOBUConfig array
- * @note Number of pads to configure
- */
- size_t length;
- /**
- * @brief pointer to PIOBUConfig array
- */
- PIOBUConfig *list;
- /**
- * @brief RAM Access Rights
- */
- RAMAccessConfig region[SECUMOD_RAM_REGIONS];
- /**
- * @brief SECUMOD CR register initialization data.
- */
- uint32_t cr;
- /**
- * @brief SECUMOD JTAGCR register initialization data.
- */
- uint32_t jtagcr;
-} SECConfig;
-
-/**
- * @brief Structure representing a SEC driver.
- */
-struct SECDriver {
- /**
- * @brief Driver state.
- */
- secstate_t state;
- /**
- * @brief Current configuration data.
- */
- const SECConfig *config;
- /* End of the mandatory fields.*/
- /**
- * @brief Pointer to the SECUMOD registers block.
- */
- Secumod *sec;
- /**
- * @brief Callback pointer.
- */
- secumod_callback_t secumod_callback;
-};
-
-/*===========================================================================*/
-/* Driver macros. */
-/*===========================================================================*/
-/**
- * @brief Switch to Backup Mode.
- *
- * @api
- */
-#define secumodSwitch2BackupMode() { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_BACKUP; \
-}
-
-/**
- * @brief Switch to Normal Mode.
- *
- * @api
- */
-#define secumodSwitch2NormalMode() { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_NORMAL; \
-}
-
-/**
- * @brief Start clear content of SECUMOD internal RAM 4Kbyte and 256bits.
- *
- * @api
- */
-#define secumodSoftwareProtection() { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_SWPROT; \
-}
-
-/**
- * @brief Enable/Disable Auto-Backup.
- *
- * @param[in] enable Enable auto-backup if true, disable otherwise.
- *
- * @api
- */
-#define secumodSetAutoBackup(enable) { \
- if (enable) { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_AUTOBKP_AUTO_SWITCH; \
- } \
- else { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_AUTOBKP_SW_SWITCH; \
- } \
-}
-
-/**
- * @brief Enable/Disable Memory Scrambling.
- *
- * @param[in] enable Enable memory scrambling if true, disable otherwise.
- *
- * @api
- */
-#define secumodSetScrambling(enable) { \
- if (enable) { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_SCRAMB_ENABLE; \
- } \
- else { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_SCRAMB_DISABLE; \
- } \
-}
-
-/**
- * @brief Toggle normal or backup protection registers appear and disappear.
- *
- * @api
- */
-#define secumodToggleProtectionReg() { \
- SECUMOD->SECUMOD_CR = SECUMOD_CR_KEY_TOGGLE; \
-}
-
-/**
- * @brief Set scrambling key for secure RAM in SECUMOD.
- *
- * @param[in] key Scrambling key.
- *
- * @api
- */
-#define secumodSetScramblingKey(key) { \
- SECUMOD->SECUMOD_SCRKEY = key; \
-}
-
-/**
- * @brief Get scrambling key for secure RAM in SECUMOD.
- *
- * @return Scrambling key.
- *
- * @api
- */
-#define secumodGetScramblingKey() { \
- SECUMOD->SECUMOD_SCRKEY; \
-}
-
-/**
- * @brief Set protections enabled in backup mode.
- *
- * @note Make sure registers appears before call this function, to toggle the
- * appearance of the registers using secumodToggleProtectionReg().
- *
- * @param[in] sources Bitwise OR of protections.
- *
- * @api
- */
-#define secumodSetBackupModeProtections(sources) { \
- SECUMOD->SECUMOD_BMPR = sources; \
-}
-
-/**
- * @brief Set protections enabled in normal mode.
- *
- * @note Make sure registers appears before call this function, to toggle the
- * appearance of the registers using secumodToggleProtectionReg().
- *
- * @param[in] sources Bitwise OR of protections.
- *
- * @api
- */
-#define secumodSetNormalModeProtections(sources) { \
- SECUMOD->SECUMOD_NMPR = sources; \
- if (SECUMOD->SECUMOD_NMPR != sources) { \
- secumodToggleProtectionReg(); \
- SECUMOD->SECUMOD_NMPR = sources; \
- } \
-}
-
-/**
- * @brief Set protection sources which can cause wake up signal generated.
- *
- * @param[in] sources Bitwise OR of protection sources.
- *
- * @api
- */
-#define secumodSetWakeupProtections(sources) { \
- SECUMOD->SECUMOD_WKPR = sources; \
-}
-
-/**
- * @brief Wait availability status of memory.
- *
- * @api
- */
-#define secumodMemReady() { \
- while (!(SECUMOD->SECUMOD_RAMRDY & SECUMOD_RAMRDY_READY)); \
-}
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-extern SECDriver SECD0;
-
-#ifdef __cplusplus
-extern "C" {
-#endif
- void secInit(void);
- void secObjectInit(SECDriver *secp);
- void secStart(SECDriver *secp, const SECConfig *config);
- void secStop(SECDriver *secp);
- void secSetCallback(SECDriver *secp, uint32_t sources, secumod_callback_t callback);
- void secumodSetJtagProtection(bool reset, uint8_t permissions, bool ack);
- void secumodDynamicSignaturesTuning(uint16_t period, uint8_t detectionThr, uint8_t resetThr);
- void secumodPeriodicAlarm(bool enable);
- void secumodSetRamAccessRights(uint32_t region, uint8_t rights);
- uint32_t secumodReadInternalMemory(uint8_t *data, uint32_t addr, uint32_t size);
- uint32_t secumodWriteInternalMemory(uint8_t *data, uint32_t addr, uint32_t size);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* HAL_USE_SECUMOD */
-
-#endif /* SAMA_SECUMOD_LLD_H */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file SAMA5D2x/sama_secumod.h
+ * @brief SAMA SECUMOD support macros and structures.
+ *
+ * @addtogroup SAMA5D2x_SECUMOD
+ * @{
+ */
+
+#ifndef SAMA_SECUMOD_LLD_H
+#define SAMA_SECUMOD_LLD_H
+
+#if HAL_USE_SECUMOD || defined(__DOXYGEN__)
+
+#include <string.h>
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+/**
+ * @name RAM ACCESS mode macros
+ * @{
+ */
+/**
+ * @brief No access allowed.
+ */
+#define RAMACC_NO_ACCESS 0x0U
+
+/**
+ * @brief Only write access allowed.
+ */
+#define RAMACC_WR_ACCESS 0x1U
+
+/**
+ * @brief Only read access allowed.
+ */
+#define RAMACC_RD_ACCESS 0x2U
+
+/**
+ * @brief Read and Write access allowed.
+ */
+#define RAMACC_WR_RD_ACCESS 0x3U
+/** @} */
+
+/**
+ * @name SOURCE INTERRUPT macros
+ * @{
+ */
+/*
+ * @brief Shield Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_SHLDM (0x1u << 0)
+
+/*
+ * @brief Double Frequency Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_DBLFM (0x1u << 1)
+
+/*
+ * @brief Test Pin Protection Interrupt Source.
+ */
+#define SECUMOD_TST (0x1u << 2)
+
+/*
+ * @brief JTAG Pins Protection Interrupt Source.
+ */
+#define SECUMOD_JTAG (0x1u << 3)
+
+/*
+ * @brief Master Clock Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_MCKM (0x1u << 5)
+
+/*
+ * @brief Low Temperature Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_TPML (0x1u << 6)
+
+/*
+ * @brief High Temperature Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_TPMH (0x1u << 7)
+
+/*
+ * @brief Low VDDBU Voltage Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_VDDBUL (0x1u << 10)
+
+/*
+ * @brief High VDDBU Voltage Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_VDDBUH (0x1u << 11)
+
+/*
+ * @brief Low VDDCORE Voltage Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_VDDCOREL (0x1u << 12)
+
+/*
+ * @brief High VDDCORE Voltage Monitor Protection Interrupt Source.
+ */
+#define SECUMOD_VDDCOREH (0x1u << 13)
+
+/*
+ * @brief PIOBUx Intrusion Detector Protection Interrupt Source.
+ */
+#define SECUMOD_DET0 (0x1u << 16)
+#define SECUMOD_DET1 (0x1u << 17)
+#define SECUMOD_DET2 (0x1u << 18)
+#define SECUMOD_DET3 (0x1u << 19)
+#define SECUMOD_DET4 (0x1u << 20)
+#define SECUMOD_DET5 (0x1u << 21)
+#define SECUMOD_DET6 (0x1u << 22)
+#define SECUMOD_DET7 (0x1u << 23)
+/** @} */
+
+/**
+ * @name RAM STATUS mode macros
+ * @{
+ */
+/**
+ * @brief No access violation occurred.
+ */
+#define RAMACCSR_NO_VIOLATION 0x0U
+
+/**
+ * @brief Write access violation occurred.
+ */
+#define RAMACCSR_WR_VIOLATION 0x1U
+
+/**
+ * @brief Read access violation occurred.
+ */
+#define RAMACCSR_RD_VIOLATION 0x2U
+
+/**
+ * @brief Read and Write access violation occurred.
+ */
+#define RAMACCSR_WR_RD_VIOLATION 0x3U
+/** @} */
+
+/**
+ * @name SCRAMB mode macros
+ * @{
+ */
+/**
+ * @brief SCRAMB ENABLE.
+ */
+#define SCRAMB_ENABLE 0x1U
+
+/**
+ * @brief SCRAMB DISABLE.
+ */
+#define SCRAMB_DISABLE 0x2U
+/** @} */
+
+/*
+ * @brief RAM regions of SECUMOD
+ */
+#define SECUMOD_RAM_REGIONS 6
+
+/*===========================================================================*/
+/* Driver pre-compile time settings. */
+/*===========================================================================*/
+/**
+ * @name Configuration options
+ * @{
+ */
+/**
+ * @brief SECUMOD interrupt priority level setting.
+ */
+#if !defined(SAMA_SECUMOD_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define SAMA_SECUMOD_IRQ_PRIORITY 7
+#endif
+
+/**
+ * @brief SECURAM interrupt priority level setting.
+ */
+#if !defined(SAMA_SECURAM_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define SAMA_SECURAM_IRQ_PRIORITY 7
+#endif
+
+/** @} */
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver data structures and types. */
+/*===========================================================================*/
+/**
+ * @brief Driver state machine possible states.
+ */
+typedef enum {
+ SEC_UNINIT = 0, /**< Not initialized. */
+ SEC_STOP = 1, /**< Stopped. */
+ SEC_ACTIVE = 2 /**< Active. */
+} secstate_t;
+
+/**
+ * @brief Type of an SECUMOD event.
+ */
+typedef enum {
+ SEC_EVENT_SHLDM = 0, /* Triggered on Shield Monitor. */
+ SEC_EVENT_DBLFM = 1, /* Triggered on Double Frequency Monitor. */
+ SEC_EVENT_TST = 2, /* Triggered on Test Pin Monitor. */
+ SEC_EVENT_JTAG = 3, /* Triggered on JTAG Pins Monitor. */
+ SEC_EVENT_MCKM = 4, /* Triggered on Master Clock Monitor. */
+ SEC_EVENT_TPML = 5, /* Triggered on Low Temperature Monitor. */
+ SEC_EVENT_TPMH = 6, /* Triggered on High Temperature Monitor. */
+ SEC_EVENT_VDDBUL = 7, /* Triggered on Low VDDBU Voltage Monitor. */
+ SEC_EVENT_VDDBUH = 8, /* Triggered on High VDDBU Voltage Monitor. */
+ SEC_EVENT_VDDCOREL = 9, /* Triggered on Low VDDCORE Voltage Monitor. */
+ SEC_EVENT_VDDCOREH = 10, /* Triggered on High VDDCORE Voltage Monitor. */
+ SEC_EVENT_PIOBU = 11 /* Triggered on PIOBU intrusion. */
+} secevent_t;
+
+/**
+ * @brief Type of a structure representing an SEC driver.
+ */
+typedef struct SECDriver SECDriver;
+
+/**
+ * @brief SECURAM notification callback type.
+ *
+ * @param[in] secp pointer to a @p SECDriver object
+ */
+typedef void (*securam_callback_t)(SECDriver *secp);
+
+/**
+ * @brief SECUMOD notification callback type.
+ *
+ * @param[in] secp pointer to a @p SECDriver object
+ */
+typedef void (*secumod_callback_t)(SECDriver *secp, secevent_t event);
+
+/**
+ * @brief SECUMOD erase callback type.
+ *
+ * @param[in] secp pointer to a @p SECDriver object
+ */
+typedef void (*erased_callback_t)(SECDriver *secp);
+
+/**
+ * @brief Type of RAM access mode.
+ */
+typedef uint32_t ram_access_mode_t;
+
+/**
+ * @brief PIOBU configuration structure.
+ */
+typedef struct {
+ /*
+ * @brief PIOBU pin's index
+ */
+ uint32_t pinIndex:3;
+ /*
+ * @brief alarm filter value
+ */
+ uint32_t afv:4;
+ /*
+ * @brief reset filter value
+ */
+ uint32_t rfv:4;
+ /*
+ * @brief I/O line mode
+ * @note 0: pure input, 1: enabled in output
+ */
+ uint32_t mode:1;
+ /*
+ * @brief Configure the I/O line in output mode
+ * @note 0: clear, 1: set
+ */
+ uint32_t outputLevel:1;
+ /*
+ * @brief programmable pull-up state
+ * @note 0: none, 1: pull-up; 2: pull-down; 3: reserved
+ */
+ uint32_t pullUpState:2;
+ /*
+ * @brief Pull-up/Down Scheduled:
+ * @note 0: no; 1: yes
+ */
+ uint32_t scheduled:1;
+ /*
+ * @brief switch input default state
+ */
+ uint32_t inputDefaultLevel:1;
+ /*
+ * @brief Mode of detection intrusion.
+ * @note 0: static, 1: dynamic
+ */
+ uint32_t dynamic:1;
+ /*
+ * @brief filter for dynamic signatures input
+ * @note 0: 3 stages majority vote, 1: 5 stages
+ */
+ uint32_t filter3_5:1;
+} PIOBUConfig;
+
+typedef struct {
+ /**
+ * @brief RAM Access Right
+ */
+ ram_access_mode_t mode;
+ /* End of the mandatory fields.*/
+} RAMAccessConfig;
+
+/**
+ * @brief Driver configuration structure.
+ * @note It could be empty on some architectures.
+ */
+typedef struct {
+ /**
+ * @brief Callback for memory violation
+ */
+ securam_callback_t securam_callback;
+ /**
+ * @brief Callback after memory erasing
+ */
+ erased_callback_t erased_callback;
+ /**
+ * @brief lenght of PIOBUConfig array
+ * @note Number of pads to configure
+ */
+ size_t length;
+ /**
+ * @brief pointer to PIOBUConfig array
+ */
+ PIOBUConfig *list;
+ /**
+ * @brief RAM Access Rights
+ */
+ RAMAccessConfig region[SECUMOD_RAM_REGIONS];
+ /**
+ * @brief SECUMOD CR register initialization data.
+ */
+ uint32_t cr;
+ /**
+ * @brief SECUMOD JTAGCR register initialization data.
+ */
+ uint32_t jtagcr;
+} SECConfig;
+
+/**
+ * @brief Structure representing a SEC driver.
+ */
+struct SECDriver {
+ /**
+ * @brief Driver state.
+ */
+ secstate_t state;
+ /**
+ * @brief Current configuration data.
+ */
+ const SECConfig *config;
+ /* End of the mandatory fields.*/
+ /**
+ * @brief Pointer to the SECUMOD registers block.
+ */
+ Secumod *sec;
+ /**
+ * @brief Callback pointer.
+ */
+ secumod_callback_t secumod_callback;
+};
+
+/*===========================================================================*/
+/* Driver macros. */
+/*===========================================================================*/
+/**
+ * @brief Switch to Backup Mode.
+ *
+ * @api
+ */
+#define secumodSwitch2BackupMode() { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_BACKUP; \
+}
+
+/**
+ * @brief Switch to Normal Mode.
+ *
+ * @api
+ */
+#define secumodSwitch2NormalMode() { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_NORMAL; \
+}
+
+/**
+ * @brief Start clear content of SECUMOD internal RAM 4Kbyte and 256bits.
+ *
+ * @api
+ */
+#define secumodSoftwareProtection() { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_SWPROT; \
+}
+
+/**
+ * @brief Enable/Disable Auto-Backup.
+ *
+ * @param[in] enable Enable auto-backup if true, disable otherwise.
+ *
+ * @api
+ */
+#define secumodSetAutoBackup(enable) { \
+ if (enable) { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_AUTOBKP_AUTO_SWITCH; \
+ } \
+ else { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_AUTOBKP_SW_SWITCH; \
+ } \
+}
+
+/**
+ * @brief Enable/Disable Memory Scrambling.
+ *
+ * @param[in] enable Enable memory scrambling if true, disable otherwise.
+ *
+ * @api
+ */
+#define secumodSetScrambling(enable) { \
+ if (enable) { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_SCRAMB_ENABLE; \
+ } \
+ else { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_SCRAMB_DISABLE; \
+ } \
+}
+
+/**
+ * @brief Toggle normal or backup protection registers appear and disappear.
+ *
+ * @api
+ */
+#define secumodToggleProtectionReg() { \
+ SECUMOD->SECUMOD_CR = SECUMOD_CR_KEY_TOGGLE; \
+}
+
+/**
+ * @brief Set scrambling key for secure RAM in SECUMOD.
+ *
+ * @param[in] key Scrambling key.
+ *
+ * @api
+ */
+#define secumodSetScramblingKey(key) { \
+ SECUMOD->SECUMOD_SCRKEY = key; \
+}
+
+/**
+ * @brief Get scrambling key for secure RAM in SECUMOD.
+ *
+ * @return Scrambling key.
+ *
+ * @api
+ */
+#define secumodGetScramblingKey() { \
+ SECUMOD->SECUMOD_SCRKEY; \
+}
+
+/**
+ * @brief Set protections enabled in backup mode.
+ *
+ * @note Make sure registers appears before call this function, to toggle the
+ * appearance of the registers using secumodToggleProtectionReg().
+ *
+ * @param[in] sources Bitwise OR of protections.
+ *
+ * @api
+ */
+#define secumodSetBackupModeProtections(sources) { \
+ SECUMOD->SECUMOD_BMPR = sources; \
+}
+
+/**
+ * @brief Set protections enabled in normal mode.
+ *
+ * @note Make sure registers appears before call this function, to toggle the
+ * appearance of the registers using secumodToggleProtectionReg().
+ *
+ * @param[in] sources Bitwise OR of protections.
+ *
+ * @api
+ */
+#define secumodSetNormalModeProtections(sources) { \
+ SECUMOD->SECUMOD_NMPR = sources; \
+ if (SECUMOD->SECUMOD_NMPR != sources) { \
+ secumodToggleProtectionReg(); \
+ SECUMOD->SECUMOD_NMPR = sources; \
+ } \
+}
+
+/**
+ * @brief Set protection sources which can cause wake up signal generated.
+ *
+ * @param[in] sources Bitwise OR of protection sources.
+ *
+ * @api
+ */
+#define secumodSetWakeupProtections(sources) { \
+ SECUMOD->SECUMOD_WKPR = sources; \
+}
+
+/**
+ * @brief Wait availability status of memory.
+ *
+ * @api
+ */
+#define secumodMemReady() { \
+ while (!(SECUMOD->SECUMOD_RAMRDY & SECUMOD_RAMRDY_READY)); \
+}
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+extern SECDriver SECD0;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void secInit(void);
+ void secObjectInit(SECDriver *secp);
+ void secStart(SECDriver *secp, const SECConfig *config);
+ void secStop(SECDriver *secp);
+ void secSetCallback(SECDriver *secp, uint32_t sources, secumod_callback_t callback);
+ void secumodSetJtagProtection(bool reset, uint8_t permissions, bool ack);
+ void secumodDynamicSignaturesTuning(uint16_t period, uint8_t detectionThr, uint8_t resetThr);
+ void secumodPeriodicAlarm(bool enable);
+ void secumodSetRamAccessRights(uint32_t region, uint8_t rights);
+ uint32_t secumodReadInternalMemory(uint8_t *data, uint32_t addr, uint32_t size);
+ uint32_t secumodWriteInternalMemory(uint8_t *data, uint32_t addr, uint32_t size);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* HAL_USE_SECUMOD */
+
+#endif /* SAMA_SECUMOD_LLD_H */
+
+/** @} */
diff --git a/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.c b/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.c
index 97412d680..0f4397a98 100644
--- a/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.c
+++ b/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.h b/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.h
index f67821701..2da8b80d8 100644
--- a/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.h
+++ b/os/hal/ports/STM32/LLD/ADCv1/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.c b/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.c
index 4845374ef..b69fb3172 100644
--- a/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.c
+++ b/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.h b/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.h
index 13df506c5..ecdd5ba0e 100644
--- a/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.h
+++ b/os/hal/ports/STM32/LLD/ADCv2/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c
index d16659ddb..864a49ea0 100644
--- a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c
+++ b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h
index 9bab6ff99..847dbbd17 100644
--- a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h
+++ b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c b/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c
index aa0436e15..826e5f732 100644
--- a/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c
+++ b/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.h b/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.h
index b2d788d2c..a286714ab 100644
--- a/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.h
+++ b/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.c b/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.c
index db1d4cc61..b19f99ad2 100644
--- a/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.c
+++ b/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.h b/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.h
index a5ea83258..1dcc090bc 100644
--- a/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.h
+++ b/os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c
index c9130327a..d951ccb4f 100644
--- a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c
+++ b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h
index 689fa0c16..89050569d 100644
--- a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h
+++ b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.c b/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.c
index 7e2f7f9db..d9d7c377d 100644
--- a/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.c
+++ b/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.h b/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.h
index fee426ac0..7a5980451 100644
--- a/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.h
+++ b/os/hal/ports/STM32/LLD/CRYPv1/hal_crypto_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.c b/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.c
index 1997f89c4..0f041110e 100644
--- a/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.c
+++ b/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.h b/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.h
index 5ae8f28f0..a5968f2a3 100644
--- a/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.h
+++ b/os/hal/ports/STM32/LLD/DACv1/hal_dac_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.c b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.c
index fa8b07a3e..636969caf 100644
--- a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.c
+++ b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
index 6dfd6debf..b0cd7d8f7 100644
--- a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.c b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.c
index fe0d7cb8e..2d4f001c4 100644
--- a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.c
+++ b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
index e725a2e5d..aaae310c7 100644
--- a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c
index 10cc8ca8b..c3fc1401b 100644
--- a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c
+++ b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h
index 67f22247b..02c82b30c 100644
--- a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.c b/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.c
index f031b313c..ab2ab1c59 100644
--- a/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.c
+++ b/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.h b/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.h
index 31f92bb93..577e80c44 100644
--- a/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.h
+++ b/os/hal/ports/STM32/LLD/EXTIv1/hal_ext_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.c b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.c
index 83c4f6e9f..6c12b97b5 100644
--- a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.c
+++ b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
index f7f1c2e81..387b049df 100644
--- a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
+++ b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.c b/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.c
index f8ac6b761..574d3c164 100644
--- a/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.c
+++ b/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.h b/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.h
index 88e9984ad..5aaa0bf28 100644
--- a/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.h
+++ b/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv2/stm32_gpio.h b/os/hal/ports/STM32/LLD/GPIOv2/stm32_gpio.h
index 5dec0825d..83fd51e7c 100644
--- a/os/hal/ports/STM32/LLD/GPIOv2/stm32_gpio.h
+++ b/os/hal/ports/STM32/LLD/GPIOv2/stm32_gpio.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
index 185f8392c..c2dcf7bc9 100644
--- a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
+++ b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h
index ef1e7ebdd..0980c836f 100644
--- a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h
+++ b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/GPIOv3/stm32_gpio.h b/os/hal/ports/STM32/LLD/GPIOv3/stm32_gpio.h
index 3c84c002b..c8ce1df81 100644
--- a/os/hal/ports/STM32/LLD/GPIOv3/stm32_gpio.h
+++ b/os/hal/ports/STM32/LLD/GPIOv3/stm32_gpio.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.c b/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.c
index c2a558d59..99540fd32 100644
--- a/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.c
+++ b/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h b/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h
index a812ceb3f..8fca92eed 100644
--- a/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h
+++ b/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.c b/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.c
index 19fa223eb..9263ea7a0 100644
--- a/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.c
+++ b/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h b/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h
index 7255e537d..4e835c5e9 100644
--- a/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h
+++ b/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c b/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c
index cc390df4a..ca25f4a22 100644
--- a/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c
+++ b/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.h b/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.h
index 3fd2511e7..7dfb23844 100644
--- a/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.h
+++ b/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c b/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c
index d19123998..5b8d5a8a6 100644
--- a/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c
+++ b/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.h b/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.h
index b4acbb4b6..31ad0164b 100644
--- a/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.h
+++ b/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c
index d1f31d058..48581c068 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c
+++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h
index 83fe2e5ae..56ef3792c 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.c b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.c
index 43c9b0bdd..9b94e478d 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.c
+++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.h b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.h
index 83fe2e5ae..56ef3792c 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld_alt.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h b/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h
index 6b326895f..feeb3906f 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.c b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.c
index c94d54ac1..b34e867eb 100644
--- a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.c
+++ b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.h b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.h
index fe7b31a61..5276b138f 100644
--- a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.h
+++ b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_qspi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.c b/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.c
index df4b7e764..030918c2d 100644
--- a/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.c
+++ b/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h b/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
index 99042dea8..98f750dc7 100644
--- a/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
+++ b/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.c b/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.c
index 5c42dbc3b..547b9e98c 100644
--- a/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.c
+++ b/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.h b/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.h
index eb376b948..51b3244d5 100644
--- a/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.h
+++ b/os/hal/ports/STM32/LLD/RTCv2/hal_rtc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c
index 676610675..a22839e15 100644
--- a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c
+++ b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h
index 2f7d3cfb2..71329aae4 100644
--- a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h
+++ b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
index 4fb98a67a..36e7854e3 100644
--- a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
+++ b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.h b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.h
index 44af62ab3..07ca48f66 100644
--- a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.h
+++ b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.c b/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.c
index a3f21b9cb..f18388923 100644
--- a/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.h b/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.h
index df5858b91..3a193ed1d 100644
--- a/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv1/hal_i2s_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.c b/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.c
index f55cbb4b6..b160433cd 100644
--- a/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.h b/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.h
index 421484355..62b9c061c 100644
--- a/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv1/hal_spi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c b/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c
index 9ac3ec7f8..f425805a4 100644
--- a/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.h b/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.h
index cd23c8470..5d634d3b6 100644
--- a/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv2/hal_i2s_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
index 439b8e3f6..6161d56a7 100644
--- a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h
index de194f521..3e97b98c8 100644
--- a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.c b/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.c
index 9ac3ec7f8..f425805a4 100644
--- a/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.h b/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.h
index cd23c8470..5d634d3b6 100644
--- a/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv3/hal_i2s_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.c b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.c
index 94ce5cf9a..86c2440e9 100644
--- a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h
index de499399e..43414a010 100644
--- a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c
index 79b126ec0..5d670d14f 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h
index 259db9f96..16762f38a 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
index 98a02fabb..73341736a 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.h b/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.h
index 261ddc32b..e516da6b9 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c
index 629096665..a59105215 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.h b/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.h
index 901d8858e..c4896edb6 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c
index dd9c9f35c..228592290 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.h b/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.h
index aac4b9da4..f4febb6c8 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
index 1fecb11fa..4ab843d77 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c b/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c
index 6a0994dfa..6b837356a 100644
--- a/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c
+++ b/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.h b/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.h
index a1433ade4..de259a70d 100644
--- a/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.h
+++ b/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c b/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c
index 570133669..3242e1478 100644
--- a/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c
+++ b/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.h b/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.h
index 8f4c34efe..fcf73e7fb 100644
--- a/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.h
+++ b/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c
index 620a7b9b8..80996a802 100644
--- a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c
+++ b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h
index b10bda008..79864d808 100644
--- a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h
+++ b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c
index f406d86a3..62624b50d 100644
--- a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c
+++ b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h
index 43fa557c1..6a28405eb 100644
--- a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h
+++ b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
index 4f2322a57..1abbbf747 100644
--- a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
+++ b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h
index b1073acf9..5e48c2576 100644
--- a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h
+++ b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h b/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h
index 9dc4beab3..9a8595ead 100644
--- a/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h
+++ b/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c b/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
index 45856cbe8..0370cae67 100644
--- a/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
+++ b/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.h b/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.h
index 611af611b..752889976 100644
--- a/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.h
+++ b/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F0xx/hal_lld.c b/os/hal/ports/STM32/STM32F0xx/hal_lld.c
index a53b8a230..ef3469484 100644
--- a/os/hal/ports/STM32/STM32F0xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F0xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F0xx/hal_lld.h b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
index ec20a2c34..7b01642dc 100644
--- a/os/hal/ports/STM32/STM32F0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_isr.c b/os/hal/ports/STM32/STM32F0xx/stm32_isr.c
index 12d931c44..7662e928f 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_isr.h b/os/hal/ports/STM32/STM32F0xx/stm32_isr.h
index 922ee3533..ebea61036 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_rcc.h b/os/hal/ports/STM32/STM32F0xx/stm32_rcc.h
index d99cf606e..7feb343bf 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
index 473b59b18..741980b1f 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.c b/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.c
index 92e79b9a5..07d2fec89 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.c
+++ b/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.h b/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.h
index 2c37db180..0449ca01b 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.h
+++ b/os/hal/ports/STM32/STM32F1xx/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld.c b/os/hal/ports/STM32/STM32F1xx/hal_lld.c
index 80fac7bbb..d72e1c65b 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld.h b/os/hal/ports/STM32/STM32F1xx/hal_lld.h
index 27b829b52..972cb3178 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h b/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
index e374184e4..0f54b2f27 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld_f103.h b/os/hal/ports/STM32/STM32F1xx/hal_lld_f103.h
index 1f614b1f4..a237dcc0d 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld_f103.h
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld_f103.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h b/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h
index ce4ae3c6d..6c10bc682 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_isr.c b/os/hal/ports/STM32/STM32F1xx/stm32_isr.c
index 813468553..0a81da54c 100644
--- a/os/hal/ports/STM32/STM32F1xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32F1xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_isr.h b/os/hal/ports/STM32/STM32F1xx/stm32_isr.h
index c39c4ecca..c1733f78b 100644
--- a/os/hal/ports/STM32/STM32F1xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F1xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_rcc.h b/os/hal/ports/STM32/STM32F1xx/stm32_rcc.h
index 5ac7bd478..9ba874cd9 100644
--- a/os/hal/ports/STM32/STM32F1xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32F1xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
index e8d19a246..cf820fb12 100644
--- a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/hal_adc_lld.c b/os/hal/ports/STM32/STM32F37x/hal_adc_lld.c
index 03f14cc32..4971e3fc6 100644
--- a/os/hal/ports/STM32/STM32F37x/hal_adc_lld.c
+++ b/os/hal/ports/STM32/STM32F37x/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/hal_adc_lld.h b/os/hal/ports/STM32/STM32F37x/hal_adc_lld.h
index ddea23640..05c122c69 100644
--- a/os/hal/ports/STM32/STM32F37x/hal_adc_lld.h
+++ b/os/hal/ports/STM32/STM32F37x/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/hal_lld.c b/os/hal/ports/STM32/STM32F37x/hal_lld.c
index 76a7ab954..e759ec85b 100644
--- a/os/hal/ports/STM32/STM32F37x/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F37x/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/hal_lld.h b/os/hal/ports/STM32/STM32F37x/hal_lld.h
index f7db70cdc..c912adfb1 100644
--- a/os/hal/ports/STM32/STM32F37x/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F37x/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/stm32_isr.c b/os/hal/ports/STM32/STM32F37x/stm32_isr.c
index 222bee1f7..6a021a690 100644
--- a/os/hal/ports/STM32/STM32F37x/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32F37x/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/stm32_isr.h b/os/hal/ports/STM32/STM32F37x/stm32_isr.h
index a2da2238c..ca528a80d 100644
--- a/os/hal/ports/STM32/STM32F37x/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F37x/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/stm32_rcc.h b/os/hal/ports/STM32/STM32F37x/stm32_rcc.h
index c043a57c0..600b70728 100644
--- a/os/hal/ports/STM32/STM32F37x/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32F37x/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F37x/stm32_registry.h b/os/hal/ports/STM32/STM32F37x/stm32_registry.h
index 55ba86766..1aa8e12ac 100644
--- a/os/hal/ports/STM32/STM32F37x/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F37x/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F3xx/hal_lld.c b/os/hal/ports/STM32/STM32F3xx/hal_lld.c
index a409285e6..653f1b4a8 100644
--- a/os/hal/ports/STM32/STM32F3xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F3xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F3xx/hal_lld.h b/os/hal/ports/STM32/STM32F3xx/hal_lld.h
index 1232ec395..33e3805d9 100644
--- a/os/hal/ports/STM32/STM32F3xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F3xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_isr.c b/os/hal/ports/STM32/STM32F3xx/stm32_isr.c
index d9c27b8d2..674cd0481 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_isr.h b/os/hal/ports/STM32/STM32F3xx/stm32_isr.h
index 918e587a3..c85cfbcb9 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_rcc.h b/os/hal/ports/STM32/STM32F3xx/stm32_rcc.h
index 859cb5846..9761c6782 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
index f24859464..472ed66fd 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.c b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
index 1918c0638..dd4f2b866 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.h b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
index 12356cbf3..2df64083c 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_isr.c b/os/hal/ports/STM32/STM32F4xx/stm32_isr.c
index 1b2126be3..6b594d275 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_isr.h b/os/hal/ports/STM32/STM32F4xx/stm32_isr.h
index 53b69bf26..bb53b4418 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h b/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
index caa4db8bd..e22cf27ab 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index 8d663aef7..20812b8c4 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.c b/os/hal/ports/STM32/STM32F7xx/hal_lld.c
index 74ab39734..770c84444 100644
--- a/os/hal/ports/STM32/STM32F7xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.h b/os/hal/ports/STM32/STM32F7xx/hal_lld.h
index d0c503361..2ca6013d8 100644
--- a/os/hal/ports/STM32/STM32F7xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_isr.c b/os/hal/ports/STM32/STM32F7xx/stm32_isr.c
index afee67ed4..28aeb1116 100644
--- a/os/hal/ports/STM32/STM32F7xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32F7xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_isr.h b/os/hal/ports/STM32/STM32F7xx/stm32_isr.h
index 22b16e677..7ca45e861 100644
--- a/os/hal/ports/STM32/STM32F7xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F7xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_rcc.h b/os/hal/ports/STM32/STM32F7xx/stm32_rcc.h
index dbe89349e..90b3e7828 100644
--- a/os/hal/ports/STM32/STM32F7xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32F7xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h
index 03797e13f..6c1a179be 100644
--- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32H7xx/hal_lld.c b/os/hal/ports/STM32/STM32H7xx/hal_lld.c
index 48004d3a5..bb79a429b 100644
--- a/os/hal/ports/STM32/STM32H7xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32H7xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32H7xx/hal_lld.h b/os/hal/ports/STM32/STM32H7xx/hal_lld.h
index 067df8ddb..6586d4c14 100644
--- a/os/hal/ports/STM32/STM32H7xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32H7xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_dmamux.h b/os/hal/ports/STM32/STM32H7xx/stm32_dmamux.h
index 28363fb6d..be348c46f 100644
--- a/os/hal/ports/STM32/STM32H7xx/stm32_dmamux.h
+++ b/os/hal/ports/STM32/STM32H7xx/stm32_dmamux.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_isr.c b/os/hal/ports/STM32/STM32H7xx/stm32_isr.c
index 95ae09e2e..35dadd3ca 100644
--- a/os/hal/ports/STM32/STM32H7xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32H7xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_isr.h b/os/hal/ports/STM32/STM32H7xx/stm32_isr.h
index e9d6a188f..68b4e98fa 100644
--- a/os/hal/ports/STM32/STM32H7xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32H7xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h b/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h
index ce5650c70..c607985c2 100644
--- a/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_registry.h b/os/hal/ports/STM32/STM32H7xx/stm32_registry.h
index 9241392f9..4389e675b 100644
--- a/os/hal/ports/STM32/STM32H7xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32H7xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.c b/os/hal/ports/STM32/STM32L0xx/hal_lld.c
index 9779fc476..b9ba22d26 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.h b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
index 6811ef313..d372c5bc2 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_isr.c b/os/hal/ports/STM32/STM32L0xx/stm32_isr.c
index a471834cb..ab4ea81de 100644
--- a/os/hal/ports/STM32/STM32L0xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32L0xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_isr.h b/os/hal/ports/STM32/STM32L0xx/stm32_isr.h
index 830334dff..3fa3dcc2a 100644
--- a/os/hal/ports/STM32/STM32L0xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32L0xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_rcc.h b/os/hal/ports/STM32/STM32L0xx/stm32_rcc.h
index e53e6db67..2e4462ae9 100644
--- a/os/hal/ports/STM32/STM32L0xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32L0xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
index c22bb2e85..724c0638d 100644
--- a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c b/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c
index 072b196e1..eb048a849 100644
--- a/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c
+++ b/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.h b/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.h
index e186b1dca..2ff2ec864 100644
--- a/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.h
+++ b/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_lld.c b/os/hal/ports/STM32/STM32L1xx/hal_lld.c
index cdbdf3992..4ca3335de 100644
--- a/os/hal/ports/STM32/STM32L1xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32L1xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_lld.h b/os/hal/ports/STM32/STM32L1xx/hal_lld.h
index 7c7dfce0b..cd0342a42 100644
--- a/os/hal/ports/STM32/STM32L1xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L1xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/platform.dox b/os/hal/ports/STM32/STM32L1xx/platform.dox
index e20b9fc31..801ed83a3 100644
--- a/os/hal/ports/STM32/STM32L1xx/platform.dox
+++ b/os/hal/ports/STM32/STM32L1xx/platform.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_isr.c b/os/hal/ports/STM32/STM32L1xx/stm32_isr.c
index 6d1a49d0b..16d3705d6 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32L1xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_isr.h b/os/hal/ports/STM32/STM32L1xx/stm32_isr.h
index 9d9d1f425..c29cd144f 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32L1xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_rcc.h b/os/hal/ports/STM32/STM32L1xx/stm32_rcc.h
index 8593aca9d..1c52db0a8 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32L1xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
index fe5f0bb68..3788a3f83 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.c b/os/hal/ports/STM32/STM32L4xx/hal_lld.c
index 4ea836e69..a144142bb 100644
--- a/os/hal/ports/STM32/STM32L4xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
index 8c113a97d..a40bc2b96 100644
--- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_isr.c b/os/hal/ports/STM32/STM32L4xx/stm32_isr.c
index f134dc9b3..e556586dc 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_isr.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_isr.h b/os/hal/ports/STM32/STM32L4xx/stm32_isr.h
index 76538a0a6..ab33b2584 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_isr.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_rcc.h b/os/hal/ports/STM32/STM32L4xx/stm32_rcc.h
index 3d1711da4..3a6c1f50c 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_rcc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
index da936c976..534dfe1e2 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/common/ARMCMx/cache.h b/os/hal/ports/common/ARMCMx/cache.h
index 5a71f252f..d3d0b5477 100644
--- a/os/hal/ports/common/ARMCMx/cache.h
+++ b/os/hal/ports/common/ARMCMx/cache.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/common/ARMCMx/mpu_v7m.h b/os/hal/ports/common/ARMCMx/mpu_v7m.h
index d8521d5f3..48954c95c 100644
--- a/os/hal/ports/common/ARMCMx/mpu_v7m.h
+++ b/os/hal/ports/common/ARMCMx/mpu_v7m.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/common/ARMCMx/nvic.c b/os/hal/ports/common/ARMCMx/nvic.c
index 49cfbc42a..2fd92f5b9 100644
--- a/os/hal/ports/common/ARMCMx/nvic.c
+++ b/os/hal/ports/common/ARMCMx/nvic.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/common/ARMCMx/nvic.h b/os/hal/ports/common/ARMCMx/nvic.h
index 2b0f33227..88e32a39f 100644
--- a/os/hal/ports/common/ARMCMx/nvic.h
+++ b/os/hal/ports/common/ARMCMx/nvic.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/console.c b/os/hal/ports/simulator/console.c
index 5dd193e16..c2fe6bc48 100644
--- a/os/hal/ports/simulator/console.c
+++ b/os/hal/ports/simulator/console.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/console.h b/os/hal/ports/simulator/console.h
index 8b7d0f1ba..299a17048 100644
--- a/os/hal/ports/simulator/console.h
+++ b/os/hal/ports/simulator/console.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/hal_pal_lld.c b/os/hal/ports/simulator/hal_pal_lld.c
index 934e8b605..d3d509ec8 100644
--- a/os/hal/ports/simulator/hal_pal_lld.c
+++ b/os/hal/ports/simulator/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/hal_pal_lld.h b/os/hal/ports/simulator/hal_pal_lld.h
index 2051f67f9..9deba8d51 100644
--- a/os/hal/ports/simulator/hal_pal_lld.h
+++ b/os/hal/ports/simulator/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/hal_st_lld.c b/os/hal/ports/simulator/hal_st_lld.c
index a58c74a36..5e7e2f1d3 100644
--- a/os/hal/ports/simulator/hal_st_lld.c
+++ b/os/hal/ports/simulator/hal_st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/hal_st_lld.h b/os/hal/ports/simulator/hal_st_lld.h
index 116e32ec3..0429b6921 100644
--- a/os/hal/ports/simulator/hal_st_lld.h
+++ b/os/hal/ports/simulator/hal_st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/posix/hal_lld.c b/os/hal/ports/simulator/posix/hal_lld.c
index e6a7ec3e5..041986092 100755
--- a/os/hal/ports/simulator/posix/hal_lld.c
+++ b/os/hal/ports/simulator/posix/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/posix/hal_lld.h b/os/hal/ports/simulator/posix/hal_lld.h
index 08dc51047..756be4e13 100755
--- a/os/hal/ports/simulator/posix/hal_lld.h
+++ b/os/hal/ports/simulator/posix/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/posix/hal_serial_lld.c b/os/hal/ports/simulator/posix/hal_serial_lld.c
index e4792fa8c..8408b60ba 100755
--- a/os/hal/ports/simulator/posix/hal_serial_lld.c
+++ b/os/hal/ports/simulator/posix/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/posix/hal_serial_lld.h b/os/hal/ports/simulator/posix/hal_serial_lld.h
index f3bd3fff1..a35d4caf2 100755
--- a/os/hal/ports/simulator/posix/hal_serial_lld.h
+++ b/os/hal/ports/simulator/posix/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/win32/hal_lld.c b/os/hal/ports/simulator/win32/hal_lld.c
index b2e16f3cc..624ec5f4d 100644
--- a/os/hal/ports/simulator/win32/hal_lld.c
+++ b/os/hal/ports/simulator/win32/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/win32/hal_lld.h b/os/hal/ports/simulator/win32/hal_lld.h
index a1c3d802d..0fa85f0ec 100644
--- a/os/hal/ports/simulator/win32/hal_lld.h
+++ b/os/hal/ports/simulator/win32/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/win32/hal_serial_lld.c b/os/hal/ports/simulator/win32/hal_serial_lld.c
index 031450e67..a55b3fc59 100644
--- a/os/hal/ports/simulator/win32/hal_serial_lld.c
+++ b/os/hal/ports/simulator/win32/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/simulator/win32/hal_serial_lld.h b/os/hal/ports/simulator/win32/hal_serial_lld.h
index 4f3bf5b83..f5a314cb2 100644
--- a/os/hal/ports/simulator/win32/hal_serial_lld.h
+++ b/os/hal/ports/simulator/win32/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c
index 9023bf586..1bfa7550f 100644
--- a/os/hal/src/hal.c
+++ b/os/hal/src/hal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_adc.c b/os/hal/src/hal_adc.c
index 222aaea4f..4f8ed0dbc 100644
--- a/os/hal/src/hal_adc.c
+++ b/os/hal/src/hal_adc.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_buffers.c b/os/hal/src/hal_buffers.c
index 0f1e35440..599c9517b 100644
--- a/os/hal/src/hal_buffers.c
+++ b/os/hal/src/hal_buffers.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_can.c b/os/hal/src/hal_can.c
index 6d174f7b6..257ad4e81 100644
--- a/os/hal/src/hal_can.c
+++ b/os/hal/src/hal_can.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_crypto.c b/os/hal/src/hal_crypto.c
index d1c139f64..9f38d5369 100644
--- a/os/hal/src/hal_crypto.c
+++ b/os/hal/src/hal_crypto.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_dac.c b/os/hal/src/hal_dac.c
index 39cb48124..21c550d4d 100644
--- a/os/hal/src/hal_dac.c
+++ b/os/hal/src/hal_dac.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_ext.c b/os/hal/src/hal_ext.c
index 658640e31..0ea5addf1 100644
--- a/os/hal/src/hal_ext.c
+++ b/os/hal/src/hal_ext.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_gpt.c b/os/hal/src/hal_gpt.c
index b224fc5fb..dd9145d97 100644
--- a/os/hal/src/hal_gpt.c
+++ b/os/hal/src/hal_gpt.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_i2c.c b/os/hal/src/hal_i2c.c
index 02d405daa..e4c0696eb 100644
--- a/os/hal/src/hal_i2c.c
+++ b/os/hal/src/hal_i2c.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_i2s.c b/os/hal/src/hal_i2s.c
index e34068bf5..13bb13c3c 100644
--- a/os/hal/src/hal_i2s.c
+++ b/os/hal/src/hal_i2s.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_icu.c b/os/hal/src/hal_icu.c
index cb8eaec64..1e8d27bef 100644
--- a/os/hal/src/hal_icu.c
+++ b/os/hal/src/hal_icu.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_mac.c b/os/hal/src/hal_mac.c
index 03c02cf76..c79f5a5e2 100644
--- a/os/hal/src/hal_mac.c
+++ b/os/hal/src/hal_mac.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_mmc_spi.c b/os/hal/src/hal_mmc_spi.c
index 2e6ef7658..73c047086 100644
--- a/os/hal/src/hal_mmc_spi.c
+++ b/os/hal/src/hal_mmc_spi.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_mmcsd.c b/os/hal/src/hal_mmcsd.c
index f3246dc3c..6c19064be 100644
--- a/os/hal/src/hal_mmcsd.c
+++ b/os/hal/src/hal_mmcsd.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_pal.c b/os/hal/src/hal_pal.c
index 3a83005ec..c6f562c16 100644
--- a/os/hal/src/hal_pal.c
+++ b/os/hal/src/hal_pal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_pwm.c b/os/hal/src/hal_pwm.c
index 453606c19..61e81c090 100644
--- a/os/hal/src/hal_pwm.c
+++ b/os/hal/src/hal_pwm.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_qspi.c b/os/hal/src/hal_qspi.c
index e8740f57c..e1a14caea 100644
--- a/os/hal/src/hal_qspi.c
+++ b/os/hal/src/hal_qspi.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_queues.c b/os/hal/src/hal_queues.c
index 0f9ab99a2..4ec84c1b3 100644
--- a/os/hal/src/hal_queues.c
+++ b/os/hal/src/hal_queues.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_rtc.c b/os/hal/src/hal_rtc.c
index 53ceb46fd..ea1d551b3 100644
--- a/os/hal/src/hal_rtc.c
+++ b/os/hal/src/hal_rtc.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_sdc.c b/os/hal/src/hal_sdc.c
index 2ae594dbb..25add1417 100644
--- a/os/hal/src/hal_sdc.c
+++ b/os/hal/src/hal_sdc.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_serial.c b/os/hal/src/hal_serial.c
index 6658a44e0..ee2b9ad55 100644
--- a/os/hal/src/hal_serial.c
+++ b/os/hal/src/hal_serial.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_serial_usb.c b/os/hal/src/hal_serial_usb.c
index f2dcd6c32..0e63a386c 100644
--- a/os/hal/src/hal_serial_usb.c
+++ b/os/hal/src/hal_serial_usb.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_spi.c b/os/hal/src/hal_spi.c
index 5860e4156..1858f01c9 100644
--- a/os/hal/src/hal_spi.c
+++ b/os/hal/src/hal_spi.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_st.c b/os/hal/src/hal_st.c
index bf4ba4cb9..3c613c1b2 100644
--- a/os/hal/src/hal_st.c
+++ b/os/hal/src/hal_st.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_uart.c b/os/hal/src/hal_uart.c
index ac3e4df3e..dd9f4a6d2 100644
--- a/os/hal/src/hal_uart.c
+++ b/os/hal/src/hal_uart.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_usb.c b/os/hal/src/hal_usb.c
index af8042e31..d264a2ac3 100644
--- a/os/hal/src/hal_usb.c
+++ b/os/hal/src/hal_usb.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/src/hal_wdg.c b/os/hal/src/hal_wdg.c
index c5797e810..544410db5 100644
--- a/os/hal/src/hal_wdg.c
+++ b/os/hal/src/hal_wdg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/board/board.c b/os/hal/templates/board/board.c
index 967202992..180ced98f 100644
--- a/os/hal/templates/board/board.c
+++ b/os/hal/templates/board/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/board/board.h b/os/hal/templates/board/board.h
index 408cbb918..d6186deaa 100644
--- a/os/hal/templates/board/board.h
+++ b/os/hal/templates/board/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_adc_lld.c b/os/hal/templates/hal_adc_lld.c
index 116654072..48169e066 100644
--- a/os/hal/templates/hal_adc_lld.c
+++ b/os/hal/templates/hal_adc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_adc_lld.h b/os/hal/templates/hal_adc_lld.h
index 5701e143b..cd2920c4c 100644
--- a/os/hal/templates/hal_adc_lld.h
+++ b/os/hal/templates/hal_adc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_can_lld.c b/os/hal/templates/hal_can_lld.c
index 07795e59e..30223a085 100644
--- a/os/hal/templates/hal_can_lld.c
+++ b/os/hal/templates/hal_can_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_can_lld.h b/os/hal/templates/hal_can_lld.h
index ca64835eb..e6a24478a 100644
--- a/os/hal/templates/hal_can_lld.h
+++ b/os/hal/templates/hal_can_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_crypto_lld.c b/os/hal/templates/hal_crypto_lld.c
index d58af0bc1..ec7fe3bcf 100644
--- a/os/hal/templates/hal_crypto_lld.c
+++ b/os/hal/templates/hal_crypto_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_crypto_lld.h b/os/hal/templates/hal_crypto_lld.h
index 63f5bccb5..77212b4db 100644
--- a/os/hal/templates/hal_crypto_lld.h
+++ b/os/hal/templates/hal_crypto_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_dac_lld.c b/os/hal/templates/hal_dac_lld.c
index b952f5b2d..55a983e13 100644
--- a/os/hal/templates/hal_dac_lld.c
+++ b/os/hal/templates/hal_dac_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_dac_lld.h b/os/hal/templates/hal_dac_lld.h
index 12c75ea6a..59b5b2b09 100644
--- a/os/hal/templates/hal_dac_lld.h
+++ b/os/hal/templates/hal_dac_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_ext_lld.c b/os/hal/templates/hal_ext_lld.c
index 6902eecb1..bfe203eb5 100644
--- a/os/hal/templates/hal_ext_lld.c
+++ b/os/hal/templates/hal_ext_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_ext_lld.h b/os/hal/templates/hal_ext_lld.h
index 44709aff2..7e5385b89 100644
--- a/os/hal/templates/hal_ext_lld.h
+++ b/os/hal/templates/hal_ext_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_gpt_lld.c b/os/hal/templates/hal_gpt_lld.c
index b82416d9e..e22edbd79 100644
--- a/os/hal/templates/hal_gpt_lld.c
+++ b/os/hal/templates/hal_gpt_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_gpt_lld.h b/os/hal/templates/hal_gpt_lld.h
index d2ab7da02..10cd5c058 100644
--- a/os/hal/templates/hal_gpt_lld.h
+++ b/os/hal/templates/hal_gpt_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_i2c_lld.c b/os/hal/templates/hal_i2c_lld.c
index 5d94a284b..819ff7a9f 100644
--- a/os/hal/templates/hal_i2c_lld.c
+++ b/os/hal/templates/hal_i2c_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_i2c_lld.h b/os/hal/templates/hal_i2c_lld.h
index 304bd219f..5015bf502 100644
--- a/os/hal/templates/hal_i2c_lld.h
+++ b/os/hal/templates/hal_i2c_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_i2s_lld.c b/os/hal/templates/hal_i2s_lld.c
index 0321d6464..2b6bff4dd 100644
--- a/os/hal/templates/hal_i2s_lld.c
+++ b/os/hal/templates/hal_i2s_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_i2s_lld.h b/os/hal/templates/hal_i2s_lld.h
index d665a19db..c6ec80b8b 100644
--- a/os/hal/templates/hal_i2s_lld.h
+++ b/os/hal/templates/hal_i2s_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_icu_lld.c b/os/hal/templates/hal_icu_lld.c
index 9db5b5f52..e70f87ba5 100644
--- a/os/hal/templates/hal_icu_lld.c
+++ b/os/hal/templates/hal_icu_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_icu_lld.h b/os/hal/templates/hal_icu_lld.h
index e88a1702a..6983e0f35 100644
--- a/os/hal/templates/hal_icu_lld.h
+++ b/os/hal/templates/hal_icu_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_lld.c b/os/hal/templates/hal_lld.c
index 71417ced7..84a768025 100644
--- a/os/hal/templates/hal_lld.c
+++ b/os/hal/templates/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_lld.h b/os/hal/templates/hal_lld.h
index baf9c4d0a..3dfe041c4 100644
--- a/os/hal/templates/hal_lld.h
+++ b/os/hal/templates/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_mac_lld.c b/os/hal/templates/hal_mac_lld.c
index 45d8722f6..4fb16a40c 100644
--- a/os/hal/templates/hal_mac_lld.c
+++ b/os/hal/templates/hal_mac_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_mac_lld.h b/os/hal/templates/hal_mac_lld.h
index 16b307763..c9b930fed 100644
--- a/os/hal/templates/hal_mac_lld.h
+++ b/os/hal/templates/hal_mac_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_pal_lld.c b/os/hal/templates/hal_pal_lld.c
index 95b188a58..9d7df5286 100644
--- a/os/hal/templates/hal_pal_lld.c
+++ b/os/hal/templates/hal_pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_pal_lld.h b/os/hal/templates/hal_pal_lld.h
index c947c9d12..51752e07f 100644
--- a/os/hal/templates/hal_pal_lld.h
+++ b/os/hal/templates/hal_pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_pwm_lld.c b/os/hal/templates/hal_pwm_lld.c
index 0d13a59f0..49e752f61 100644
--- a/os/hal/templates/hal_pwm_lld.c
+++ b/os/hal/templates/hal_pwm_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_pwm_lld.h b/os/hal/templates/hal_pwm_lld.h
index 418e8d5c8..5c4183c14 100644
--- a/os/hal/templates/hal_pwm_lld.h
+++ b/os/hal/templates/hal_pwm_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_qspi_lld.c b/os/hal/templates/hal_qspi_lld.c
index e9c7103c6..559e92a63 100644
--- a/os/hal/templates/hal_qspi_lld.c
+++ b/os/hal/templates/hal_qspi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_qspi_lld.h b/os/hal/templates/hal_qspi_lld.h
index b36b228c1..ed72321a9 100644
--- a/os/hal/templates/hal_qspi_lld.h
+++ b/os/hal/templates/hal_qspi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_rtc_lld.c b/os/hal/templates/hal_rtc_lld.c
index 007172df6..cac5f2a91 100644
--- a/os/hal/templates/hal_rtc_lld.c
+++ b/os/hal/templates/hal_rtc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_rtc_lld.h b/os/hal/templates/hal_rtc_lld.h
index c04805018..0c1131173 100644
--- a/os/hal/templates/hal_rtc_lld.h
+++ b/os/hal/templates/hal_rtc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_sdc_lld.c b/os/hal/templates/hal_sdc_lld.c
index c7134aab5..6f692f42d 100644
--- a/os/hal/templates/hal_sdc_lld.c
+++ b/os/hal/templates/hal_sdc_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_sdc_lld.h b/os/hal/templates/hal_sdc_lld.h
index 56f89d909..97c7d40bc 100644
--- a/os/hal/templates/hal_sdc_lld.h
+++ b/os/hal/templates/hal_sdc_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_serial_lld.c b/os/hal/templates/hal_serial_lld.c
index f5fe50916..f2d0acd5a 100644
--- a/os/hal/templates/hal_serial_lld.c
+++ b/os/hal/templates/hal_serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_serial_lld.h b/os/hal/templates/hal_serial_lld.h
index d50bb715e..4d6b2cb83 100644
--- a/os/hal/templates/hal_serial_lld.h
+++ b/os/hal/templates/hal_serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_spi_lld.c b/os/hal/templates/hal_spi_lld.c
index 7e75f1299..557342d6e 100644
--- a/os/hal/templates/hal_spi_lld.c
+++ b/os/hal/templates/hal_spi_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_spi_lld.h b/os/hal/templates/hal_spi_lld.h
index 79502d422..0355cb914 100644
--- a/os/hal/templates/hal_spi_lld.h
+++ b/os/hal/templates/hal_spi_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_st_lld.c b/os/hal/templates/hal_st_lld.c
index a58c74a36..5e7e2f1d3 100644
--- a/os/hal/templates/hal_st_lld.c
+++ b/os/hal/templates/hal_st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_st_lld.h b/os/hal/templates/hal_st_lld.h
index c59542778..a99bf81cf 100644
--- a/os/hal/templates/hal_st_lld.h
+++ b/os/hal/templates/hal_st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_uart_lld.c b/os/hal/templates/hal_uart_lld.c
index 67afd165f..be4291247 100644
--- a/os/hal/templates/hal_uart_lld.c
+++ b/os/hal/templates/hal_uart_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_uart_lld.h b/os/hal/templates/hal_uart_lld.h
index e070c2f4f..781a0adda 100644
--- a/os/hal/templates/hal_uart_lld.h
+++ b/os/hal/templates/hal_uart_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_usb_lld.c b/os/hal/templates/hal_usb_lld.c
index e06d93950..a36171637 100644
--- a/os/hal/templates/hal_usb_lld.c
+++ b/os/hal/templates/hal_usb_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_usb_lld.h b/os/hal/templates/hal_usb_lld.h
index c3a66ee3d..276ce7342 100644
--- a/os/hal/templates/hal_usb_lld.h
+++ b/os/hal/templates/hal_usb_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_wdg_lld.c b/os/hal/templates/hal_wdg_lld.c
index 2acc25b65..bec02ece4 100644
--- a/os/hal/templates/hal_wdg_lld.c
+++ b/os/hal/templates/hal_wdg_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/hal_wdg_lld.h b/os/hal/templates/hal_wdg_lld.h
index ee13a7d7c..5db264729 100644
--- a/os/hal/templates/hal_wdg_lld.h
+++ b/os/hal/templates/hal_wdg_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/halconf.h b/os/hal/templates/halconf.h
index 2e59d7a31..3080c14e8 100644
--- a/os/hal/templates/halconf.h
+++ b/os/hal/templates/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/mcuconf.h b/os/hal/templates/mcuconf.h
index e20bbe6ab..d020f9f1d 100644
--- a/os/hal/templates/mcuconf.h
+++ b/os/hal/templates/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/osal/osal.c b/os/hal/templates/osal/osal.c
index 58e0980fb..e83ebcabd 100644
--- a/os/hal/templates/osal/osal.c
+++ b/os/hal/templates/osal/osal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/templates/osal/osal.h b/os/hal/templates/osal/osal.h
index e6a4ddc7d..a9696019e 100644
--- a/os/hal/templates/osal/osal.h
+++ b/os/hal/templates/osal/osal.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/nil/templates/chconf.h b/os/nil/templates/chconf.h
index f4b39275f..efac28c0b 100644
--- a/os/nil/templates/chconf.h
+++ b/os/nil/templates/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h
index a2e8b5632..184320861 100644
--- a/os/rt/templates/chconf.h
+++ b/os/rt/templates/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/cpp_wrappers/ch.cpp b/os/various/cpp_wrappers/ch.cpp
index e7ffe77e5..988906b7b 100644
--- a/os/various/cpp_wrappers/ch.cpp
+++ b/os/various/cpp_wrappers/ch.cpp
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp
index d658086df..407b702ec 100644
--- a/os/various/cpp_wrappers/ch.hpp
+++ b/os/various/cpp_wrappers/ch.hpp
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/evtimer.c b/os/various/evtimer.c
index 8eb2e6f5e..e9dcb93db 100644
--- a/os/various/evtimer.c
+++ b/os/various/evtimer.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/evtimer.h b/os/various/evtimer.h
index 923d7bfe4..f0591a8fc 100644
--- a/os/various/evtimer.h
+++ b/os/various/evtimer.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/fatfs_bindings/fatfs_syscall.c b/os/various/fatfs_bindings/fatfs_syscall.c
index b7ff0306e..bfa169418 100644
--- a/os/various/fatfs_bindings/fatfs_syscall.c
+++ b/os/various/fatfs_bindings/fatfs_syscall.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/cc.h b/os/various/lwip_bindings/arch/cc.h
index 50c677a03..5258a8443 100644
--- a/os/various/lwip_bindings/arch/cc.h
+++ b/os/various/lwip_bindings/arch/cc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/perf.h b/os/various/lwip_bindings/arch/perf.h
index d8f280dd3..3a78c5e26 100644
--- a/os/various/lwip_bindings/arch/perf.h
+++ b/os/various/lwip_bindings/arch/perf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/sys_arch.c b/os/various/lwip_bindings/arch/sys_arch.c
index 8e0f56ea5..95e32d92b 100644
--- a/os/various/lwip_bindings/arch/sys_arch.c
+++ b/os/various/lwip_bindings/arch/sys_arch.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/sys_arch.h b/os/various/lwip_bindings/arch/sys_arch.h
index a86f40b97..bbb35317b 100644
--- a/os/various/lwip_bindings/arch/sys_arch.h
+++ b/os/various/lwip_bindings/arch/sys_arch.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c
index 5a7b3d732..3b6166293 100644
--- a/os/various/lwip_bindings/lwipthread.c
+++ b/os/various/lwip_bindings/lwipthread.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/lwipthread.h b/os/various/lwip_bindings/lwipthread.h
index ae72ccb74..8018195f2 100644
--- a/os/various/lwip_bindings/lwipthread.h
+++ b/os/various/lwip_bindings/lwipthread.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/static_lwipopts.h b/os/various/lwip_bindings/static_lwipopts.h
index a59d4b41a..956e7176f 100644
--- a/os/various/lwip_bindings/static_lwipopts.h
+++ b/os/various/lwip_bindings/static_lwipopts.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell.c b/os/various/shell/shell.c
index 3016dc6e8..1b6662136 100644
--- a/os/various/shell/shell.c
+++ b/os/various/shell/shell.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell.h b/os/various/shell/shell.h
index 241cbb278..97518b4e0 100644
--- a/os/various/shell/shell.h
+++ b/os/various/shell/shell.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell_cmd.c b/os/various/shell/shell_cmd.c
index 63a433e0c..37f80020e 100644
--- a/os/various/shell/shell_cmd.c
+++ b/os/various/shell/shell_cmd.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell_cmd.h b/os/various/shell/shell_cmd.h
index 2fd454d7d..f913822e3 100644
--- a/os/various/shell/shell_cmd.h
+++ b/os/various/shell/shell_cmd.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/syscalls.c b/os/various/syscalls.c
index d4f6429cc..72e28a830 100644
--- a/os/various/syscalls.c
+++ b/os/various/syscalls.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/various.dox b/os/various/various.dox
index 86bfba524..0c8540e89 100644
--- a/os/various/various.dox
+++ b/os/various/various.dox
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/wolfssl_bindings/hwrng.c b/os/various/wolfssl_bindings/hwrng.c
index f437b49ef..ca11e4836 100644
--- a/os/various/wolfssl_bindings/hwrng.c
+++ b/os/various/wolfssl_bindings/hwrng.c
@@ -1,80 +1,80 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-/*
- * **** This file incorporates work covered by the following copyright and ****
- * **** permission notice: ****
- *
- * Copyright (C) 2006-2017 wolfSSL Inc.
- *
- * This file is part of wolfSSL.
- *
- * wolfSSL 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 2 of the License, or
- * (at your option) any later version.
- *
- * wolfSSL 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, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
- *
- */
-#include <ch.h>
-#include <stdint.h>
-#include "wolfssl_chibios.h"
-#include "user_settings.h"
-
-unsigned int chibios_rand_generate(void)
-{
- static unsigned int last_value=0;
- static unsigned int new_value=0;
- unsigned int error_bits = 0;
- error_bits = RNG_SR_SEIS | RNG_SR_CEIS;
- while (new_value==last_value) {
- /* Check for error flags and if data is ready. */
- if ( ((RNG->SR & error_bits) == 0) && ( (RNG->SR & RNG_SR_DRDY) == 1 ) )
- new_value=RNG->DR;
- }
- last_value=new_value;
- return new_value;
-}
-
-int custom_rand_generate_block(unsigned char* output, unsigned int sz)
-{
- uint32_t i = 0;
-
- while (i < sz)
- {
- /* If not aligned or there is odd/remainder */
- if( (i + sizeof(CUSTOM_RAND_TYPE)) > sz ||
- ((uint32_t)&output[i] % sizeof(CUSTOM_RAND_TYPE)) != 0
- ) {
- /* Single byte at a time */
- output[i++] = (unsigned char)chibios_rand_generate();
- }
- else {
- /* Use native 8, 16, 32 or 64 copy instruction */
- *((CUSTOM_RAND_TYPE*)&output[i]) = chibios_rand_generate();
- i += sizeof(CUSTOM_RAND_TYPE);
- }
- }
- return 0;
-}
-
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+/*
+ * **** This file incorporates work covered by the following copyright and ****
+ * **** permission notice: ****
+ *
+ * Copyright (C) 2006-2017 wolfSSL Inc.
+ *
+ * This file is part of wolfSSL.
+ *
+ * wolfSSL 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * wolfSSL 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
+ *
+ */
+#include <ch.h>
+#include <stdint.h>
+#include "wolfssl_chibios.h"
+#include "user_settings.h"
+
+unsigned int chibios_rand_generate(void)
+{
+ static unsigned int last_value=0;
+ static unsigned int new_value=0;
+ unsigned int error_bits = 0;
+ error_bits = RNG_SR_SEIS | RNG_SR_CEIS;
+ while (new_value==last_value) {
+ /* Check for error flags and if data is ready. */
+ if ( ((RNG->SR & error_bits) == 0) && ( (RNG->SR & RNG_SR_DRDY) == 1 ) )
+ new_value=RNG->DR;
+ }
+ last_value=new_value;
+ return new_value;
+}
+
+int custom_rand_generate_block(unsigned char* output, unsigned int sz)
+{
+ uint32_t i = 0;
+
+ while (i < sz)
+ {
+ /* If not aligned or there is odd/remainder */
+ if( (i + sizeof(CUSTOM_RAND_TYPE)) > sz ||
+ ((uint32_t)&output[i] % sizeof(CUSTOM_RAND_TYPE)) != 0
+ ) {
+ /* Single byte at a time */
+ output[i++] = (unsigned char)chibios_rand_generate();
+ }
+ else {
+ /* Use native 8, 16, 32 or 64 copy instruction */
+ *((CUSTOM_RAND_TYPE*)&output[i]) = chibios_rand_generate();
+ i += sizeof(CUSTOM_RAND_TYPE);
+ }
+ }
+ return 0;
+}
+
diff --git a/os/various/wolfssl_bindings/wolfssl_chibios.c b/os/various/wolfssl_bindings/wolfssl_chibios.c
index f73ddf095..4b6cff314 100644
--- a/os/various/wolfssl_bindings/wolfssl_chibios.c
+++ b/os/various/wolfssl_bindings/wolfssl_chibios.c
@@ -1,252 +1,252 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-/*
- * **** This file incorporates work covered by the following copyright and ****
- * **** permission notice: ****
- *
- * Copyright (C) 2006-2017 wolfSSL Inc.
- *
- * This file is part of wolfSSL.
- *
- * wolfSSL 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 2 of the License, or
- * (at your option) any later version.
- *
- * wolfSSL 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, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
- *
- */
-
-#include "ch.h"
-#include "wolfssl_chibios.h"
-#include "lwip/opt.h"
-#include "lwip/arch.h"
-#include "lwip/api.h"
-#include "lwip/mem.h"
-#include "lwip/sockets.h"
-#include "lwip/tcp.h"
-#include <string.h>
-static int wolfssl_is_initialized = 0;
-
-sslconn *sslconn_accept(sslconn *sk)
-{
- sslconn *new;
- struct netconn *newconn = NULL;
- err_t err;
- err = netconn_accept(sk->conn, &newconn);
- if (err != ERR_OK) {
- return NULL;
- }
- new = chHeapAlloc(NULL, sizeof(sslconn));
- if (!new)
- return NULL;
- new->conn = newconn;
- new->ctx = sk->ctx;
- new->ssl = wolfSSL_new(new->ctx);
- wolfSSL_SetIOReadCtx(new->ssl, new);
- wolfSSL_SetIOWriteCtx(new->ssl, new);
-
- if (wolfSSL_accept(new->ssl) == SSL_SUCCESS) {
- wolfSSL_set_using_nonblock(new->ssl, 1);
- newconn->pcb.tcp->mss = 1480;
- return new;
- } else {
- wolfSSL_free(new->ssl);
- chHeapFree(new);
- return NULL;
- }
-}
-
-sslconn *sslconn_new(enum netconn_type t, WOLFSSL_METHOD* method)
-{
- sslconn *sk;
- if (!wolfssl_is_initialized) {
- wolfSSL_Init();
- wolfssl_is_initialized++;
- }
-
- sk = chHeapAlloc(NULL, sizeof(sslconn));
- if (!sk)
- return NULL;
- memset(sk, 0, sizeof(sslconn));
- sk->ctx = wolfSSL_CTX_new(method);
- if (!sk->ctx)
- goto error;
- sk->conn = netconn_new(t);
- if (!sk->conn)
- goto error;
- wolfSSL_SetIORecv(sk->ctx, wolfssl_recv_cb);
- wolfSSL_SetIOSend(sk->ctx, wolfssl_send_cb);
- return sk;
-
-error:
- if (sk->ctx)
- wolfSSL_CTX_free(sk->ctx);
- chHeapFree(sk);
- return NULL;
-}
-
-void sslconn_close(sslconn *sk)
-{
- netconn_delete(sk->conn);
- wolfSSL_free(sk->ssl);
- chHeapFree(sk);
-}
-
-
-/* IO Callbacks */
-int wolfssl_send_cb(WOLFSSL* ssl, char *buf, int sz, void *ctx)
-{
- sslconn *sk = (sslconn *)ctx;
- int err;
- (void)ssl;
- err = netconn_write(sk->conn, buf, sz, NETCONN_COPY);
- if (err == ERR_OK)
- return sz;
- else
- return -2;
-}
-
-
-#define MAX_SSL_BUF 1460
-static uint8_t ssl_recv_buffer[MAX_SSL_BUF];
-static int ssl_rb_len = 0;
-static int ssl_rb_off = 0;
-
-int wolfssl_recv_cb(WOLFSSL *ssl, char *buf, int sz, void *ctx)
-{
- sslconn *sk = (sslconn *)ctx;
- struct netbuf *inbuf = NULL;
- uint8_t *net_buf;
- uint16_t buflen;
- (void)ssl;
- err_t err;
-
- if (ssl_rb_len > 0) {
- if (sz > ssl_rb_len - ssl_rb_off)
- sz = ssl_rb_len - ssl_rb_off;
- memcpy(buf, ssl_recv_buffer + ssl_rb_off, sz);
- ssl_rb_off += sz;
- if (ssl_rb_off >= ssl_rb_len) {
- ssl_rb_len = 0;
- ssl_rb_off = 0;
- }
- return sz;
- }
-
-
- err = netconn_recv(sk->conn, &inbuf);
- if (err == ERR_OK) {
- netbuf_data(inbuf, (void **)&net_buf, &buflen);
- ssl_rb_len = buflen;
- if (ssl_rb_len > MAX_SSL_BUF)
- ssl_rb_len = MAX_SSL_BUF;
- memcpy(ssl_recv_buffer, net_buf, ssl_rb_len);
- ssl_rb_off = 0;
- if (sz > ssl_rb_len)
- sz = ssl_rb_len;
- memcpy(buf, ssl_recv_buffer, sz);
- ssl_rb_off += sz;
- if (ssl_rb_off >= ssl_rb_len) {
- ssl_rb_len = 0;
- ssl_rb_off = 0;
- }
- netbuf_delete(inbuf);
- return sz;
- }
- else
- return 0;
- //return WOLFSSL_CBIO_ERR_WANT_READ;
-}
-
-#ifndef ST2S
-# define ST2S(n) (((n) + CH_CFG_ST_FREQUENCY - 1UL) / CH_CFG_ST_FREQUENCY)
-#endif
-
-#ifndef ST2MS
-#define ST2MS(n) (((n) * 1000UL + CH_CFG_ST_FREQUENCY - 1UL) / CH_CFG_ST_FREQUENCY)
-#endif
-
-
-word32 LowResTimer(void)
-{
- systime_t t = chVTGetSystemTimeX();
- return ST2S(t);
-}
-
-uint32_t TimeNowInMilliseconds(void)
-{
- systime_t t = chVTGetSystemTimeX();
- return ST2MS(t);
-}
-
-void *chHeapRealloc (void *addr, uint32_t size)
-{
- union heap_header *hp;
- uint32_t prev_size, new_size;
-
- void *ptr;
-
- if(addr == NULL) {
- return chHeapAlloc(NULL, size);
- }
-
- /* previous allocated segment is preceded by an heap_header */
- hp = addr - sizeof(union heap_header);
- prev_size = hp->used.size; /* size is always multiple of 8 */
-
- /* check new size memory alignment */
- if(size % 8 == 0) {
- new_size = size;
- }
- else {
- new_size = ((int) (size / 8)) * 8 + 8;
- }
-
- if(prev_size >= new_size) {
- return addr;
- }
-
- ptr = chHeapAlloc(NULL, size);
- if(ptr == NULL) {
- return NULL;
- }
-
- memcpy(ptr, addr, prev_size);
-
- chHeapFree(addr);
-
- return ptr;
-}
-
-void *chibios_alloc(void *heap, int size)
-{
- return chHeapAlloc(heap, size);
-}
-
-void chibios_free(void *ptr)
-{
- if (ptr)
- chHeapFree(ptr);
-}
-
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+/*
+ * **** This file incorporates work covered by the following copyright and ****
+ * **** permission notice: ****
+ *
+ * Copyright (C) 2006-2017 wolfSSL Inc.
+ *
+ * This file is part of wolfSSL.
+ *
+ * wolfSSL 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * wolfSSL 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
+ *
+ */
+
+#include "ch.h"
+#include "wolfssl_chibios.h"
+#include "lwip/opt.h"
+#include "lwip/arch.h"
+#include "lwip/api.h"
+#include "lwip/mem.h"
+#include "lwip/sockets.h"
+#include "lwip/tcp.h"
+#include <string.h>
+static int wolfssl_is_initialized = 0;
+
+sslconn *sslconn_accept(sslconn *sk)
+{
+ sslconn *new;
+ struct netconn *newconn = NULL;
+ err_t err;
+ err = netconn_accept(sk->conn, &newconn);
+ if (err != ERR_OK) {
+ return NULL;
+ }
+ new = chHeapAlloc(NULL, sizeof(sslconn));
+ if (!new)
+ return NULL;
+ new->conn = newconn;
+ new->ctx = sk->ctx;
+ new->ssl = wolfSSL_new(new->ctx);
+ wolfSSL_SetIOReadCtx(new->ssl, new);
+ wolfSSL_SetIOWriteCtx(new->ssl, new);
+
+ if (wolfSSL_accept(new->ssl) == SSL_SUCCESS) {
+ wolfSSL_set_using_nonblock(new->ssl, 1);
+ newconn->pcb.tcp->mss = 1480;
+ return new;
+ } else {
+ wolfSSL_free(new->ssl);
+ chHeapFree(new);
+ return NULL;
+ }
+}
+
+sslconn *sslconn_new(enum netconn_type t, WOLFSSL_METHOD* method)
+{
+ sslconn *sk;
+ if (!wolfssl_is_initialized) {
+ wolfSSL_Init();
+ wolfssl_is_initialized++;
+ }
+
+ sk = chHeapAlloc(NULL, sizeof(sslconn));
+ if (!sk)
+ return NULL;
+ memset(sk, 0, sizeof(sslconn));
+ sk->ctx = wolfSSL_CTX_new(method);
+ if (!sk->ctx)
+ goto error;
+ sk->conn = netconn_new(t);
+ if (!sk->conn)
+ goto error;
+ wolfSSL_SetIORecv(sk->ctx, wolfssl_recv_cb);
+ wolfSSL_SetIOSend(sk->ctx, wolfssl_send_cb);
+ return sk;
+
+error:
+ if (sk->ctx)
+ wolfSSL_CTX_free(sk->ctx);
+ chHeapFree(sk);
+ return NULL;
+}
+
+void sslconn_close(sslconn *sk)
+{
+ netconn_delete(sk->conn);
+ wolfSSL_free(sk->ssl);
+ chHeapFree(sk);
+}
+
+
+/* IO Callbacks */
+int wolfssl_send_cb(WOLFSSL* ssl, char *buf, int sz, void *ctx)
+{
+ sslconn *sk = (sslconn *)ctx;
+ int err;
+ (void)ssl;
+ err = netconn_write(sk->conn, buf, sz, NETCONN_COPY);
+ if (err == ERR_OK)
+ return sz;
+ else
+ return -2;
+}
+
+
+#define MAX_SSL_BUF 1460
+static uint8_t ssl_recv_buffer[MAX_SSL_BUF];
+static int ssl_rb_len = 0;
+static int ssl_rb_off = 0;
+
+int wolfssl_recv_cb(WOLFSSL *ssl, char *buf, int sz, void *ctx)
+{
+ sslconn *sk = (sslconn *)ctx;
+ struct netbuf *inbuf = NULL;
+ uint8_t *net_buf;
+ uint16_t buflen;
+ (void)ssl;
+ err_t err;
+
+ if (ssl_rb_len > 0) {
+ if (sz > ssl_rb_len - ssl_rb_off)
+ sz = ssl_rb_len - ssl_rb_off;
+ memcpy(buf, ssl_recv_buffer + ssl_rb_off, sz);
+ ssl_rb_off += sz;
+ if (ssl_rb_off >= ssl_rb_len) {
+ ssl_rb_len = 0;
+ ssl_rb_off = 0;
+ }
+ return sz;
+ }
+
+
+ err = netconn_recv(sk->conn, &inbuf);
+ if (err == ERR_OK) {
+ netbuf_data(inbuf, (void **)&net_buf, &buflen);
+ ssl_rb_len = buflen;
+ if (ssl_rb_len > MAX_SSL_BUF)
+ ssl_rb_len = MAX_SSL_BUF;
+ memcpy(ssl_recv_buffer, net_buf, ssl_rb_len);
+ ssl_rb_off = 0;
+ if (sz > ssl_rb_len)
+ sz = ssl_rb_len;
+ memcpy(buf, ssl_recv_buffer, sz);
+ ssl_rb_off += sz;
+ if (ssl_rb_off >= ssl_rb_len) {
+ ssl_rb_len = 0;
+ ssl_rb_off = 0;
+ }
+ netbuf_delete(inbuf);
+ return sz;
+ }
+ else
+ return 0;
+ //return WOLFSSL_CBIO_ERR_WANT_READ;
+}
+
+#ifndef ST2S
+# define ST2S(n) (((n) + CH_CFG_ST_FREQUENCY - 1UL) / CH_CFG_ST_FREQUENCY)
+#endif
+
+#ifndef ST2MS
+#define ST2MS(n) (((n) * 1000UL + CH_CFG_ST_FREQUENCY - 1UL) / CH_CFG_ST_FREQUENCY)
+#endif
+
+
+word32 LowResTimer(void)
+{
+ systime_t t = chVTGetSystemTimeX();
+ return ST2S(t);
+}
+
+uint32_t TimeNowInMilliseconds(void)
+{
+ systime_t t = chVTGetSystemTimeX();
+ return ST2MS(t);
+}
+
+void *chHeapRealloc (void *addr, uint32_t size)
+{
+ union heap_header *hp;
+ uint32_t prev_size, new_size;
+
+ void *ptr;
+
+ if(addr == NULL) {
+ return chHeapAlloc(NULL, size);
+ }
+
+ /* previous allocated segment is preceded by an heap_header */
+ hp = addr - sizeof(union heap_header);
+ prev_size = hp->used.size; /* size is always multiple of 8 */
+
+ /* check new size memory alignment */
+ if(size % 8 == 0) {
+ new_size = size;
+ }
+ else {
+ new_size = ((int) (size / 8)) * 8 + 8;
+ }
+
+ if(prev_size >= new_size) {
+ return addr;
+ }
+
+ ptr = chHeapAlloc(NULL, size);
+ if(ptr == NULL) {
+ return NULL;
+ }
+
+ memcpy(ptr, addr, prev_size);
+
+ chHeapFree(addr);
+
+ return ptr;
+}
+
+void *chibios_alloc(void *heap, int size)
+{
+ return chHeapAlloc(heap, size);
+}
+
+void chibios_free(void *ptr)
+{
+ if (ptr)
+ chHeapFree(ptr);
+}
+
diff --git a/os/various/wolfssl_bindings/wolfssl_chibios.h b/os/various/wolfssl_bindings/wolfssl_chibios.h
index 18f7781be..e29a40941 100644
--- a/os/various/wolfssl_bindings/wolfssl_chibios.h
+++ b/os/various/wolfssl_bindings/wolfssl_chibios.h
@@ -1,69 +1,69 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-/*
- * **** This file incorporates work covered by the following copyright and ****
- * **** permission notice: ****
- *
- * Copyright (C) 2006-2017 wolfSSL Inc.
- *
- * This file is part of wolfSSL.
- *
- * wolfSSL 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 2 of the License, or
- * (at your option) any later version.
- *
- * wolfSSL 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, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
- *
- */
-#ifndef WOLFSSL_SK_H
-#define WOLFSSL_SK_H
-#include "wolfssl/ssl.h"
-#include "wolfssl/wolfcrypt/types.h"
-#include "lwip/opt.h"
-#include "lwip/arch.h"
-#include "lwip/api.h"
-#include "user_settings.h"
-#define XMALLOC(s,h,t) chibios_alloc(h,s)
-#define XFREE(p,h,t) chibios_free(p)
-
-struct sslconn {
- WOLFSSL_CTX *ctx;
- WOLFSSL *ssl;
- struct netconn *conn;
-};
-
-typedef struct sslconn sslconn;
-
-sslconn *sslconn_accept(struct sslconn *sk);
-sslconn *sslconn_new(enum netconn_type t, WOLFSSL_METHOD *method);
-void sslconn_close(sslconn *sk);
-
-int wolfssl_send_cb(WOLFSSL* ssl, char *buf, int sz, void *ctx);
-int wolfssl_recv_cb(WOLFSSL *ssl, char *buf, int sz, void *ctx);
-
-void *chibios_alloc(void *heap, int size);
-void chibios_free(void *ptr);
-word32 LowResTimer(void);
-
-#endif
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+/*
+ * **** This file incorporates work covered by the following copyright and ****
+ * **** permission notice: ****
+ *
+ * Copyright (C) 2006-2017 wolfSSL Inc.
+ *
+ * This file is part of wolfSSL.
+ *
+ * wolfSSL 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * wolfSSL 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
+ *
+ */
+#ifndef WOLFSSL_SK_H
+#define WOLFSSL_SK_H
+#include "wolfssl/ssl.h"
+#include "wolfssl/wolfcrypt/types.h"
+#include "lwip/opt.h"
+#include "lwip/arch.h"
+#include "lwip/api.h"
+#include "user_settings.h"
+#define XMALLOC(s,h,t) chibios_alloc(h,s)
+#define XFREE(p,h,t) chibios_free(p)
+
+struct sslconn {
+ WOLFSSL_CTX *ctx;
+ WOLFSSL *ssl;
+ struct netconn *conn;
+};
+
+typedef struct sslconn sslconn;
+
+sslconn *sslconn_accept(struct sslconn *sk);
+sslconn *sslconn_new(enum netconn_type t, WOLFSSL_METHOD *method);
+void sslconn_close(sslconn *sk);
+
+int wolfssl_send_cb(WOLFSSL* ssl, char *buf, int sz, void *ctx);
+int wolfssl_recv_cb(WOLFSSL *ssl, char *buf, int sz, void *ctx);
+
+void *chibios_alloc(void *heap, int size);
+void chibios_free(void *ptr);
+word32 LowResTimer(void);
+
+#endif
diff --git a/test/crypto/source/test/cry_test_root.c b/test/crypto/source/test/cry_test_root.c
index 77d07a822..80f97bc3e 100644
--- a/test/crypto/source/test/cry_test_root.c
+++ b/test/crypto/source/test/cry_test_root.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_root.h b/test/crypto/source/test/cry_test_root.h
index 18fa28074..0fb922d3d 100644
--- a/test/crypto/source/test/cry_test_root.h
+++ b/test/crypto/source/test/cry_test_root.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_001.c b/test/crypto/source/test/cry_test_sequence_001.c
index 3a45c786a..338a62111 100644
--- a/test/crypto/source/test/cry_test_sequence_001.c
+++ b/test/crypto/source/test/cry_test_sequence_001.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_001.h b/test/crypto/source/test/cry_test_sequence_001.h
index ca55338ea..97e085526 100644
--- a/test/crypto/source/test/cry_test_sequence_001.h
+++ b/test/crypto/source/test/cry_test_sequence_001.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_002.c b/test/crypto/source/test/cry_test_sequence_002.c
index f8fdb739e..db2bc4b24 100644
--- a/test/crypto/source/test/cry_test_sequence_002.c
+++ b/test/crypto/source/test/cry_test_sequence_002.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_002.h b/test/crypto/source/test/cry_test_sequence_002.h
index eb5966111..e0a181c19 100644
--- a/test/crypto/source/test/cry_test_sequence_002.h
+++ b/test/crypto/source/test/cry_test_sequence_002.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_003.c b/test/crypto/source/test/cry_test_sequence_003.c
index 7ef920ef2..b0c85bd90 100644
--- a/test/crypto/source/test/cry_test_sequence_003.c
+++ b/test/crypto/source/test/cry_test_sequence_003.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_003.h b/test/crypto/source/test/cry_test_sequence_003.h
index 46bb52fc9..56ddc4acb 100644
--- a/test/crypto/source/test/cry_test_sequence_003.h
+++ b/test/crypto/source/test/cry_test_sequence_003.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_004.c b/test/crypto/source/test/cry_test_sequence_004.c
index 2b41f2b91..842278935 100644
--- a/test/crypto/source/test/cry_test_sequence_004.c
+++ b/test/crypto/source/test/cry_test_sequence_004.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_004.h b/test/crypto/source/test/cry_test_sequence_004.h
index b351fd35d..465ea523d 100644
--- a/test/crypto/source/test/cry_test_sequence_004.h
+++ b/test/crypto/source/test/cry_test_sequence_004.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_005.c b/test/crypto/source/test/cry_test_sequence_005.c
index fb15c13c1..91478ccb1 100644
--- a/test/crypto/source/test/cry_test_sequence_005.c
+++ b/test/crypto/source/test/cry_test_sequence_005.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_005.h b/test/crypto/source/test/cry_test_sequence_005.h
index c0e945365..93f4c2711 100644
--- a/test/crypto/source/test/cry_test_sequence_005.h
+++ b/test/crypto/source/test/cry_test_sequence_005.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_006.c b/test/crypto/source/test/cry_test_sequence_006.c
index b2c54facb..11189ea59 100644
--- a/test/crypto/source/test/cry_test_sequence_006.c
+++ b/test/crypto/source/test/cry_test_sequence_006.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_006.h b/test/crypto/source/test/cry_test_sequence_006.h
index 8bc6061ce..f96620560 100644
--- a/test/crypto/source/test/cry_test_sequence_006.h
+++ b/test/crypto/source/test/cry_test_sequence_006.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_007.c b/test/crypto/source/test/cry_test_sequence_007.c
index af114650f..71be2fbed 100644
--- a/test/crypto/source/test/cry_test_sequence_007.c
+++ b/test/crypto/source/test/cry_test_sequence_007.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/test/cry_test_sequence_007.h b/test/crypto/source/test/cry_test_sequence_007.h
index fc8471cc3..77b68803c 100644
--- a/test/crypto/source/test/cry_test_sequence_007.h
+++ b/test/crypto/source/test/cry_test_sequence_007.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/testref/ref_aes.c b/test/crypto/source/testref/ref_aes.c
index 11c6ef480..33f47556e 100644
--- a/test/crypto/source/testref/ref_aes.c
+++ b/test/crypto/source/testref/ref_aes.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/testref/ref_aes.h b/test/crypto/source/testref/ref_aes.h
index a4e6759fc..e2a7e57cd 100644
--- a/test/crypto/source/testref/ref_aes.h
+++ b/test/crypto/source/testref/ref_aes.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/testref/ref_des.c b/test/crypto/source/testref/ref_des.c
index fca75627c..046a642ed 100644
--- a/test/crypto/source/testref/ref_des.c
+++ b/test/crypto/source/testref/ref_des.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/testref/ref_des.h b/test/crypto/source/testref/ref_des.h
index c839084b7..31516447a 100644
--- a/test/crypto/source/testref/ref_des.h
+++ b/test/crypto/source/testref/ref_des.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/testref/ref_sha.c b/test/crypto/source/testref/ref_sha.c
index bada14c93..741c13dee 100644
--- a/test/crypto/source/testref/ref_sha.c
+++ b/test/crypto/source/testref/ref_sha.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/crypto/source/testref/ref_sha.h b/test/crypto/source/testref/ref_sha.h
index b487d519b..0d413b672 100644
--- a/test/crypto/source/testref/ref_sha.h
+++ b/test/crypto/source/testref/ref_sha.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/hal/testbuild/main.c b/test/hal/testbuild/main.c
index 505ef03bd..b9fcde549 100644
--- a/test/hal/testbuild/main.c
+++ b/test/hal/testbuild/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/lib/ch_test.c b/test/lib/ch_test.c
index ef5883108..859ecdf9f 100644
--- a/test/lib/ch_test.c
+++ b/test/lib/ch_test.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/lib/ch_test.h b/test/lib/ch_test.h
index 20d62332b..b78591689 100644
--- a/test/lib/ch_test.h
+++ b/test/lib/ch_test.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/mfs/source/test/mfs_test_root.c b/test/mfs/source/test/mfs_test_root.c
index 27d5efb59..ce23aaac6 100644
--- a/test/mfs/source/test/mfs_test_root.c
+++ b/test/mfs/source/test/mfs_test_root.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/mfs/source/test/mfs_test_root.h b/test/mfs/source/test/mfs_test_root.h
index 51577e6a7..4679c0c96 100644
--- a/test/mfs/source/test/mfs_test_root.h
+++ b/test/mfs/source/test/mfs_test_root.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/mfs/source/test/mfs_test_sequence_001.c b/test/mfs/source/test/mfs_test_sequence_001.c
index d6ee2fe42..f25c12746 100644
--- a/test/mfs/source/test/mfs_test_sequence_001.c
+++ b/test/mfs/source/test/mfs_test_sequence_001.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/mfs/source/test/mfs_test_sequence_001.h b/test/mfs/source/test/mfs_test_sequence_001.h
index 6ace5d9c9..184b8f8cb 100644
--- a/test/mfs/source/test/mfs_test_sequence_001.h
+++ b/test/mfs/source/test/mfs_test_sequence_001.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/mfs/source/test/mfs_test_sequence_002.c b/test/mfs/source/test/mfs_test_sequence_002.c
index 973760518..c8cbfe6d5 100644
--- a/test/mfs/source/test/mfs_test_sequence_002.c
+++ b/test/mfs/source/test/mfs_test_sequence_002.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/mfs/source/test/mfs_test_sequence_002.h b/test/mfs/source/test/mfs_test_sequence_002.h
index d451e5d5a..df0178d9b 100644
--- a/test/mfs/source/test/mfs_test_sequence_002.h
+++ b/test/mfs/source/test/mfs_test_sequence_002.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_root.c b/test/nil/source/test/nil_test_root.c
index 22fb9f196..b996df583 100644
--- a/test/nil/source/test/nil_test_root.c
+++ b/test/nil/source/test/nil_test_root.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_root.h b/test/nil/source/test/nil_test_root.h
index 967c2d477..95c04bed7 100644
--- a/test/nil/source/test/nil_test_root.h
+++ b/test/nil/source/test/nil_test_root.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_001.c b/test/nil/source/test/nil_test_sequence_001.c
index d4a2f830a..2f14c82e2 100644
--- a/test/nil/source/test/nil_test_sequence_001.c
+++ b/test/nil/source/test/nil_test_sequence_001.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_001.h b/test/nil/source/test/nil_test_sequence_001.h
index 5d1781747..bc1c4043a 100644
--- a/test/nil/source/test/nil_test_sequence_001.h
+++ b/test/nil/source/test/nil_test_sequence_001.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_002.c b/test/nil/source/test/nil_test_sequence_002.c
index b9c5efedb..f12492e21 100644
--- a/test/nil/source/test/nil_test_sequence_002.c
+++ b/test/nil/source/test/nil_test_sequence_002.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_002.h b/test/nil/source/test/nil_test_sequence_002.h
index 4b62bd4d6..39348e16b 100644
--- a/test/nil/source/test/nil_test_sequence_002.h
+++ b/test/nil/source/test/nil_test_sequence_002.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_003.c b/test/nil/source/test/nil_test_sequence_003.c
index d8ee6f2cb..dc92f01b3 100644
--- a/test/nil/source/test/nil_test_sequence_003.c
+++ b/test/nil/source/test/nil_test_sequence_003.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_003.h b/test/nil/source/test/nil_test_sequence_003.h
index 10adaeaf5..3d7d4b836 100644
--- a/test/nil/source/test/nil_test_sequence_003.h
+++ b/test/nil/source/test/nil_test_sequence_003.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_004.c b/test/nil/source/test/nil_test_sequence_004.c
index 16e86897d..77c7d1f01 100644
--- a/test/nil/source/test/nil_test_sequence_004.c
+++ b/test/nil/source/test/nil_test_sequence_004.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/source/test/nil_test_sequence_004.h b/test/nil/source/test/nil_test_sequence_004.h
index 88a1080ab..f43477ddc 100644
--- a/test/nil/source/test/nil_test_sequence_004.h
+++ b/test/nil/source/test/nil_test_sequence_004.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/testbuild/chconf.h b/test/nil/testbuild/chconf.h
index 1eb550a45..b2b1bb7b0 100644
--- a/test/nil/testbuild/chconf.h
+++ b/test/nil/testbuild/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/nil/testbuild/main.c b/test/nil/testbuild/main.c
index 683af8c8d..04879fd56 100644
--- a/test/nil/testbuild/main.c
+++ b/test/nil/testbuild/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_root.c b/test/oslib/source/test/oslib_test_root.c
index e222dcd06..2b8aae5ec 100644
--- a/test/oslib/source/test/oslib_test_root.c
+++ b/test/oslib/source/test/oslib_test_root.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_root.h b/test/oslib/source/test/oslib_test_root.h
index 760ccddc8..7e419375d 100644
--- a/test/oslib/source/test/oslib_test_root.h
+++ b/test/oslib/source/test/oslib_test_root.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_001.c b/test/oslib/source/test/oslib_test_sequence_001.c
index 74672a242..6f4fefc7c 100644
--- a/test/oslib/source/test/oslib_test_sequence_001.c
+++ b/test/oslib/source/test/oslib_test_sequence_001.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_001.h b/test/oslib/source/test/oslib_test_sequence_001.h
index 161c5278b..fc671846e 100644
--- a/test/oslib/source/test/oslib_test_sequence_001.h
+++ b/test/oslib/source/test/oslib_test_sequence_001.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_002.c b/test/oslib/source/test/oslib_test_sequence_002.c
index bd661ce13..b6fa0f20e 100644
--- a/test/oslib/source/test/oslib_test_sequence_002.c
+++ b/test/oslib/source/test/oslib_test_sequence_002.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_002.h b/test/oslib/source/test/oslib_test_sequence_002.h
index 7525db632..0a3c238b3 100644
--- a/test/oslib/source/test/oslib_test_sequence_002.h
+++ b/test/oslib/source/test/oslib_test_sequence_002.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_003.c b/test/oslib/source/test/oslib_test_sequence_003.c
index 9f623e9db..0056058d1 100644
--- a/test/oslib/source/test/oslib_test_sequence_003.c
+++ b/test/oslib/source/test/oslib_test_sequence_003.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_003.h b/test/oslib/source/test/oslib_test_sequence_003.h
index 57fc77602..a24f0f2ea 100644
--- a/test/oslib/source/test/oslib_test_sequence_003.h
+++ b/test/oslib/source/test/oslib_test_sequence_003.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_004.c b/test/oslib/source/test/oslib_test_sequence_004.c
index 838bf0a52..8749617fd 100644
--- a/test/oslib/source/test/oslib_test_sequence_004.c
+++ b/test/oslib/source/test/oslib_test_sequence_004.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/oslib/source/test/oslib_test_sequence_004.h b/test/oslib/source/test/oslib_test_sequence_004.h
index c301863f2..48be4123e 100644
--- a/test/oslib/source/test/oslib_test_sequence_004.h
+++ b/test/oslib/source/test/oslib_test_sequence_004.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_root.c b/test/rt/source/test/rt_test_root.c
index b65c2b9d9..e03d0f1c8 100644
--- a/test/rt/source/test/rt_test_root.c
+++ b/test/rt/source/test/rt_test_root.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_root.h b/test/rt/source/test/rt_test_root.h
index c1450779f..99ac4cc1c 100644
--- a/test/rt/source/test/rt_test_root.h
+++ b/test/rt/source/test/rt_test_root.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_001.c b/test/rt/source/test/rt_test_sequence_001.c
index 31e297938..6f2b96f87 100644
--- a/test/rt/source/test/rt_test_sequence_001.c
+++ b/test/rt/source/test/rt_test_sequence_001.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_001.h b/test/rt/source/test/rt_test_sequence_001.h
index 80699a4fc..5e82f0863 100644
--- a/test/rt/source/test/rt_test_sequence_001.h
+++ b/test/rt/source/test/rt_test_sequence_001.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_002.c b/test/rt/source/test/rt_test_sequence_002.c
index 35c3a079a..dba480fd0 100644
--- a/test/rt/source/test/rt_test_sequence_002.c
+++ b/test/rt/source/test/rt_test_sequence_002.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_002.h b/test/rt/source/test/rt_test_sequence_002.h
index c3bf21ac7..4b2adbd68 100644
--- a/test/rt/source/test/rt_test_sequence_002.h
+++ b/test/rt/source/test/rt_test_sequence_002.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_003.c b/test/rt/source/test/rt_test_sequence_003.c
index 3960e0047..8598b12ce 100644
--- a/test/rt/source/test/rt_test_sequence_003.c
+++ b/test/rt/source/test/rt_test_sequence_003.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_003.h b/test/rt/source/test/rt_test_sequence_003.h
index 79e820f74..9b97599bd 100644
--- a/test/rt/source/test/rt_test_sequence_003.h
+++ b/test/rt/source/test/rt_test_sequence_003.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_004.c b/test/rt/source/test/rt_test_sequence_004.c
index ede61bee7..7ad2ab59a 100644
--- a/test/rt/source/test/rt_test_sequence_004.c
+++ b/test/rt/source/test/rt_test_sequence_004.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_004.h b/test/rt/source/test/rt_test_sequence_004.h
index a4b071634..ca80d6311 100644
--- a/test/rt/source/test/rt_test_sequence_004.h
+++ b/test/rt/source/test/rt_test_sequence_004.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_005.c b/test/rt/source/test/rt_test_sequence_005.c
index 151cfc882..29cebb994 100644
--- a/test/rt/source/test/rt_test_sequence_005.c
+++ b/test/rt/source/test/rt_test_sequence_005.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_005.h b/test/rt/source/test/rt_test_sequence_005.h
index f8ad69343..1d65e354b 100644
--- a/test/rt/source/test/rt_test_sequence_005.h
+++ b/test/rt/source/test/rt_test_sequence_005.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_006.c b/test/rt/source/test/rt_test_sequence_006.c
index a99f0e9a7..3694755c1 100644
--- a/test/rt/source/test/rt_test_sequence_006.c
+++ b/test/rt/source/test/rt_test_sequence_006.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_006.h b/test/rt/source/test/rt_test_sequence_006.h
index 5a01e1c27..826fb0e3b 100644
--- a/test/rt/source/test/rt_test_sequence_006.h
+++ b/test/rt/source/test/rt_test_sequence_006.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_007.c b/test/rt/source/test/rt_test_sequence_007.c
index a313cb0e0..62a9df95b 100644
--- a/test/rt/source/test/rt_test_sequence_007.c
+++ b/test/rt/source/test/rt_test_sequence_007.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_007.h b/test/rt/source/test/rt_test_sequence_007.h
index e1ddbec5a..52e277f8d 100644
--- a/test/rt/source/test/rt_test_sequence_007.h
+++ b/test/rt/source/test/rt_test_sequence_007.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_008.c b/test/rt/source/test/rt_test_sequence_008.c
index 8f7646ec7..d2bb80504 100644
--- a/test/rt/source/test/rt_test_sequence_008.c
+++ b/test/rt/source/test/rt_test_sequence_008.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_008.h b/test/rt/source/test/rt_test_sequence_008.h
index 1bfa6945e..b5cd19262 100644
--- a/test/rt/source/test/rt_test_sequence_008.h
+++ b/test/rt/source/test/rt_test_sequence_008.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_009.c b/test/rt/source/test/rt_test_sequence_009.c
index 57351507d..a01837efe 100644
--- a/test/rt/source/test/rt_test_sequence_009.c
+++ b/test/rt/source/test/rt_test_sequence_009.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_009.h b/test/rt/source/test/rt_test_sequence_009.h
index 1f42b5ea6..5c1e8147b 100644
--- a/test/rt/source/test/rt_test_sequence_009.h
+++ b/test/rt/source/test/rt_test_sequence_009.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_010.c b/test/rt/source/test/rt_test_sequence_010.c
index 519e16de5..1c77343d0 100644
--- a/test/rt/source/test/rt_test_sequence_010.c
+++ b/test/rt/source/test/rt_test_sequence_010.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/source/test/rt_test_sequence_010.h b/test/rt/source/test/rt_test_sequence_010.h
index f170e6c41..3a057cd46 100644
--- a/test/rt/source/test/rt_test_sequence_010.h
+++ b/test/rt/source/test/rt_test_sequence_010.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/testbuild/chconf.h b/test/rt/testbuild/chconf.h
index eb755b07a..a42a10bc7 100644
--- a/test/rt/testbuild/chconf.h
+++ b/test/rt/testbuild/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -550,7 +550,7 @@
* @brief System structure extension.
* @details User fields added to the end of the @p ch_system_t structure.
*/
-#define CH_CFG_SYSTEM_EXTRA_FIELDS \r
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \r
/* Add threads custom fields here.*/
/**
@@ -558,8 +558,8 @@
* @details User initialization code added to the @p chSysInit() function
* just before interrupts are enabled globally.
*/
-#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \r
- /* Add threads initialization code here.*/ \r
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \r
+ /* Add threads initialization code here.*/ \r
}
/**
diff --git a/test/rt/testbuild/halconf.h b/test/rt/testbuild/halconf.h
index 7b2502aa2..81f534ece 100644
--- a/test/rt/testbuild/halconf.h
+++ b/test/rt/testbuild/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/test/rt/testbuild/main.c b/test/rt/testbuild/main.c
index 7ac37c74a..3ef1d4b78 100644
--- a/test/rt/testbuild/main.c
+++ b/test/rt/testbuild/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h
index a2e8b5632..184320861 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h
index 56d4cbe11..08466411a 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c
index 367562254..19aa840b1 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/mcuconf.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/mcuconf.h
index 4c96a5450..b5a9914d3 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/mcuconf.h
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.c b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.c
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.h
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h b/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h b/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h
index 9e0dde9d9..9d1a77e47 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/main.c b/testex/STM32/STM32F3xx/SPI-L3GD20/main.c
index e83b53303..b32ab7bd1 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/main.c
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/mcuconf.h b/testex/STM32/STM32F3xx/SPI-L3GD20/mcuconf.h
index 95a73c063..26e6ffc7c 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/mcuconf.h
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.c b/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.c
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.h b/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.h
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h b/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h
+++ b/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h b/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h
index 67403d6fc..10d3cdeeb 100644
--- a/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h
+++ b/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-N25Q128/main.c b/testex/STM32/STM32F3xx/SPI-N25Q128/main.c
index 1cec3f524..7bff72f09 100644
--- a/testex/STM32/STM32F3xx/SPI-N25Q128/main.c
+++ b/testex/STM32/STM32F3xx/SPI-N25Q128/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F3xx/SPI-N25Q128/mcuconf.h b/testex/STM32/STM32F3xx/SPI-N25Q128/mcuconf.h
index 8d7a8d2ef..1953bbed1 100644
--- a/testex/STM32/STM32F3xx/SPI-N25Q128/mcuconf.h
+++ b/testex/STM32/STM32F3xx/SPI-N25Q128/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h b/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h b/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h
index 81539a1e1..c5201d1c8 100644
--- a/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-BMP085/main.c b/testex/STM32/STM32F4xx/I2C-BMP085/main.c
index 1b1e0533f..f44dd30dd 100644
--- a/testex/STM32/STM32F4xx/I2C-BMP085/main.c
+++ b/testex/STM32/STM32F4xx/I2C-BMP085/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-BMP085/mcuconf.h b/testex/STM32/STM32F4xx/I2C-BMP085/mcuconf.h
index cda46ebc8..5665f3a99 100644
--- a/testex/STM32/STM32F4xx/I2C-BMP085/mcuconf.h
+++ b/testex/STM32/STM32F4xx/I2C-BMP085/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h
index 5bc251725..5547d5b5f 100644
--- a/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/main.c b/testex/STM32/STM32F4xx/I2C-HTS221/main.c
index f7d2d5925..891073dd8 100644
--- a/testex/STM32/STM32F4xx/I2C-HTS221/main.c
+++ b/testex/STM32/STM32F4xx/I2C-HTS221/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/mcuconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/mcuconf.h
index 166f04112..3528c0aa6 100644
--- a/testex/STM32/STM32F4xx/I2C-HTS221/mcuconf.h
+++ b/testex/STM32/STM32F4xx/I2C-HTS221/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h
index 5bc251725..5547d5b5f 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MLD/main.c b/testex/STM32/STM32F4xx/I2C-LIS3MLD/main.c
index 0d094a3a5..922003997 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MLD/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MLD/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MLD/mcuconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MLD/mcuconf.h
index 166f04112..3528c0aa6 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MLD/mcuconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MLD/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h
index 5bc251725..5547d5b5f 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/main.c b/testex/STM32/STM32F4xx/I2C-LPS25H/main.c
index 36440e3ac..8aafdc19a 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/mcuconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/mcuconf.h
index 166f04112..3528c0aa6 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/mcuconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h
index aa4b30287..6eaff97ea 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c
index e8e1f3eaa..d61ba9449 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/mcuconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/mcuconf.h
index cda46ebc8..5665f3a99 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/mcuconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h
index 5bc251725..5547d5b5f 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c b/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c
index d775057ac..73cd07b3f 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/main.c
@@ -1,8 +1,8 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in gyroliance with the License.
+ you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/mcuconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/mcuconf.h
index 166f04112..3528c0aa6 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/mcuconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
index 814f73584..899a292ef 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h
index cfab2a1ce..4318bbaf7 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/main.c b/testex/STM32/STM32F4xx/SPI-L3GD20/main.c
index b3aeb583a..2e41585f6 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/main.c
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/mcuconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/mcuconf.h
index 17ebbfc09..c12d434fe 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/mcuconf.h
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c b/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.h b/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.h
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
index a2e8b5632..184320861 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h
index 9e0dde9d9..9d1a77e47 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/main.c b/testex/STM32/STM32F4xx/SPI-LIS302DL/main.c
index a831e465d..aea1105f7 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/main.c
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/mcuconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/mcuconf.h
index 0d478ebf8..6797acebe 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/mcuconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c b/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
index a2e8b5632..184320861 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h
index 9e0dde9d9..9d1a77e47 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/main.c b/testex/STM32/STM32F4xx/SPI-LIS3DSH/main.c
index 2bb7799ef..d746d1302 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/main.c
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/mcuconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/mcuconf.h
index 9617cff3f..dfa1c368a 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/mcuconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c b/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h b/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h
index f4f463381..702ccab37 100644
--- a/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/I2C-LIS3MLD/halconf.h b/testex/STM32/STM32L4xx/I2C-LIS3MLD/halconf.h
index 735b91f1b..41888609f 100644
--- a/testex/STM32/STM32L4xx/I2C-LIS3MLD/halconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LIS3MLD/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c b/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c
index 28887d0dc..2b1a8e1a4 100644
--- a/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c
+++ b/testex/STM32/STM32L4xx/I2C-LIS3MLD/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/I2C-LIS3MLD/mcuconf.h b/testex/STM32/STM32L4xx/I2C-LIS3MLD/mcuconf.h
index 907e0a880..b8845d124 100644
--- a/testex/STM32/STM32L4xx/I2C-LIS3MLD/mcuconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LIS3MLD/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h b/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h
index f4f463381..702ccab37 100644
--- a/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/I2C-LSM6DS0/halconf.h b/testex/STM32/STM32L4xx/I2C-LSM6DS0/halconf.h
index 735b91f1b..41888609f 100644
--- a/testex/STM32/STM32L4xx/I2C-LSM6DS0/halconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LSM6DS0/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/I2C-LSM6DS0/main.c b/testex/STM32/STM32L4xx/I2C-LSM6DS0/main.c
index c1b087889..75da1f011 100644
--- a/testex/STM32/STM32L4xx/I2C-LSM6DS0/main.c
+++ b/testex/STM32/STM32L4xx/I2C-LSM6DS0/main.c
@@ -1,8 +1,8 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in gyroliance with the License.
+ you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/testex/STM32/STM32L4xx/I2C-LSM6DS0/mcuconf.h b/testex/STM32/STM32L4xx/I2C-LSM6DS0/mcuconf.h
index 907e0a880..b8845d124 100644
--- a/testex/STM32/STM32L4xx/I2C-LSM6DS0/mcuconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LSM6DS0/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h b/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h
index 7771cf7dc..f7588551f 100644
--- a/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h
+++ b/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h b/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h
index e34c3c4bf..69accc1ed 100644
--- a/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h
+++ b/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/QSPI-N25Q128/main.c b/testex/STM32/STM32L4xx/QSPI-N25Q128/main.c
index 623916957..93fdeb932 100644
--- a/testex/STM32/STM32L4xx/QSPI-N25Q128/main.c
+++ b/testex/STM32/STM32L4xx/QSPI-N25Q128/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/QSPI-N25Q128/mcuconf.h b/testex/STM32/STM32L4xx/QSPI-N25Q128/mcuconf.h
index 294f0a700..f5948bff5 100644
--- a/testex/STM32/STM32L4xx/QSPI-N25Q128/mcuconf.h
+++ b/testex/STM32/STM32L4xx/QSPI-N25Q128/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h
index 7771cf7dc..f7588551f 100644
--- a/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h
+++ b/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h
index 4fd46a772..bec9b295f 100644
--- a/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h
+++ b/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/main.c b/testex/STM32/STM32L4xx/SPI-L3GD20/main.c
index 6cb552524..20f5028b9 100644
--- a/testex/STM32/STM32L4xx/SPI-L3GD20/main.c
+++ b/testex/STM32/STM32L4xx/SPI-L3GD20/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h
index 75c7b4092..282401c97 100644
--- a/testex/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h
+++ b/testex/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/MATRIX/chconf.h b/testhal/ATSAMA5D2/MATRIX/chconf.h
index 005c281b3..98659e9c9 100755
--- a/testhal/ATSAMA5D2/MATRIX/chconf.h
+++ b/testhal/ATSAMA5D2/MATRIX/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/MATRIX/halconf.h b/testhal/ATSAMA5D2/MATRIX/halconf.h
index 06f68ba60..99256e3f4 100644
--- a/testhal/ATSAMA5D2/MATRIX/halconf.h
+++ b/testhal/ATSAMA5D2/MATRIX/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/MATRIX/mcuconf.h b/testhal/ATSAMA5D2/MATRIX/mcuconf.h
index b4639f65e..fcdb66611 100644
--- a/testhal/ATSAMA5D2/MATRIX/mcuconf.h
+++ b/testhal/ATSAMA5D2/MATRIX/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SDMMC/chconf.h b/testhal/ATSAMA5D2/SDMMC/chconf.h
index f61dc3f3e..49b16647b 100644
--- a/testhal/ATSAMA5D2/SDMMC/chconf.h
+++ b/testhal/ATSAMA5D2/SDMMC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SDMMC/halconf.h b/testhal/ATSAMA5D2/SDMMC/halconf.h
index b534118ae..ffe70f76c 100644
--- a/testhal/ATSAMA5D2/SDMMC/halconf.h
+++ b/testhal/ATSAMA5D2/SDMMC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SDMMC/main.c b/testhal/ATSAMA5D2/SDMMC/main.c
index 978453d25..48cb01548 100644
--- a/testhal/ATSAMA5D2/SDMMC/main.c
+++ b/testhal/ATSAMA5D2/SDMMC/main.c
@@ -1,173 +1,173 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
-#include <string.h>
-#include "ch.h"
-#include "hal.h"
-#include "sama_sdmmc_lld.h"
-#include "chprintf.h"
-
-
-#define BLOCK_CNT_MAX 32u
-#define DMADL_CNT_MAX 64u
-#define BLOCK_CNT 3u
-
-
-CACHE_ALIGNED uint8_t data_buf[BLOCK_CNT_MAX * 512ul];
-
-CACHE_ALIGNED static uint32_t dma_table[DMADL_CNT_MAX * SDMMC_DMADL_SIZE];
-
-CACHE_ALIGNED uint8_t sdmmcbuffer[ROUND_UP_MULT(EXT_SIZE + SSR_SIZE + SCR_SIZE + SB1_SIZE + SB2_SIZE, L1_CACHE_BYTES)];
-
-static FATFS fs_header;
-//static FIL f_header;
-
-BaseSequentialStream * ts;
-
-static const SerialConfig sdcfg = { 115200, 0,UART_MR_PAR_NO };
-
-/*
- * LED blinker thread, times are in milliseconds.
- */
-static THD_WORKING_AREA(waThread1, 512);
-static THD_FUNCTION(Thread1, arg) {
-
- (void) arg;
- chRegSetThreadName("blinker");
-
- while (true) {
- palToggleLine(LINE_LED_BLUE);
- chThdSleepMilliseconds(500);
- }
-}
-
-
-
-static const SamaSDMMCConfig sdmmc_slot1_cfg = {
- SDMMC_SLOT1,
- sdmmcbuffer,
- data_buf,
- sizeof(data_buf),
- dma_table,
- DMADL_CNT_MAX
-};
-
-void getdir(SdmmcDriver *sdmmcp);
-/*
- * Application entry point.
- */
-int main(void) {
-
- /*
- * System initializations.
- * - HAL initialization, this also initializes the configured device drivers
- * and performs the board-specific initializations.
- * - Kernel initialization, the main() function becomes a thread and the
- * RTOS is active.
- */
- halInit();
- chSysInit();
-
- /*
- * Activates the serial driver 0 using the driver default configuration.
- */
- sdStart(&SD1, &sdcfg);
-
- /* Redirecting UART0 RX on PD2 and UART0 TX on PD3. */
- palSetGroupMode(PIOD, PAL_PORT_BIT(2) | PAL_PORT_BIT(3), 0U,
- PAL_SAMA_FUNC_PERIPH_A | PAL_MODE_SECURE);
-
- ts = (BaseSequentialStream *) &SD1;
-
- sdmmcInit();
-
- sdmmcStart(&SDMMCD1, &sdmmc_slot1_cfg);
-
- if (SDMMCD1.state != MCID_INIT_ERROR) {
-
- chprintf(ts,"starting MMC Demo\n\r");
-
- if (sdmmcOpenDevice(&SDMMCD1)) {
-
- //sdmmcShowDeviceInfo(&SDMMCD1);
- if ( sdmmcMountVolume(&SDMMCD1,&fs_header) ) {
- chprintf(ts,"reading files:\n\r");
- getdir(&SDMMCD1);
- }
- sdmmcCloseDevice(&SDMMCD1);
- }
-
-
- } else {
- chprintf(ts,"error,stopping MMC\n\r");
- sdmmcStop(&SDMMCD1);
- }
-
- /*
- * Creates the blinker thread.
- */
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
-
- /*
- * Normal main() thread activity, in this demo it does nothing except
- * sleeping in a loop and check the button state.
- */
- while (true) {
- chThdSleepMilliseconds(500);
- }
-}
-
-
-bool sdmmcGetInstance(uint8_t index, SdmmcDriver **sdmmcp)
-{
- if (index == SDMMCD1.config->slot_id) {
- *sdmmcp = &SDMMCD1;
- return true;
- }
- return false;
-}
-
-void getdir(SdmmcDriver *sdmmcp)
-{
- const TCHAR drive_path[] = { '0' + sdmmcp->config->slot_id, ':', '\0' };
- DIR dir = { .sect = 0 };
- FILINFO fno = { 0 };
- FRESULT res;
- bool is_dir;
-
- res = f_opendir(&dir, drive_path);
- if (res != FR_OK) {
- chprintf(ts,"Failed to open dir, error %d\n\r", res);
- return;
- }
- chprintf(ts,"files in the root directory:\n\r");
- for (;;) {
- res = f_readdir(&dir, &fno);
- if (res != FR_OK) {
- chprintf(ts,"cannot read dir, error (%d)\n\r", res);
- break;
- }
- if (fno.fname[0] == '\0')
- break;
- is_dir = fno.fattrib & AM_DIR ? true : false;
- chprintf(ts," %s%s%c\n\r", is_dir ? "[" : "", fno.fname,
- is_dir ? ']' : ' ');
- }
-
- res = f_closedir(&dir);
-}
-
-
-
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+#include <string.h>
+#include "ch.h"
+#include "hal.h"
+#include "sama_sdmmc_lld.h"
+#include "chprintf.h"
+
+
+#define BLOCK_CNT_MAX 32u
+#define DMADL_CNT_MAX 64u
+#define BLOCK_CNT 3u
+
+
+CACHE_ALIGNED uint8_t data_buf[BLOCK_CNT_MAX * 512ul];
+
+CACHE_ALIGNED static uint32_t dma_table[DMADL_CNT_MAX * SDMMC_DMADL_SIZE];
+
+CACHE_ALIGNED uint8_t sdmmcbuffer[ROUND_UP_MULT(EXT_SIZE + SSR_SIZE + SCR_SIZE + SB1_SIZE + SB2_SIZE, L1_CACHE_BYTES)];
+
+static FATFS fs_header;
+//static FIL f_header;
+
+BaseSequentialStream * ts;
+
+static const SerialConfig sdcfg = { 115200, 0,UART_MR_PAR_NO };
+
+/*
+ * LED blinker thread, times are in milliseconds.
+ */
+static THD_WORKING_AREA(waThread1, 512);
+static THD_FUNCTION(Thread1, arg) {
+
+ (void) arg;
+ chRegSetThreadName("blinker");
+
+ while (true) {
+ palToggleLine(LINE_LED_BLUE);
+ chThdSleepMilliseconds(500);
+ }
+}
+
+
+
+static const SamaSDMMCConfig sdmmc_slot1_cfg = {
+ SDMMC_SLOT1,
+ sdmmcbuffer,
+ data_buf,
+ sizeof(data_buf),
+ dma_table,
+ DMADL_CNT_MAX
+};
+
+void getdir(SdmmcDriver *sdmmcp);
+/*
+ * Application entry point.
+ */
+int main(void) {
+
+ /*
+ * System initializations.
+ * - HAL initialization, this also initializes the configured device drivers
+ * and performs the board-specific initializations.
+ * - Kernel initialization, the main() function becomes a thread and the
+ * RTOS is active.
+ */
+ halInit();
+ chSysInit();
+
+ /*
+ * Activates the serial driver 0 using the driver default configuration.
+ */
+ sdStart(&SD1, &sdcfg);
+
+ /* Redirecting UART0 RX on PD2 and UART0 TX on PD3. */
+ palSetGroupMode(PIOD, PAL_PORT_BIT(2) | PAL_PORT_BIT(3), 0U,
+ PAL_SAMA_FUNC_PERIPH_A | PAL_MODE_SECURE);
+
+ ts = (BaseSequentialStream *) &SD1;
+
+ sdmmcInit();
+
+ sdmmcStart(&SDMMCD1, &sdmmc_slot1_cfg);
+
+ if (SDMMCD1.state != MCID_INIT_ERROR) {
+
+ chprintf(ts,"starting MMC Demo\n\r");
+
+ if (sdmmcOpenDevice(&SDMMCD1)) {
+
+ //sdmmcShowDeviceInfo(&SDMMCD1);
+ if ( sdmmcMountVolume(&SDMMCD1,&fs_header) ) {
+ chprintf(ts,"reading files:\n\r");
+ getdir(&SDMMCD1);
+ }
+ sdmmcCloseDevice(&SDMMCD1);
+ }
+
+
+ } else {
+ chprintf(ts,"error,stopping MMC\n\r");
+ sdmmcStop(&SDMMCD1);
+ }
+
+ /*
+ * Creates the blinker thread.
+ */
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+
+ /*
+ * Normal main() thread activity, in this demo it does nothing except
+ * sleeping in a loop and check the button state.
+ */
+ while (true) {
+ chThdSleepMilliseconds(500);
+ }
+}
+
+
+bool sdmmcGetInstance(uint8_t index, SdmmcDriver **sdmmcp)
+{
+ if (index == SDMMCD1.config->slot_id) {
+ *sdmmcp = &SDMMCD1;
+ return true;
+ }
+ return false;
+}
+
+void getdir(SdmmcDriver *sdmmcp)
+{
+ const TCHAR drive_path[] = { '0' + sdmmcp->config->slot_id, ':', '\0' };
+ DIR dir = { .sect = 0 };
+ FILINFO fno = { 0 };
+ FRESULT res;
+ bool is_dir;
+
+ res = f_opendir(&dir, drive_path);
+ if (res != FR_OK) {
+ chprintf(ts,"Failed to open dir, error %d\n\r", res);
+ return;
+ }
+ chprintf(ts,"files in the root directory:\n\r");
+ for (;;) {
+ res = f_readdir(&dir, &fno);
+ if (res != FR_OK) {
+ chprintf(ts,"cannot read dir, error (%d)\n\r", res);
+ break;
+ }
+ if (fno.fname[0] == '\0')
+ break;
+ is_dir = fno.fattrib & AM_DIR ? true : false;
+ chprintf(ts," %s%s%c\n\r", is_dir ? "[" : "", fno.fname,
+ is_dir ? ']' : ' ');
+ }
+
+ res = f_closedir(&dir);
+}
+
+
+
diff --git a/testhal/ATSAMA5D2/SDMMC/mcuconf.h b/testhal/ATSAMA5D2/SDMMC/mcuconf.h
index 1d2651a62..b9173531f 100644
--- a/testhal/ATSAMA5D2/SDMMC/mcuconf.h
+++ b/testhal/ATSAMA5D2/SDMMC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SECUMOD/chconf.h b/testhal/ATSAMA5D2/SECUMOD/chconf.h
index f61dc3f3e..49b16647b 100755
--- a/testhal/ATSAMA5D2/SECUMOD/chconf.h
+++ b/testhal/ATSAMA5D2/SECUMOD/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SECUMOD/halconf.h b/testhal/ATSAMA5D2/SECUMOD/halconf.h
index c11d8bc14..64b274d27 100644
--- a/testhal/ATSAMA5D2/SECUMOD/halconf.h
+++ b/testhal/ATSAMA5D2/SECUMOD/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SECUMOD/main.c b/testhal/ATSAMA5D2/SECUMOD/main.c
index ea55ed51c..3b6cadf5a 100755
--- a/testhal/ATSAMA5D2/SECUMOD/main.c
+++ b/testhal/ATSAMA5D2/SECUMOD/main.c
@@ -1,237 +1,237 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "ch.h"
-#include "hal.h"
-
-/* PIOBU pin attribute */
-static PIOBUConfig piocfg[] = {
- {
- .pinIndex = 0, /* PIOBU0 */
- .afv = 5,
- .rfv = 5,
- .mode = 1,
- .outputLevel = 0,
- .pullUpState = 0,
- .scheduled = 0,
- .inputDefaultLevel = 0,
- .dynamic = 1,
- .filter3_5 = 0,
- },
- {
- .pinIndex = 1, /* PIOBU1 */
- .afv = 5,
- .rfv = 5,
- .mode = 0,
- .outputLevel = 0,
- .pullUpState = 0,
- .scheduled = 0,
- .inputDefaultLevel = 0,
- .dynamic = 1,
- .filter3_5 = 0,
- },
- {
- .pinIndex = 3, /* PIOBU3 */
- .afv = 6,
- .rfv = 6,
- .mode = 0,
- .outputLevel = 0,
- .pullUpState = 1,
- .scheduled = 0,
- .inputDefaultLevel = 1,
- .dynamic = 0,
- .filter3_5 = 0,
- },
- {
- .pinIndex = 4, /* PIOBU4 */
- .afv = 5,
- .rfv = 5,
- .mode = 1,
- .outputLevel = 0,
- .pullUpState = 0,
- .scheduled = 0,
- .inputDefaultLevel = 0,
- .dynamic = 1,
- .filter3_5 = 0,
- },
- {
- .pinIndex = 5, /* PIOBU5 */
- .afv = 5,
- .rfv = 5,
- .mode = 0,
- .outputLevel = 0,
- .pullUpState = 0,
- .scheduled = 0,
- .inputDefaultLevel = 0,
- .dynamic = 1,
- .filter3_5 = 0,
- },
- {
- .pinIndex = 7, /* PIOBU7 */
- .afv = 8,
- .rfv = 8,
- .mode = 0,
- .outputLevel = 0,
- .pullUpState = 2,
- .scheduled = 0,
- .inputDefaultLevel = 0,
- .dynamic = 0,
- .filter3_5 = 0,
- },
-};
-
-static void secram_callback(SECDriver *secp) {
- (void)secp;
- palToggleLine(LINE_LED_RED);
-}
-
-static void erase_callback(SECDriver *secp) {
- (void)secp;
- palToggleLine(LINE_LED_GREEN);
-}
-
-static void secmod_callback(SECDriver *secp, secevent_t event) {
- (void)secp;
- chSysLockFromISR();
- switch (event) {
- case SEC_EVENT_PIOBU:
- /* Erasing memories on intrusion */
- secumodSoftwareProtection();
- break;
- case SEC_EVENT_SHLDM:
- ;
- break;
- case SEC_EVENT_DBLFM:
- ;
- break;
- case SEC_EVENT_TST:
- ;
- break;
- case SEC_EVENT_JTAG:
- ;
- break;
- case SEC_EVENT_MCKM:
- ;
- break;
- case SEC_EVENT_TPML:
- ;
- break;
- case SEC_EVENT_TPMH:
- ;
- break;
- case SEC_EVENT_VDDBUL:
- ;
- break;
- case SEC_EVENT_VDDBUH:
- ;
- break;
- case SEC_EVENT_VDDCOREL:
- ;
- break;
- case SEC_EVENT_VDDCOREH:
- ;
- break;
- }
- chSysUnlockFromISR();
-}
-
-static SECConfig secumod_cfg = {
- secram_callback, /* securam callback */
- erase_callback, /* erased callback */
- 6, /* Pads to configure */
- piocfg, /* PIOBU config */
- {
- {RAMACC_RD_ACCESS}, /* RAM region 0 permission */
- {RAMACC_WR_RD_ACCESS}, /* RAM region 1 permission */
- {RAMACC_WR_RD_ACCESS}, /* RAM region 2 permission */
- {RAMACC_WR_RD_ACCESS}, /* RAM region 3 permission */
- {RAMACC_WR_RD_ACCESS}, /* RAM region 4 permission */
- {RAMACC_WR_RD_ACCESS} /* RAM region 5 permission */
- },
- SECUMOD_CR_NORMAL | /* CR register */
- SECUMOD_CR_SCRAMB(SCRAMB_DISABLE),
- SECUMOD_JTAGCR_CA5_DEBUG_MODE_FULL_DEBUG /* JTAGCR register */
-};
-
-/*
- * LED blinker thread, times are in milliseconds.
- */
-static THD_WORKING_AREA(waThread1, 512);
-static THD_FUNCTION(Thread1, arg) {
-
- (void)arg;
- chRegSetThreadName("blinker");
-
- while (true) {
- palToggleLine(LINE_LED_BLUE);
- chThdSleepMilliseconds(80);
- palToggleLine(LINE_LED_BLUE);
- chThdSleepMilliseconds(120);
- palToggleLine(LINE_LED_BLUE);
- chThdSleepMilliseconds(120);
- palToggleLine(LINE_LED_BLUE);
- chThdSleepMilliseconds(120);
- palToggleLine(LINE_LED_BLUE);
- chThdSleepMilliseconds(160);
- palToggleLine(LINE_LED_BLUE);
- chThdSleepMilliseconds(600);
- }
-}
-
-/*
- * Application entry point.
- */
-int main(void) {
-
- /*
- * System initializations.
- * - HAL initialization, this also initializes the configured device drivers
- * and performs the board-specific initializations.
- * - Kernel initialization, the main() function becomes a thread and the
- * RTOS is active.
- */
- halInit();
- chSysInit();
- secInit();
-
- /* REGION_0 location */
- uint32_t *region0 = (uint32_t *) 0xF8044000;
-
- /*
- * Starts SECUMOD Driver
- */
- secStart(&SECD0, &secumod_cfg);
-
- /*
- * Creates the blinker thread.
- */
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
-
- /* Intrusion on PIOBU pad 0 causes interrupt but not automating erase */
- secSetCallback(&SECD0, SECUMOD_DET0, &secmod_callback);
-
- /*
- * Normal main() thread activity, in this demo it does nothing except
- * sleeping in a loop and check the button state.
- */
- while (true) {
- if(!palReadPad(PIOB, PIOB_USER_PB)) {
- /* Write access in REGION_0 causes SECURAM interrupt */
- *region0 = 0xAA55AA55;
- }
- chThdSleepMilliseconds(500);
- }
-}
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "ch.h"
+#include "hal.h"
+
+/* PIOBU pin attribute */
+static PIOBUConfig piocfg[] = {
+ {
+ .pinIndex = 0, /* PIOBU0 */
+ .afv = 5,
+ .rfv = 5,
+ .mode = 1,
+ .outputLevel = 0,
+ .pullUpState = 0,
+ .scheduled = 0,
+ .inputDefaultLevel = 0,
+ .dynamic = 1,
+ .filter3_5 = 0,
+ },
+ {
+ .pinIndex = 1, /* PIOBU1 */
+ .afv = 5,
+ .rfv = 5,
+ .mode = 0,
+ .outputLevel = 0,
+ .pullUpState = 0,
+ .scheduled = 0,
+ .inputDefaultLevel = 0,
+ .dynamic = 1,
+ .filter3_5 = 0,
+ },
+ {
+ .pinIndex = 3, /* PIOBU3 */
+ .afv = 6,
+ .rfv = 6,
+ .mode = 0,
+ .outputLevel = 0,
+ .pullUpState = 1,
+ .scheduled = 0,
+ .inputDefaultLevel = 1,
+ .dynamic = 0,
+ .filter3_5 = 0,
+ },
+ {
+ .pinIndex = 4, /* PIOBU4 */
+ .afv = 5,
+ .rfv = 5,
+ .mode = 1,
+ .outputLevel = 0,
+ .pullUpState = 0,
+ .scheduled = 0,
+ .inputDefaultLevel = 0,
+ .dynamic = 1,
+ .filter3_5 = 0,
+ },
+ {
+ .pinIndex = 5, /* PIOBU5 */
+ .afv = 5,
+ .rfv = 5,
+ .mode = 0,
+ .outputLevel = 0,
+ .pullUpState = 0,
+ .scheduled = 0,
+ .inputDefaultLevel = 0,
+ .dynamic = 1,
+ .filter3_5 = 0,
+ },
+ {
+ .pinIndex = 7, /* PIOBU7 */
+ .afv = 8,
+ .rfv = 8,
+ .mode = 0,
+ .outputLevel = 0,
+ .pullUpState = 2,
+ .scheduled = 0,
+ .inputDefaultLevel = 0,
+ .dynamic = 0,
+ .filter3_5 = 0,
+ },
+};
+
+static void secram_callback(SECDriver *secp) {
+ (void)secp;
+ palToggleLine(LINE_LED_RED);
+}
+
+static void erase_callback(SECDriver *secp) {
+ (void)secp;
+ palToggleLine(LINE_LED_GREEN);
+}
+
+static void secmod_callback(SECDriver *secp, secevent_t event) {
+ (void)secp;
+ chSysLockFromISR();
+ switch (event) {
+ case SEC_EVENT_PIOBU:
+ /* Erasing memories on intrusion */
+ secumodSoftwareProtection();
+ break;
+ case SEC_EVENT_SHLDM:
+ ;
+ break;
+ case SEC_EVENT_DBLFM:
+ ;
+ break;
+ case SEC_EVENT_TST:
+ ;
+ break;
+ case SEC_EVENT_JTAG:
+ ;
+ break;
+ case SEC_EVENT_MCKM:
+ ;
+ break;
+ case SEC_EVENT_TPML:
+ ;
+ break;
+ case SEC_EVENT_TPMH:
+ ;
+ break;
+ case SEC_EVENT_VDDBUL:
+ ;
+ break;
+ case SEC_EVENT_VDDBUH:
+ ;
+ break;
+ case SEC_EVENT_VDDCOREL:
+ ;
+ break;
+ case SEC_EVENT_VDDCOREH:
+ ;
+ break;
+ }
+ chSysUnlockFromISR();
+}
+
+static SECConfig secumod_cfg = {
+ secram_callback, /* securam callback */
+ erase_callback, /* erased callback */
+ 6, /* Pads to configure */
+ piocfg, /* PIOBU config */
+ {
+ {RAMACC_RD_ACCESS}, /* RAM region 0 permission */
+ {RAMACC_WR_RD_ACCESS}, /* RAM region 1 permission */
+ {RAMACC_WR_RD_ACCESS}, /* RAM region 2 permission */
+ {RAMACC_WR_RD_ACCESS}, /* RAM region 3 permission */
+ {RAMACC_WR_RD_ACCESS}, /* RAM region 4 permission */
+ {RAMACC_WR_RD_ACCESS} /* RAM region 5 permission */
+ },
+ SECUMOD_CR_NORMAL | /* CR register */
+ SECUMOD_CR_SCRAMB(SCRAMB_DISABLE),
+ SECUMOD_JTAGCR_CA5_DEBUG_MODE_FULL_DEBUG /* JTAGCR register */
+};
+
+/*
+ * LED blinker thread, times are in milliseconds.
+ */
+static THD_WORKING_AREA(waThread1, 512);
+static THD_FUNCTION(Thread1, arg) {
+
+ (void)arg;
+ chRegSetThreadName("blinker");
+
+ while (true) {
+ palToggleLine(LINE_LED_BLUE);
+ chThdSleepMilliseconds(80);
+ palToggleLine(LINE_LED_BLUE);
+ chThdSleepMilliseconds(120);
+ palToggleLine(LINE_LED_BLUE);
+ chThdSleepMilliseconds(120);
+ palToggleLine(LINE_LED_BLUE);
+ chThdSleepMilliseconds(120);
+ palToggleLine(LINE_LED_BLUE);
+ chThdSleepMilliseconds(160);
+ palToggleLine(LINE_LED_BLUE);
+ chThdSleepMilliseconds(600);
+ }
+}
+
+/*
+ * Application entry point.
+ */
+int main(void) {
+
+ /*
+ * System initializations.
+ * - HAL initialization, this also initializes the configured device drivers
+ * and performs the board-specific initializations.
+ * - Kernel initialization, the main() function becomes a thread and the
+ * RTOS is active.
+ */
+ halInit();
+ chSysInit();
+ secInit();
+
+ /* REGION_0 location */
+ uint32_t *region0 = (uint32_t *) 0xF8044000;
+
+ /*
+ * Starts SECUMOD Driver
+ */
+ secStart(&SECD0, &secumod_cfg);
+
+ /*
+ * Creates the blinker thread.
+ */
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+
+ /* Intrusion on PIOBU pad 0 causes interrupt but not automating erase */
+ secSetCallback(&SECD0, SECUMOD_DET0, &secmod_callback);
+
+ /*
+ * Normal main() thread activity, in this demo it does nothing except
+ * sleeping in a loop and check the button state.
+ */
+ while (true) {
+ if(!palReadPad(PIOB, PIOB_USER_PB)) {
+ /* Write access in REGION_0 causes SECURAM interrupt */
+ *region0 = 0xAA55AA55;
+ }
+ chThdSleepMilliseconds(500);
+ }
+}
diff --git a/testhal/ATSAMA5D2/SECUMOD/mcuconf.h b/testhal/ATSAMA5D2/SECUMOD/mcuconf.h
index c62329ba3..f01ff9daa 100644
--- a/testhal/ATSAMA5D2/SECUMOD/mcuconf.h
+++ b/testhal/ATSAMA5D2/SECUMOD/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SERIAL/chconf.h b/testhal/ATSAMA5D2/SERIAL/chconf.h
index f61dc3f3e..49b16647b 100755
--- a/testhal/ATSAMA5D2/SERIAL/chconf.h
+++ b/testhal/ATSAMA5D2/SERIAL/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SERIAL/halconf.h b/testhal/ATSAMA5D2/SERIAL/halconf.h
index b534118ae..ffe70f76c 100644
--- a/testhal/ATSAMA5D2/SERIAL/halconf.h
+++ b/testhal/ATSAMA5D2/SERIAL/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SERIAL/main.c b/testhal/ATSAMA5D2/SERIAL/main.c
index a2caa2ffa..cd1a382f7 100755
--- a/testhal/ATSAMA5D2/SERIAL/main.c
+++ b/testhal/ATSAMA5D2/SERIAL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SERIAL/mcuconf.h b/testhal/ATSAMA5D2/SERIAL/mcuconf.h
index 751850458..f084e22cd 100644
--- a/testhal/ATSAMA5D2/SERIAL/mcuconf.h
+++ b/testhal/ATSAMA5D2/SERIAL/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SPI/chconf.h b/testhal/ATSAMA5D2/SPI/chconf.h
index 005c281b3..98659e9c9 100644
--- a/testhal/ATSAMA5D2/SPI/chconf.h
+++ b/testhal/ATSAMA5D2/SPI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SPI/halconf.h b/testhal/ATSAMA5D2/SPI/halconf.h
index b4447f1d8..84532f497 100644
--- a/testhal/ATSAMA5D2/SPI/halconf.h
+++ b/testhal/ATSAMA5D2/SPI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SPI/main.c b/testhal/ATSAMA5D2/SPI/main.c
index c88f2a8d4..5807109fb 100644
--- a/testhal/ATSAMA5D2/SPI/main.c
+++ b/testhal/ATSAMA5D2/SPI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/SPI/mcuconf.h b/testhal/ATSAMA5D2/SPI/mcuconf.h
index 80c78dbfd..13d62e19f 100644
--- a/testhal/ATSAMA5D2/SPI/mcuconf.h
+++ b/testhal/ATSAMA5D2/SPI/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/TC/chconf.h b/testhal/ATSAMA5D2/TC/chconf.h
index 005c281b3..98659e9c9 100755
--- a/testhal/ATSAMA5D2/TC/chconf.h
+++ b/testhal/ATSAMA5D2/TC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/TC/halconf.h b/testhal/ATSAMA5D2/TC/halconf.h
index 06f68ba60..99256e3f4 100644
--- a/testhal/ATSAMA5D2/TC/halconf.h
+++ b/testhal/ATSAMA5D2/TC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/TC/main.c b/testhal/ATSAMA5D2/TC/main.c
index 3751ab12f..f681a06c9 100755
--- a/testhal/ATSAMA5D2/TC/main.c
+++ b/testhal/ATSAMA5D2/TC/main.c
@@ -1,78 +1,78 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#include "ch.h"
-#include "hal.h"
-
-static TCConfig tccfg = {
- {
- {TC_OUTPUT_ACTIVE, 440 , NULL}, /* 440 hz clock frequency. */
- {TC_OUTPUT_DISABLED, 0, NULL},
- {TC_OUTPUT_DISABLED, 0, NULL}
- }
-};
-
-/*
- * Buzzer thread, times are in milliseconds.
- */
-static THD_WORKING_AREA(waThread1, 512);
-static THD_FUNCTION(Thread1, arg) {
-
- (void)arg;
- chRegSetThreadName("buzzer");
-
- while (true) {
- tcEnableChannel(&TCD0, 0, 50);
- palClearLine(LINE_LED_RED);
- chThdSleepMilliseconds(500);
- tcDisableChannel(&TCD0, 0);
- palSetLine(LINE_LED_RED);
- chThdSleepMilliseconds(500);
- }
-}
-
-/*
- * Application entry point.
- */
-int main(void) {
-
- /*
- * System initializations.
- * - HAL initialization, this also initializes the configured device drivers
- * and performs the board-specific initializations.
- * - Kernel initialization, the main() function becomes a thread and the
- * RTOS is active.
- */
- halInit();
- tcInit();
- chSysInit();
-
- /*
- * Initializes the TC0 driver.
- * GPIOA19 is the TC0 channel 0 output.
- */
- palSetGroupMode(PIOA, PAL_PORT_BIT(19), 0U,
- PAL_SAMA_FUNC_PERIPH_D | PAL_MODE_SECURE);
- tcStart(&TCD0, &tccfg);
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
-
- /*
- * Normal main() thread activity, in this demo it does nothing.
- */
- while (true) {
- chThdSleepMilliseconds(500);
- }
-}
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include "ch.h"
+#include "hal.h"
+
+static TCConfig tccfg = {
+ {
+ {TC_OUTPUT_ACTIVE, 440 , NULL}, /* 440 hz clock frequency. */
+ {TC_OUTPUT_DISABLED, 0, NULL},
+ {TC_OUTPUT_DISABLED, 0, NULL}
+ }
+};
+
+/*
+ * Buzzer thread, times are in milliseconds.
+ */
+static THD_WORKING_AREA(waThread1, 512);
+static THD_FUNCTION(Thread1, arg) {
+
+ (void)arg;
+ chRegSetThreadName("buzzer");
+
+ while (true) {
+ tcEnableChannel(&TCD0, 0, 50);
+ palClearLine(LINE_LED_RED);
+ chThdSleepMilliseconds(500);
+ tcDisableChannel(&TCD0, 0);
+ palSetLine(LINE_LED_RED);
+ chThdSleepMilliseconds(500);
+ }
+}
+
+/*
+ * Application entry point.
+ */
+int main(void) {
+
+ /*
+ * System initializations.
+ * - HAL initialization, this also initializes the configured device drivers
+ * and performs the board-specific initializations.
+ * - Kernel initialization, the main() function becomes a thread and the
+ * RTOS is active.
+ */
+ halInit();
+ tcInit();
+ chSysInit();
+
+ /*
+ * Initializes the TC0 driver.
+ * GPIOA19 is the TC0 channel 0 output.
+ */
+ palSetGroupMode(PIOA, PAL_PORT_BIT(19), 0U,
+ PAL_SAMA_FUNC_PERIPH_D | PAL_MODE_SECURE);
+ tcStart(&TCD0, &tccfg);
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+
+ /*
+ * Normal main() thread activity, in this demo it does nothing.
+ */
+ while (true) {
+ chThdSleepMilliseconds(500);
+ }
+}
diff --git a/testhal/ATSAMA5D2/TC/mcuconf.h b/testhal/ATSAMA5D2/TC/mcuconf.h
index a1fa9b72c..3b4b068a5 100644
--- a/testhal/ATSAMA5D2/TC/mcuconf.h
+++ b/testhal/ATSAMA5D2/TC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/UART/chconf.h b/testhal/ATSAMA5D2/UART/chconf.h
index 005c281b3..98659e9c9 100644
--- a/testhal/ATSAMA5D2/UART/chconf.h
+++ b/testhal/ATSAMA5D2/UART/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/UART/halconf.h b/testhal/ATSAMA5D2/UART/halconf.h
index 5004a3d67..ff3532571 100644
--- a/testhal/ATSAMA5D2/UART/halconf.h
+++ b/testhal/ATSAMA5D2/UART/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/UART/main.c b/testhal/ATSAMA5D2/UART/main.c
index 3381bc6b2..2f57ac0ad 100644
--- a/testhal/ATSAMA5D2/UART/main.c
+++ b/testhal/ATSAMA5D2/UART/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/ATSAMA5D2/UART/mcuconf.h b/testhal/ATSAMA5D2/UART/mcuconf.h
index 3324bccd9..4466ef90b 100644
--- a/testhal/ATSAMA5D2/UART/mcuconf.h
+++ b/testhal/ATSAMA5D2/UART/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/ADC/chconf.h b/testhal/AVR/MEGA/ADC/chconf.h
index 051c43f30..87fc42b29 100644
--- a/testhal/AVR/MEGA/ADC/chconf.h
+++ b/testhal/AVR/MEGA/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/ADC/halconf.h b/testhal/AVR/MEGA/ADC/halconf.h
index c5f60001a..46cca18d0 100644
--- a/testhal/AVR/MEGA/ADC/halconf.h
+++ b/testhal/AVR/MEGA/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/ADC/mcuconf.h b/testhal/AVR/MEGA/ADC/mcuconf.h
index 4b364b9ab..1b4ca39f7 100644
--- a/testhal/AVR/MEGA/ADC/mcuconf.h
+++ b/testhal/AVR/MEGA/ADC/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 TRUE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 TRUE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/MEGA/EXT/chconf.h b/testhal/AVR/MEGA/EXT/chconf.h
index 051c43f30..87fc42b29 100644
--- a/testhal/AVR/MEGA/EXT/chconf.h
+++ b/testhal/AVR/MEGA/EXT/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/EXT/halconf.h b/testhal/AVR/MEGA/EXT/halconf.h
index cc0bb597e..70d535b5e 100644
--- a/testhal/AVR/MEGA/EXT/halconf.h
+++ b/testhal/AVR/MEGA/EXT/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/EXT/mcuconf.h b/testhal/AVR/MEGA/EXT/mcuconf.h
index 0a3ff15c4..348efde53 100644
--- a/testhal/AVR/MEGA/EXT/mcuconf.h
+++ b/testhal/AVR/MEGA/EXT/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 TRUE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 TRUE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 TRUE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 TRUE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/MEGA/GPT/chconf.h b/testhal/AVR/MEGA/GPT/chconf.h
index 051c43f30..87fc42b29 100644
--- a/testhal/AVR/MEGA/GPT/chconf.h
+++ b/testhal/AVR/MEGA/GPT/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/GPT/halconf.h b/testhal/AVR/MEGA/GPT/halconf.h
index f0b4e4245..b392b2752 100644
--- a/testhal/AVR/MEGA/GPT/halconf.h
+++ b/testhal/AVR/MEGA/GPT/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/GPT/main.c b/testhal/AVR/MEGA/GPT/main.c
index a64dcef06..7318a7cc1 100644
--- a/testhal/AVR/MEGA/GPT/main.c
+++ b/testhal/AVR/MEGA/GPT/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/GPT/mcuconf.h b/testhal/AVR/MEGA/GPT/mcuconf.h
index c8cc8933e..8166635ad 100644
--- a/testhal/AVR/MEGA/GPT/mcuconf.h
+++ b/testhal/AVR/MEGA/GPT/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 TRUE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 TRUE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/MEGA/I2C/chconf.h b/testhal/AVR/MEGA/I2C/chconf.h
index 051c43f30..87fc42b29 100644
--- a/testhal/AVR/MEGA/I2C/chconf.h
+++ b/testhal/AVR/MEGA/I2C/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/I2C/halconf.h b/testhal/AVR/MEGA/I2C/halconf.h
index 165de7ceb..52a8deced 100644
--- a/testhal/AVR/MEGA/I2C/halconf.h
+++ b/testhal/AVR/MEGA/I2C/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/I2C/main.c b/testhal/AVR/MEGA/I2C/main.c
index 45d3b09a1..d355ffeb3 100644
--- a/testhal/AVR/MEGA/I2C/main.c
+++ b/testhal/AVR/MEGA/I2C/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/I2C/mcuconf.h b/testhal/AVR/MEGA/I2C/mcuconf.h
index 73d33b682..567a40f4c 100644
--- a/testhal/AVR/MEGA/I2C/mcuconf.h
+++ b/testhal/AVR/MEGA/I2C/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 TRUE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 TRUE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/MEGA/ICU/chconf.h b/testhal/AVR/MEGA/ICU/chconf.h
index 051c43f30..87fc42b29 100644
--- a/testhal/AVR/MEGA/ICU/chconf.h
+++ b/testhal/AVR/MEGA/ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/ICU/halconf.h b/testhal/AVR/MEGA/ICU/halconf.h
index d3445f91d..2ef78d5a1 100644
--- a/testhal/AVR/MEGA/ICU/halconf.h
+++ b/testhal/AVR/MEGA/ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/ICU/main.c b/testhal/AVR/MEGA/ICU/main.c
index 3e8786067..c8e2896cf 100644
--- a/testhal/AVR/MEGA/ICU/main.c
+++ b/testhal/AVR/MEGA/ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/ICU/mcuconf.h b/testhal/AVR/MEGA/ICU/mcuconf.h
index 214ac0c24..1105ffbda 100644
--- a/testhal/AVR/MEGA/ICU/mcuconf.h
+++ b/testhal/AVR/MEGA/ICU/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 TRUE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 TRUE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/MEGA/PWM/chconf.h b/testhal/AVR/MEGA/PWM/chconf.h
index 051c43f30..87fc42b29 100644
--- a/testhal/AVR/MEGA/PWM/chconf.h
+++ b/testhal/AVR/MEGA/PWM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/PWM/halconf.h b/testhal/AVR/MEGA/PWM/halconf.h
index ae6386dbb..54a92fd25 100644
--- a/testhal/AVR/MEGA/PWM/halconf.h
+++ b/testhal/AVR/MEGA/PWM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/PWM/main.c b/testhal/AVR/MEGA/PWM/main.c
index 0aa633c70..67aaa353e 100644
--- a/testhal/AVR/MEGA/PWM/main.c
+++ b/testhal/AVR/MEGA/PWM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/PWM/mcuconf.h b/testhal/AVR/MEGA/PWM/mcuconf.h
index 9da0aa199..7c67225ca 100644
--- a/testhal/AVR/MEGA/PWM/mcuconf.h
+++ b/testhal/AVR/MEGA/PWM/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 TRUE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 TRUE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/MEGA/SPI/chconf.h b/testhal/AVR/MEGA/SPI/chconf.h
index 051c43f30..87fc42b29 100644
--- a/testhal/AVR/MEGA/SPI/chconf.h
+++ b/testhal/AVR/MEGA/SPI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/SPI/halconf.h b/testhal/AVR/MEGA/SPI/halconf.h
index d6a1335cc..57ab4b024 100644
--- a/testhal/AVR/MEGA/SPI/halconf.h
+++ b/testhal/AVR/MEGA/SPI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/MEGA/SPI/mcuconf.h b/testhal/AVR/MEGA/SPI/mcuconf.h
index ac88a5584..3851edfe1 100644
--- a/testhal/AVR/MEGA/SPI/mcuconf.h
+++ b/testhal/AVR/MEGA/SPI/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 TRUE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 TRUE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h
index 786e843d9..a35f5db12 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h
index 4bd396cf1..53b286dc8 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h
index 3d3b54622..9088ee992 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- ²* I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ ²* I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c
+++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h
index 4bd396cf1..53b286dc8 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
index 141d0d5a6..2f63e6f13 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h
index bc13cdf6e..44d43e171 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h
index f6bcf0b49..11aa69f22 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h
@@ -1,115 +1,115 @@
-/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#ifndef MCUCONF_H
-#define MCUCONF_H
-
-/*
- * AVR drivers configuration.
- * The following settings override the default settings present in
- * the various device driver implementation headers.
- * Note that the settings for each driver only have effect if the driver
- * is enabled in halconf.h.
- */
-
-/*
- * ADC driver system settings.
- */
-#define AVR_ADC_USE_ADC1 FALSE
-
-/*
- * EXT drivers system settings.
- */
-#define AVR_EXT_USE_INT0 FALSE
-#define AVR_EXT_USE_INT1 FALSE
-#define AVR_EXT_USE_INT2 FALSE
-#define AVR_EXT_USE_INT3 FALSE
-#define AVR_EXT_USE_INT4 FALSE
-#define AVR_EXT_USE_INT5 FALSE
-
-/*
- * PCINT driver system settings.
- */
-#define AVR_EXT_USE_PCINT0 FALSE
-#define AVR_EXT_USE_PCINT1 FALSE
-#define AVR_EXT_USE_PCINT2 FALSE
-#define AVR_EXT_USE_PCINT3 FALSE
-#define AVR_EXT_USE_PCINT4 FALSE
-#define AVR_EXT_USE_PCINT5 FALSE
-#define AVR_EXT_USE_PCINT6 FALSE
-#define AVR_EXT_USE_PCINT7 FALSE
-#define AVR_EXT_USE_PCINT8 FALSE
-#define AVR_EXT_USE_PCINT9 FALSE
-#define AVR_EXT_USE_PCINT10 FALSE
-
-/*
- * CAN driver system settings.
- */
-
-/*
- * MAC driver system settings.
- */
-
-/*
- * PWM driver system settings.
- */
-#define AVR_PWM_USE_TIM1 FALSE
-#define AVR_PWM_USE_TIM2 FALSE
-#define AVR_PWM_USE_TIM3 FALSE
-#define AVR_PWM_USE_TIM4 FALSE
-#define AVR_PWM_USE_TIM5 FALSE
-
-/*
- * ICU driver system settings.
- */
-#define AVR_ICU_USE_TIM1 FALSE
-#define AVR_ICU_USE_TIM3 FALSE
-#define AVR_ICU_USE_TIM4 FALSE
-#define AVR_ICU_USE_TIM5 FALSE
-
-/*
- * GPT driver system settings.
- */
-#define AVR_GPT_USE_TIM1 FALSE
-#define AVR_GPT_USE_TIM2 FALSE
-#define AVR_GPT_USE_TIM3 FALSE
-#define AVR_GPT_USE_TIM4 FALSE
-#define AVR_GPT_USE_TIM5 FALSE
-
-/*
- * SERIAL driver system settings.
- */
-#define AVR_SERIAL_USE_USART0 TRUE
-#define AVR_SERIAL_USE_USART1 FALSE
-
-/*
- * I2C driver system settings.
- */
-#define AVR_I2C_USE_I2C1 FALSE
-
-/*
- * SPI driver system settings.
- */
-#define AVR_SPI_USE_SPI1 FALSE
-#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
-
-/*
- * USB driver system settings.
- */
-#define AVR_USB_USE_USB1 FALSE
-#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
-
-#endif /* MCUCONF_H */
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_H
+#define MCUCONF_H
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * ADC driver system settings.
+ */
+#define AVR_ADC_USE_ADC1 FALSE
+
+/*
+ * EXT drivers system settings.
+ */
+#define AVR_EXT_USE_INT0 FALSE
+#define AVR_EXT_USE_INT1 FALSE
+#define AVR_EXT_USE_INT2 FALSE
+#define AVR_EXT_USE_INT3 FALSE
+#define AVR_EXT_USE_INT4 FALSE
+#define AVR_EXT_USE_INT5 FALSE
+
+/*
+ * PCINT driver system settings.
+ */
+#define AVR_EXT_USE_PCINT0 FALSE
+#define AVR_EXT_USE_PCINT1 FALSE
+#define AVR_EXT_USE_PCINT2 FALSE
+#define AVR_EXT_USE_PCINT3 FALSE
+#define AVR_EXT_USE_PCINT4 FALSE
+#define AVR_EXT_USE_PCINT5 FALSE
+#define AVR_EXT_USE_PCINT6 FALSE
+#define AVR_EXT_USE_PCINT7 FALSE
+#define AVR_EXT_USE_PCINT8 FALSE
+#define AVR_EXT_USE_PCINT9 FALSE
+#define AVR_EXT_USE_PCINT10 FALSE
+
+/*
+ * CAN driver system settings.
+ */
+
+/*
+ * MAC driver system settings.
+ */
+
+/*
+ * PWM driver system settings.
+ */
+#define AVR_PWM_USE_TIM1 FALSE
+#define AVR_PWM_USE_TIM2 FALSE
+#define AVR_PWM_USE_TIM3 FALSE
+#define AVR_PWM_USE_TIM4 FALSE
+#define AVR_PWM_USE_TIM5 FALSE
+
+/*
+ * ICU driver system settings.
+ */
+#define AVR_ICU_USE_TIM1 FALSE
+#define AVR_ICU_USE_TIM3 FALSE
+#define AVR_ICU_USE_TIM4 FALSE
+#define AVR_ICU_USE_TIM5 FALSE
+
+/*
+ * GPT driver system settings.
+ */
+#define AVR_GPT_USE_TIM1 FALSE
+#define AVR_GPT_USE_TIM2 FALSE
+#define AVR_GPT_USE_TIM3 FALSE
+#define AVR_GPT_USE_TIM4 FALSE
+#define AVR_GPT_USE_TIM5 FALSE
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+#define AVR_SERIAL_USE_USART1 FALSE
+
+/*
+ * I2C driver system settings.
+ */
+#define AVR_I2C_USE_I2C1 FALSE
+
+/*
+ * SPI driver system settings.
+ */
+#define AVR_SPI_USE_SPI1 FALSE
+#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE
+
+/*
+ * USB driver system settings.
+ */
+#define AVR_USB_USE_USB1 FALSE
+#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE
+
+#endif /* MCUCONF_H */
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c
+++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h
index 4bd396cf1..53b286dc8 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/ADC/chconf.h b/testhal/STM32/STM32F0xx/ADC/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/STM32F0xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F0xx/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/ADC/halconf.h b/testhal/STM32/STM32F0xx/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32F0xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F0xx/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/ADC/main.c b/testhal/STM32/STM32F0xx/ADC/main.c
index 9c3521b5e..b7cf2bbde 100644
--- a/testhal/STM32/STM32F0xx/ADC/main.c
+++ b/testhal/STM32/STM32F0xx/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/ADC/mcuconf.h b/testhal/STM32/STM32F0xx/ADC/mcuconf.h
index e98772f82..c7685adf6 100644
--- a/testhal/STM32/STM32F0xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/CAN/chconf.h b/testhal/STM32/STM32F0xx/CAN/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/STM32F0xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F0xx/CAN/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/CAN/halconf.h b/testhal/STM32/STM32F0xx/CAN/halconf.h
index 03eaaceb8..b344639af 100644
--- a/testhal/STM32/STM32F0xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F0xx/CAN/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/CAN/main.c b/testhal/STM32/STM32F0xx/CAN/main.c
index 691b64655..bbd353d6f 100644
--- a/testhal/STM32/STM32F0xx/CAN/main.c
+++ b/testhal/STM32/STM32F0xx/CAN/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/CAN/mcuconf.h b/testhal/STM32/STM32F0xx/CAN/mcuconf.h
index f38cd53ad..d2c588659 100644
--- a/testhal/STM32/STM32F0xx/CAN/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/CAN/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/main.c b/testhal/STM32/STM32F0xx/IRQ_STORM/main.c
index d182e2ba8..eb29e1ccf 100644
--- a/testhal/STM32/STM32F0xx/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32F0xx/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/mcuconf.h
index 514fc2638..a71c98607 100644
--- a/testhal/STM32/STM32F0xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h
index 9297d3df4..e7bb07263 100644
--- a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/main.c b/testhal/STM32/STM32F0xx/PWM-ICU/main.c
index c98dd50cc..7aa14bd30 100644
--- a/testhal/STM32/STM32F0xx/PWM-ICU/main.c
+++ b/testhal/STM32/STM32F0xx/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/mcuconf.h
index 6379c3bd5..426385e95 100644
--- a/testhal/STM32/STM32F0xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/main.c b/testhal/STM32/STM32F0xx/USB_CDC/main.c
index 3536b7da5..36344bf53 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F0xx/USB_CDC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
index 145e4e98a..590ed0bb1 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c
index 558334fb5..ad4d01899 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.h b/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/WDG/chconf.h b/testhal/STM32/STM32F0xx/WDG/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/STM32F0xx/WDG/chconf.h
+++ b/testhal/STM32/STM32F0xx/WDG/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/WDG/halconf.h b/testhal/STM32/STM32F0xx/WDG/halconf.h
index 6cf50b41f..a5607119f 100644
--- a/testhal/STM32/STM32F0xx/WDG/halconf.h
+++ b/testhal/STM32/STM32F0xx/WDG/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/WDG/main.c b/testhal/STM32/STM32F0xx/WDG/main.c
index 380c847e5..4d2f8a59c 100644
--- a/testhal/STM32/STM32F0xx/WDG/main.c
+++ b/testhal/STM32/STM32F0xx/WDG/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F0xx/WDG/mcuconf.h b/testhal/STM32/STM32F0xx/WDG/mcuconf.h
index 0d28e1d75..396d5503d 100644
--- a/testhal/STM32/STM32F0xx/WDG/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/WDG/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/ADC/chconf.h b/testhal/STM32/STM32F1xx/ADC/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F1xx/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/ADC/halconf.h b/testhal/STM32/STM32F1xx/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32F1xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F1xx/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/ADC/main.c b/testhal/STM32/STM32F1xx/ADC/main.c
index dea20c3e6..32e5b82a8 100644
--- a/testhal/STM32/STM32F1xx/ADC/main.c
+++ b/testhal/STM32/STM32F1xx/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/ADC/mcuconf.h b/testhal/STM32/STM32F1xx/ADC/mcuconf.h
index eccba25df..948669c94 100644
--- a/testhal/STM32/STM32F1xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/CAN/chconf.h b/testhal/STM32/STM32F1xx/CAN/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F1xx/CAN/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/CAN/halconf.h b/testhal/STM32/STM32F1xx/CAN/halconf.h
index 03eaaceb8..b344639af 100644
--- a/testhal/STM32/STM32F1xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F1xx/CAN/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/CAN/main.c b/testhal/STM32/STM32F1xx/CAN/main.c
index 2f8d1f42c..263c2c101 100644
--- a/testhal/STM32/STM32F1xx/CAN/main.c
+++ b/testhal/STM32/STM32F1xx/CAN/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/CAN/mcuconf.h b/testhal/STM32/STM32F1xx/CAN/mcuconf.h
index 840b5c722..92b5f942b 100644
--- a/testhal/STM32/STM32F1xx/CAN/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/CAN/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/chconf.h b/testhal/STM32/STM32F1xx/I2C/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/I2C/chconf.h
+++ b/testhal/STM32/STM32F1xx/I2C/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/fake.c b/testhal/STM32/STM32F1xx/I2C/fake.c
index f3cca595a..26db35c73 100644
--- a/testhal/STM32/STM32F1xx/I2C/fake.c
+++ b/testhal/STM32/STM32F1xx/I2C/fake.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/fake.h b/testhal/STM32/STM32F1xx/I2C/fake.h
index 9103fc22d..d27ef9fa2 100644
--- a/testhal/STM32/STM32F1xx/I2C/fake.h
+++ b/testhal/STM32/STM32F1xx/I2C/fake.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/halconf.h b/testhal/STM32/STM32F1xx/I2C/halconf.h
index cafb317bc..a4a0c2c00 100644
--- a/testhal/STM32/STM32F1xx/I2C/halconf.h
+++ b/testhal/STM32/STM32F1xx/I2C/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/lis3.c b/testhal/STM32/STM32F1xx/I2C/lis3.c
index ab1ae1b90..fa44b85e5 100644
--- a/testhal/STM32/STM32F1xx/I2C/lis3.c
+++ b/testhal/STM32/STM32F1xx/I2C/lis3.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/lis3.h b/testhal/STM32/STM32F1xx/I2C/lis3.h
index dee9a715a..d74334e18 100644
--- a/testhal/STM32/STM32F1xx/I2C/lis3.h
+++ b/testhal/STM32/STM32F1xx/I2C/lis3.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/main.c b/testhal/STM32/STM32F1xx/I2C/main.c
index 95a84c7bf..08ed0f561 100644
--- a/testhal/STM32/STM32F1xx/I2C/main.c
+++ b/testhal/STM32/STM32F1xx/I2C/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/I2C/mcuconf.h b/testhal/STM32/STM32F1xx/I2C/mcuconf.h
index adb793ff7..3fb53354c 100644
--- a/testhal/STM32/STM32F1xx/I2C/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/I2C/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/main.c b/testhal/STM32/STM32F1xx/IRQ_STORM/main.c
index ea7ce6aee..26f202e3f 100644
--- a/testhal/STM32/STM32F1xx/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32F1xx/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h
index 724ca65f2..a5da9929a 100644
--- a/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h
index 9297d3df4..e7bb07263 100644
--- a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/main.c b/testhal/STM32/STM32F1xx/PWM-ICU/main.c
index c3352beca..c9d247d9d 100644
--- a/testhal/STM32/STM32F1xx/PWM-ICU/main.c
+++ b/testhal/STM32/STM32F1xx/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h
index b6438e30f..d66a44ffb 100644
--- a/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/RTC/chconf.h b/testhal/STM32/STM32F1xx/RTC/chconf.h
index 896829d93..49cf6a893 100644
--- a/testhal/STM32/STM32F1xx/RTC/chconf.h
+++ b/testhal/STM32/STM32F1xx/RTC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/RTC/halconf.h b/testhal/STM32/STM32F1xx/RTC/halconf.h
index 92babbcc2..8d5bb1fcc 100644
--- a/testhal/STM32/STM32F1xx/RTC/halconf.h
+++ b/testhal/STM32/STM32F1xx/RTC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/RTC/main.c b/testhal/STM32/STM32F1xx/RTC/main.c
index fada5aee4..b09946389 100644
--- a/testhal/STM32/STM32F1xx/RTC/main.c
+++ b/testhal/STM32/STM32F1xx/RTC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/RTC/mcuconf.h b/testhal/STM32/STM32F1xx/RTC/mcuconf.h
index 06b8f3497..351644627 100644
--- a/testhal/STM32/STM32F1xx/RTC/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/RTC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/SPI/chconf.h b/testhal/STM32/STM32F1xx/SPI/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/SPI/chconf.h
+++ b/testhal/STM32/STM32F1xx/SPI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/SPI/halconf.h b/testhal/STM32/STM32F1xx/SPI/halconf.h
index 0a5366db7..397c809fd 100644
--- a/testhal/STM32/STM32F1xx/SPI/halconf.h
+++ b/testhal/STM32/STM32F1xx/SPI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/SPI/main.c b/testhal/STM32/STM32F1xx/SPI/main.c
index 691c83b51..04211dc73 100644
--- a/testhal/STM32/STM32F1xx/SPI/main.c
+++ b/testhal/STM32/STM32F1xx/SPI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/SPI/mcuconf.h b/testhal/STM32/STM32F1xx/SPI/mcuconf.h
index 4919ad12a..608d500f9 100644
--- a/testhal/STM32/STM32F1xx/SPI/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/SPI/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/UART/chconf.h b/testhal/STM32/STM32F1xx/UART/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/UART/chconf.h
+++ b/testhal/STM32/STM32F1xx/UART/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/UART/halconf.h b/testhal/STM32/STM32F1xx/UART/halconf.h
index a4095ba96..e93cbf33e 100644
--- a/testhal/STM32/STM32F1xx/UART/halconf.h
+++ b/testhal/STM32/STM32F1xx/UART/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/UART/main.c b/testhal/STM32/STM32F1xx/UART/main.c
index 68859e48a..96ab4ab73 100644
--- a/testhal/STM32/STM32F1xx/UART/main.c
+++ b/testhal/STM32/STM32F1xx/UART/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/UART/mcuconf.h b/testhal/STM32/STM32F1xx/UART/mcuconf.h
index 0f50289a3..5ab5bcd47 100644
--- a/testhal/STM32/STM32F1xx/UART/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/UART/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h
index f7db90ac3..6fb18b24e 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/main.c b/testhal/STM32/STM32F1xx/USB_CDC/main.c
index d4c9aa9d6..949bf392c 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F1xx/USB_CDC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h
index ec722cb54..a89194897 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.h b/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h
index 608be3cb4..ecc6e77df 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
index f3c2d823c..596dbb0f6 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/main.c b/testhal/STM32/STM32F1xx/USB_CDC_F107/main.c
index 50702c54d..b824d32e2 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/main.c
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
index e535c0cb1..93be2babc 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c b/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c
index db05bbd8a..b56c7d248 100755
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.h
index 3833bf9fd..886cd0222 100755
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h
index 814f73584..899a292ef 100644
--- a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h
index 9297d3df4..e7bb07263 100644
--- a/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/main.c b/testhal/STM32/STM32F2xx/PWM-ICU/main.c
index 77ff29caa..193b6ad1d 100644
--- a/testhal/STM32/STM32F2xx/PWM-ICU/main.c
+++ b/testhal/STM32/STM32F2xx/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/mcuconf.h
index abd9c9bba..c3d91be0c 100644
--- a/testhal/STM32/STM32F2xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F2xx/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h
index 814f73584..899a292ef 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/halconf.h b/testhal/STM32/STM32F2xx/USB_CDC/halconf.h
index 594115bdc..ef4f96f51 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F2xx/USB_CDC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/main.c b/testhal/STM32/STM32F2xx/USB_CDC/main.c
index f7621adfb..749969b1b 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F2xx/USB_CDC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F2xx/USB_CDC/mcuconf.h
index 62c4ab27e..dfbc9c73c 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F2xx/USB_CDC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.h b/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.h
+++ b/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/ADC/chconf.h b/testhal/STM32/STM32F37x/ADC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/ADC/chconf.h
+++ b/testhal/STM32/STM32F37x/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/ADC/halconf.h b/testhal/STM32/STM32F37x/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32F37x/ADC/halconf.h
+++ b/testhal/STM32/STM32F37x/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/ADC/main.c b/testhal/STM32/STM32F37x/ADC/main.c
index 861d760c9..ca5e5feb4 100644
--- a/testhal/STM32/STM32F37x/ADC/main.c
+++ b/testhal/STM32/STM32F37x/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/ADC/mcuconf.h b/testhal/STM32/STM32F37x/ADC/mcuconf.h
index 25ed81462..022a2e7a3 100644
--- a/testhal/STM32/STM32F37x/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F37x/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/CAN/chconf.h b/testhal/STM32/STM32F37x/CAN/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/CAN/chconf.h
+++ b/testhal/STM32/STM32F37x/CAN/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/CAN/halconf.h b/testhal/STM32/STM32F37x/CAN/halconf.h
index 03eaaceb8..b344639af 100644
--- a/testhal/STM32/STM32F37x/CAN/halconf.h
+++ b/testhal/STM32/STM32F37x/CAN/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/CAN/main.c b/testhal/STM32/STM32F37x/CAN/main.c
index abafc2251..c3795b8ab 100644
--- a/testhal/STM32/STM32F37x/CAN/main.c
+++ b/testhal/STM32/STM32F37x/CAN/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/CAN/mcuconf.h b/testhal/STM32/STM32F37x/CAN/mcuconf.h
index db8f9c5b1..cfeb8b702 100644
--- a/testhal/STM32/STM32F37x/CAN/mcuconf.h
+++ b/testhal/STM32/STM32F37x/CAN/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/I2C/chconf.h b/testhal/STM32/STM32F37x/I2C/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/I2C/chconf.h
+++ b/testhal/STM32/STM32F37x/I2C/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/I2C/halconf.h b/testhal/STM32/STM32F37x/I2C/halconf.h
index cafb317bc..a4a0c2c00 100644
--- a/testhal/STM32/STM32F37x/I2C/halconf.h
+++ b/testhal/STM32/STM32F37x/I2C/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/I2C/main.c b/testhal/STM32/STM32F37x/I2C/main.c
index 8b8553f34..e8384dc0c 100644
--- a/testhal/STM32/STM32F37x/I2C/main.c
+++ b/testhal/STM32/STM32F37x/I2C/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/I2C/mcuconf.h b/testhal/STM32/STM32F37x/I2C/mcuconf.h
index f593842dc..16b6d870c 100644
--- a/testhal/STM32/STM32F37x/I2C/mcuconf.h
+++ b/testhal/STM32/STM32F37x/I2C/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/main.c b/testhal/STM32/STM32F37x/IRQ_STORM/main.c
index f899fb363..baaadd7ba 100644
--- a/testhal/STM32/STM32F37x/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32F37x/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h
index a56e185b1..910390328 100644
--- a/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h
index 9297d3df4..e7bb07263 100644
--- a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/PWM-ICU/main.c b/testhal/STM32/STM32F37x/PWM-ICU/main.c
index e8dda1a68..758c32734 100644
--- a/testhal/STM32/STM32F37x/PWM-ICU/main.c
+++ b/testhal/STM32/STM32F37x/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h
index fb2c301e6..4d9d16857 100644
--- a/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SDADC/chconf.h b/testhal/STM32/STM32F37x/SDADC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/SDADC/chconf.h
+++ b/testhal/STM32/STM32F37x/SDADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SDADC/halconf.h b/testhal/STM32/STM32F37x/SDADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32F37x/SDADC/halconf.h
+++ b/testhal/STM32/STM32F37x/SDADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SDADC/main.c b/testhal/STM32/STM32F37x/SDADC/main.c
index 4a7abfe5d..74cb4eb50 100644
--- a/testhal/STM32/STM32F37x/SDADC/main.c
+++ b/testhal/STM32/STM32F37x/SDADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SDADC/mcuconf.h b/testhal/STM32/STM32F37x/SDADC/mcuconf.h
index c20159981..a385808a3 100644
--- a/testhal/STM32/STM32F37x/SDADC/mcuconf.h
+++ b/testhal/STM32/STM32F37x/SDADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SPI/chconf.h b/testhal/STM32/STM32F37x/SPI/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/SPI/chconf.h
+++ b/testhal/STM32/STM32F37x/SPI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SPI/halconf.h b/testhal/STM32/STM32F37x/SPI/halconf.h
index 67403d6fc..10d3cdeeb 100644
--- a/testhal/STM32/STM32F37x/SPI/halconf.h
+++ b/testhal/STM32/STM32F37x/SPI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SPI/main.c b/testhal/STM32/STM32F37x/SPI/main.c
index 48970f6f2..28df8b3a3 100644
--- a/testhal/STM32/STM32F37x/SPI/main.c
+++ b/testhal/STM32/STM32F37x/SPI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/SPI/mcuconf.h b/testhal/STM32/STM32F37x/SPI/mcuconf.h
index bfc0668b4..1368588ab 100644
--- a/testhal/STM32/STM32F37x/SPI/mcuconf.h
+++ b/testhal/STM32/STM32F37x/SPI/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/UART/chconf.h b/testhal/STM32/STM32F37x/UART/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/UART/chconf.h
+++ b/testhal/STM32/STM32F37x/UART/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/UART/halconf.h b/testhal/STM32/STM32F37x/UART/halconf.h
index a4095ba96..e93cbf33e 100644
--- a/testhal/STM32/STM32F37x/UART/halconf.h
+++ b/testhal/STM32/STM32F37x/UART/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/UART/main.c b/testhal/STM32/STM32F37x/UART/main.c
index 720c328fd..d8499f98b 100644
--- a/testhal/STM32/STM32F37x/UART/main.c
+++ b/testhal/STM32/STM32F37x/UART/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/UART/mcuconf.h b/testhal/STM32/STM32F37x/UART/mcuconf.h
index ef01bd83e..1ef6d434b 100644
--- a/testhal/STM32/STM32F37x/UART/mcuconf.h
+++ b/testhal/STM32/STM32F37x/UART/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/USB_CDC/chconf.h b/testhal/STM32/STM32F37x/USB_CDC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F37x/USB_CDC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/USB_CDC/halconf.h b/testhal/STM32/STM32F37x/USB_CDC/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F37x/USB_CDC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/USB_CDC/main.c b/testhal/STM32/STM32F37x/USB_CDC/main.c
index 9950cb915..144887f40 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/main.c
+++ b/testhal/STM32/STM32F37x/USB_CDC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h b/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h
index 48d2bbbb6..2f2511889 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/USB_CDC/usbcfg.c b/testhal/STM32/STM32F37x/USB_CDC/usbcfg.c
index db05bbd8a..b56c7d248 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32F37x/USB_CDC/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F37x/USB_CDC/usbcfg.h b/testhal/STM32/STM32F37x/USB_CDC/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/usbcfg.h
+++ b/testhal/STM32/STM32F37x/USB_CDC/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC/chconf.h b/testhal/STM32/STM32F3xx/ADC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F3xx/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC/halconf.h b/testhal/STM32/STM32F3xx/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32F3xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F3xx/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC/main.c b/testhal/STM32/STM32F3xx/ADC/main.c
index 1b9d52ea9..a6659f4e8 100644
--- a/testhal/STM32/STM32F3xx/ADC/main.c
+++ b/testhal/STM32/STM32F3xx/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC/mcuconf.h b/testhal/STM32/STM32F3xx/ADC/mcuconf.h
index 701fd7cce..1433903d0 100644
--- a/testhal/STM32/STM32F3xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h
+++ b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h
+++ b/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/main.c b/testhal/STM32/STM32F3xx/ADC_DUAL/main.c
index a84746140..e8eadbeb7 100644
--- a/testhal/STM32/STM32F3xx/ADC_DUAL/main.c
+++ b/testhal/STM32/STM32F3xx/ADC_DUAL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h
index d82fb259c..bda7a1079 100644
--- a/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/CAN/chconf.h b/testhal/STM32/STM32F3xx/CAN/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F3xx/CAN/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/CAN/halconf.h b/testhal/STM32/STM32F3xx/CAN/halconf.h
index 03eaaceb8..b344639af 100644
--- a/testhal/STM32/STM32F3xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F3xx/CAN/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/CAN/main.c b/testhal/STM32/STM32F3xx/CAN/main.c
index 845ed7562..229b18375 100644
--- a/testhal/STM32/STM32F3xx/CAN/main.c
+++ b/testhal/STM32/STM32F3xx/CAN/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/CAN/mcuconf.h b/testhal/STM32/STM32F3xx/CAN/mcuconf.h
index 0c8b738d7..be97f7647 100644
--- a/testhal/STM32/STM32F3xx/CAN/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/CAN/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/DAC/chconf.h b/testhal/STM32/STM32F3xx/DAC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/DAC/chconf.h
+++ b/testhal/STM32/STM32F3xx/DAC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/DAC/halconf.h b/testhal/STM32/STM32F3xx/DAC/halconf.h
index 7794c8759..f45780a29 100644
--- a/testhal/STM32/STM32F3xx/DAC/halconf.h
+++ b/testhal/STM32/STM32F3xx/DAC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/DAC/main.c b/testhal/STM32/STM32F3xx/DAC/main.c
index b5988383f..aa791bf82 100644
--- a/testhal/STM32/STM32F3xx/DAC/main.c
+++ b/testhal/STM32/STM32F3xx/DAC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/DAC/mcuconf.h b/testhal/STM32/STM32F3xx/DAC/mcuconf.h
index b5d25b8a3..fb742bb6d 100644
--- a/testhal/STM32/STM32F3xx/DAC/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/DAC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/main.c b/testhal/STM32/STM32F3xx/IRQ_STORM/main.c
index 55907f526..6b4b5028d 100644
--- a/testhal/STM32/STM32F3xx/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32F3xx/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h
index c5f788bd0..e23610619 100644
--- a/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h
index 9297d3df4..e7bb07263 100644
--- a/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/main.c b/testhal/STM32/STM32F3xx/PWM-ICU/main.c
index ef61b179d..2d0b2fa57 100644
--- a/testhal/STM32/STM32F3xx/PWM-ICU/main.c
+++ b/testhal/STM32/STM32F3xx/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h
index 298820455..2cc18118d 100644
--- a/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c b/testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c
index 558ddd4b8..3a9422059 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h
index 9f8653f69..ed9c3d1f3 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c b/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c
index 9559e1f43..a357ae513 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.h
index 2a5e78880..6b42e0b6f 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.h
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/WDG/chconf.h b/testhal/STM32/STM32F3xx/WDG/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F3xx/WDG/chconf.h
+++ b/testhal/STM32/STM32F3xx/WDG/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/WDG/halconf.h b/testhal/STM32/STM32F3xx/WDG/halconf.h
index 6cf50b41f..a5607119f 100644
--- a/testhal/STM32/STM32F3xx/WDG/halconf.h
+++ b/testhal/STM32/STM32F3xx/WDG/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/WDG/main.c b/testhal/STM32/STM32F3xx/WDG/main.c
index 0cf8d3b42..e33a7ae76 100644
--- a/testhal/STM32/STM32F3xx/WDG/main.c
+++ b/testhal/STM32/STM32F3xx/WDG/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F3xx/WDG/mcuconf.h b/testhal/STM32/STM32F3xx/WDG/mcuconf.h
index d7a7af150..88171081c 100644
--- a/testhal/STM32/STM32F3xx/WDG/mcuconf.h
+++ b/testhal/STM32/STM32F3xx/WDG/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/ADC/chconf.h b/testhal/STM32/STM32F4xx/ADC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F4xx/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/ADC/halconf.h b/testhal/STM32/STM32F4xx/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32F4xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F4xx/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/ADC/main.c b/testhal/STM32/STM32F4xx/ADC/main.c
index e452a3e38..23608af6e 100644
--- a/testhal/STM32/STM32F4xx/ADC/main.c
+++ b/testhal/STM32/STM32F4xx/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/ADC/mcuconf.h b/testhal/STM32/STM32F4xx/ADC/mcuconf.h
index f48ee1cd4..11feaba79 100644
--- a/testhal/STM32/STM32F4xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/CAN/chconf.h b/testhal/STM32/STM32F4xx/CAN/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F4xx/CAN/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/CAN/halconf.h b/testhal/STM32/STM32F4xx/CAN/halconf.h
index 03eaaceb8..b344639af 100644
--- a/testhal/STM32/STM32F4xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F4xx/CAN/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/CAN/main.c b/testhal/STM32/STM32F4xx/CAN/main.c
index f2c6b5463..a2744e47f 100644
--- a/testhal/STM32/STM32F4xx/CAN/main.c
+++ b/testhal/STM32/STM32F4xx/CAN/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/CAN/mcuconf.h b/testhal/STM32/STM32F4xx/CAN/mcuconf.h
index 15935815d..647c861da 100644
--- a/testhal/STM32/STM32F4xx/CAN/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/CAN/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC/chconf.h b/testhal/STM32/STM32F4xx/DAC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/DAC/chconf.h
+++ b/testhal/STM32/STM32F4xx/DAC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC/halconf.h b/testhal/STM32/STM32F4xx/DAC/halconf.h
index 7794c8759..f45780a29 100644
--- a/testhal/STM32/STM32F4xx/DAC/halconf.h
+++ b/testhal/STM32/STM32F4xx/DAC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC/main.c b/testhal/STM32/STM32F4xx/DAC/main.c
index 817ad4a6e..4b038ea72 100644
--- a/testhal/STM32/STM32F4xx/DAC/main.c
+++ b/testhal/STM32/STM32F4xx/DAC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC/mcuconf.h b/testhal/STM32/STM32F4xx/DAC/mcuconf.h
index 56465d250..00149604f 100644
--- a/testhal/STM32/STM32F4xx/DAC/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/DAC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h
+++ b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h
index 7794c8759..f45780a29 100644
--- a/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h
+++ b/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/main.c b/testhal/STM32/STM32F4xx/DAC_DUAL/main.c
index bb67abaf3..652441efd 100644
--- a/testhal/STM32/STM32F4xx/DAC_DUAL/main.c
+++ b/testhal/STM32/STM32F4xx/DAC_DUAL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/mcuconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/mcuconf.h
index 5247ed4f4..9430ca20d 100644
--- a/testhal/STM32/STM32F4xx/DAC_DUAL/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/DAC_DUAL/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h
+++ b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h
index 1e0aee190..8dfdefff8 100644
--- a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h
+++ b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/main.c b/testhal/STM32/STM32F4xx/DMA_STORM/main.c
index 13fc7ef63..1eecad767 100644
--- a/testhal/STM32/STM32F4xx/DMA_STORM/main.c
+++ b/testhal/STM32/STM32F4xx/DMA_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/mcuconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/mcuconf.h
index 72fe952bc..8daaeeddd 100644
--- a/testhal/STM32/STM32F4xx/DMA_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/DMA_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/GPT/chconf.h b/testhal/STM32/STM32F4xx/GPT/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/GPT/chconf.h
+++ b/testhal/STM32/STM32F4xx/GPT/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/GPT/halconf.h b/testhal/STM32/STM32F4xx/GPT/halconf.h
index d49b90c78..f0d414419 100644
--- a/testhal/STM32/STM32F4xx/GPT/halconf.h
+++ b/testhal/STM32/STM32F4xx/GPT/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/GPT/main.c b/testhal/STM32/STM32F4xx/GPT/main.c
index f50e57453..133343536 100644
--- a/testhal/STM32/STM32F4xx/GPT/main.c
+++ b/testhal/STM32/STM32F4xx/GPT/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/GPT/mcuconf.h b/testhal/STM32/STM32F4xx/GPT/mcuconf.h
index 78d10ff90..4a8a35100 100644
--- a/testhal/STM32/STM32F4xx/GPT/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/GPT/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2C/chconf.h b/testhal/STM32/STM32F4xx/I2C/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/I2C/chconf.h
+++ b/testhal/STM32/STM32F4xx/I2C/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2C/halconf.h b/testhal/STM32/STM32F4xx/I2C/halconf.h
index 5bc251725..5547d5b5f 100644
--- a/testhal/STM32/STM32F4xx/I2C/halconf.h
+++ b/testhal/STM32/STM32F4xx/I2C/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2C/main.c b/testhal/STM32/STM32F4xx/I2C/main.c
index 46afa4ecf..f4b9afa8e 100644
--- a/testhal/STM32/STM32F4xx/I2C/main.c
+++ b/testhal/STM32/STM32F4xx/I2C/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2C/mcuconf.h b/testhal/STM32/STM32F4xx/I2C/mcuconf.h
index 8bc18d433..6c41730f8 100644
--- a/testhal/STM32/STM32F4xx/I2C/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/I2C/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2S/chconf.h b/testhal/STM32/STM32F4xx/I2S/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/I2S/chconf.h
+++ b/testhal/STM32/STM32F4xx/I2S/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2S/halconf.h b/testhal/STM32/STM32F4xx/I2S/halconf.h
index 13a63639f..675670c75 100644
--- a/testhal/STM32/STM32F4xx/I2S/halconf.h
+++ b/testhal/STM32/STM32F4xx/I2S/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2S/main.c b/testhal/STM32/STM32F4xx/I2S/main.c
index 1cfdd7b42..7eaa1b075 100644
--- a/testhal/STM32/STM32F4xx/I2S/main.c
+++ b/testhal/STM32/STM32F4xx/I2S/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/I2S/mcuconf.h b/testhal/STM32/STM32F4xx/I2S/mcuconf.h
index 1de161dad..d966d985d 100644
--- a/testhal/STM32/STM32F4xx/I2S/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/I2S/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/main.c b/testhal/STM32/STM32F4xx/IRQ_STORM/main.c
index 096f2af3f..ae26a15bc 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/mcuconf.h
index eef713c1a..cfa7d86db 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/extfunc.c b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/extfunc.c
index a1649cf8a..ec6d00cd6 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/extfunc.c
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/extfunc.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c
index 2d558d26a..a452402e3 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/mcuconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/mcuconf.h
index eef713c1a..cfa7d86db 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h
index 9297d3df4..e7bb07263 100644
--- a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/main.c b/testhal/STM32/STM32F4xx/PWM-ICU/main.c
index 0023fc04a..eb150e5c2 100644
--- a/testhal/STM32/STM32F4xx/PWM-ICU/main.c
+++ b/testhal/STM32/STM32F4xx/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/mcuconf.h
index 59d2a6f7e..e451016e3 100644
--- a/testhal/STM32/STM32F4xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/RTC/chconf.h b/testhal/STM32/STM32F4xx/RTC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/RTC/chconf.h
+++ b/testhal/STM32/STM32F4xx/RTC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/RTC/halconf.h b/testhal/STM32/STM32F4xx/RTC/halconf.h
index 1684467a3..1a1b83db6 100644
--- a/testhal/STM32/STM32F4xx/RTC/halconf.h
+++ b/testhal/STM32/STM32F4xx/RTC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/RTC/main.c b/testhal/STM32/STM32F4xx/RTC/main.c
index b74342521..9d297b301 100644
--- a/testhal/STM32/STM32F4xx/RTC/main.c
+++ b/testhal/STM32/STM32F4xx/RTC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/RTC/mcuconf.h b/testhal/STM32/STM32F4xx/RTC/mcuconf.h
index 0e82203a0..3b8b0d3b4 100644
--- a/testhal/STM32/STM32F4xx/RTC/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/RTC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/SDC/chconf.h b/testhal/STM32/STM32F4xx/SDC/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/SDC/chconf.h
+++ b/testhal/STM32/STM32F4xx/SDC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/SDC/halconf.h b/testhal/STM32/STM32F4xx/SDC/halconf.h
index 7d2adc201..b3a60610f 100644
--- a/testhal/STM32/STM32F4xx/SDC/halconf.h
+++ b/testhal/STM32/STM32F4xx/SDC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/SDC/main.c b/testhal/STM32/STM32F4xx/SDC/main.c
index 832e7202f..b9b0991b1 100644
--- a/testhal/STM32/STM32F4xx/SDC/main.c
+++ b/testhal/STM32/STM32F4xx/SDC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/SDC/mcuconf.h b/testhal/STM32/STM32F4xx/SDC/mcuconf.h
index bc2a8cfa4..18d4ffa72 100644
--- a/testhal/STM32/STM32F4xx/SDC/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/SDC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h
index 33b086dcf..e3306d745 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c b/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c
index 6521c1ded..d9f79beed 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h
index e30743db2..0dbcdad1b 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c b/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c
index d1249b305..1a5d0c4fb 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.h
index 2a5e78880..6b42e0b6f 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/WDG/chconf.h b/testhal/STM32/STM32F4xx/WDG/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/STM32F4xx/WDG/chconf.h
+++ b/testhal/STM32/STM32F4xx/WDG/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/WDG/halconf.h b/testhal/STM32/STM32F4xx/WDG/halconf.h
index 6cf50b41f..a5607119f 100644
--- a/testhal/STM32/STM32F4xx/WDG/halconf.h
+++ b/testhal/STM32/STM32F4xx/WDG/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/WDG/main.c b/testhal/STM32/STM32F4xx/WDG/main.c
index d40daebf7..f131d8bd1 100644
--- a/testhal/STM32/STM32F4xx/WDG/main.c
+++ b/testhal/STM32/STM32F4xx/WDG/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F4xx/WDG/mcuconf.h b/testhal/STM32/STM32F4xx/WDG/mcuconf.h
index f3660d2da..ad6d7b501 100644
--- a/testhal/STM32/STM32F4xx/WDG/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/WDG/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h
index fcad0229f..1e978b9d1 100644
--- a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h
+++ b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h
index 00d0a3ac8..caef55693 100644
--- a/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h
+++ b/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/main.c b/testhal/STM32/STM32F7xx/GPT-ADC/main.c
index 9c36e18e4..031b32f06 100644
--- a/testhal/STM32/STM32F7xx/GPT-ADC/main.c
+++ b/testhal/STM32/STM32F7xx/GPT-ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h
index 091f25335..294f7782b 100644
--- a/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h
+++ b/testhal/STM32/STM32F7xx/GPT-ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h
index fcad0229f..1e978b9d1 100644
--- a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/main.c b/testhal/STM32/STM32F7xx/IRQ_STORM/main.c
index aa324d546..c61eea2e2 100644
--- a/testhal/STM32/STM32F7xx/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32F7xx/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h
index 4c60e2535..2bbe1307b 100644
--- a/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F7xx/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h
index fcad0229f..1e978b9d1 100644
--- a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h
index 441714507..c4c88bc32 100644
--- a/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/main.c b/testhal/STM32/STM32F7xx/PWM-ICU/main.c
index f5fb3dcc0..81cffb86f 100644
--- a/testhal/STM32/STM32F7xx/PWM-ICU/main.c
+++ b/testhal/STM32/STM32F7xx/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h
index 9f9e44fc6..dd2ef33e2 100644
--- a/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F7xx/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/SPI/chconf.h b/testhal/STM32/STM32F7xx/SPI/chconf.h
index fcad0229f..1e978b9d1 100644
--- a/testhal/STM32/STM32F7xx/SPI/chconf.h
+++ b/testhal/STM32/STM32F7xx/SPI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/SPI/halconf.h b/testhal/STM32/STM32F7xx/SPI/halconf.h
index 4fd46a772..bec9b295f 100644
--- a/testhal/STM32/STM32F7xx/SPI/halconf.h
+++ b/testhal/STM32/STM32F7xx/SPI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/SPI/main.c b/testhal/STM32/STM32F7xx/SPI/main.c
index 90001f1c2..943b61f8a 100644
--- a/testhal/STM32/STM32F7xx/SPI/main.c
+++ b/testhal/STM32/STM32F7xx/SPI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/SPI/mcuconf.h b/testhal/STM32/STM32F7xx/SPI/mcuconf.h
index 82ef3b27a..074b372f3 100644
--- a/testhal/STM32/STM32F7xx/SPI/mcuconf.h
+++ b/testhal/STM32/STM32F7xx/SPI/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h
index fcad0229f..1e978b9d1 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h
+++ b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/halconf.h b/testhal/STM32/STM32F7xx/USB_RAW/halconf.h
index c9e1f4afa..21c1a6a9c 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/halconf.h
+++ b/testhal/STM32/STM32F7xx/USB_RAW/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/main.c b/testhal/STM32/STM32F7xx/USB_RAW/main.c
index f088eeebe..bbe46f5c3 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/main.c
+++ b/testhal/STM32/STM32F7xx/USB_RAW/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h b/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h
index ddd2d3591..4b8702b4d 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h
+++ b/testhal/STM32/STM32F7xx/USB_RAW/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c b/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c
index e9c241452..eee67e3ce 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c
+++ b/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.h b/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.h
index ac7ddc013..bd368d4b0 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.h
+++ b/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/ADC/chconf.h b/testhal/STM32/STM32L0xx/ADC/chconf.h
index dc3f0cf58..ac9a86366 100644
--- a/testhal/STM32/STM32L0xx/ADC/chconf.h
+++ b/testhal/STM32/STM32L0xx/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/ADC/halconf.h b/testhal/STM32/STM32L0xx/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32L0xx/ADC/halconf.h
+++ b/testhal/STM32/STM32L0xx/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/ADC/main.c b/testhal/STM32/STM32L0xx/ADC/main.c
index fb4e6a1cb..0c0c8eaaf 100644
--- a/testhal/STM32/STM32L0xx/ADC/main.c
+++ b/testhal/STM32/STM32L0xx/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/ADC/mcuconf.h b/testhal/STM32/STM32L0xx/ADC/mcuconf.h
index a047027f3..e34d4b4f6 100644
--- a/testhal/STM32/STM32L0xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32L0xx/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/SPI/chconf.h b/testhal/STM32/STM32L0xx/SPI/chconf.h
index dc3f0cf58..ac9a86366 100644
--- a/testhal/STM32/STM32L0xx/SPI/chconf.h
+++ b/testhal/STM32/STM32L0xx/SPI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/SPI/halconf.h b/testhal/STM32/STM32L0xx/SPI/halconf.h
index 67403d6fc..10d3cdeeb 100644
--- a/testhal/STM32/STM32L0xx/SPI/halconf.h
+++ b/testhal/STM32/STM32L0xx/SPI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/SPI/main.c b/testhal/STM32/STM32L0xx/SPI/main.c
index 7cacee323..d68f0310e 100644
--- a/testhal/STM32/STM32L0xx/SPI/main.c
+++ b/testhal/STM32/STM32L0xx/SPI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/SPI/mcuconf.h b/testhal/STM32/STM32L0xx/SPI/mcuconf.h
index 12bdd8f90..8383701f9 100644
--- a/testhal/STM32/STM32L0xx/SPI/mcuconf.h
+++ b/testhal/STM32/STM32L0xx/SPI/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h
index da91dccad..8cb44b9b5 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/halconf.h b/testhal/STM32/STM32L0xx/USB_CDC/halconf.h
index b5d1b7077..c63200867 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32L0xx/USB_CDC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/main.c b/testhal/STM32/STM32L0xx/USB_CDC/main.c
index f46440007..876e7aad9 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32L0xx/USB_CDC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32L0xx/USB_CDC/mcuconf.h
index c1b455574..5961165d9 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32L0xx/USB_CDC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c
index 558334fb5..ad4d01899 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.h b/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.h
index 3833bf9fd..886cd0222 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.h
+++ b/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/ADC/chconf.h b/testhal/STM32/STM32L1xx/ADC/chconf.h
index d8ec9b113..e7a14fb3a 100644
--- a/testhal/STM32/STM32L1xx/ADC/chconf.h
+++ b/testhal/STM32/STM32L1xx/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/ADC/halconf.h b/testhal/STM32/STM32L1xx/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32L1xx/ADC/halconf.h
+++ b/testhal/STM32/STM32L1xx/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/ADC/main.c b/testhal/STM32/STM32L1xx/ADC/main.c
index 289c631fc..79305dafc 100644
--- a/testhal/STM32/STM32L1xx/ADC/main.c
+++ b/testhal/STM32/STM32L1xx/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/ADC/mcuconf.h b/testhal/STM32/STM32L1xx/ADC/mcuconf.h
index 1ea0a2331..1cf80efe0 100644
--- a/testhal/STM32/STM32L1xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/DAC/chconf.h b/testhal/STM32/STM32L1xx/DAC/chconf.h
index d8ec9b113..e7a14fb3a 100644
--- a/testhal/STM32/STM32L1xx/DAC/chconf.h
+++ b/testhal/STM32/STM32L1xx/DAC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/DAC/halconf.h b/testhal/STM32/STM32L1xx/DAC/halconf.h
index 7794c8759..f45780a29 100644
--- a/testhal/STM32/STM32L1xx/DAC/halconf.h
+++ b/testhal/STM32/STM32L1xx/DAC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/DAC/main.c b/testhal/STM32/STM32L1xx/DAC/main.c
index 316f1f905..28ce69ffe 100644
--- a/testhal/STM32/STM32L1xx/DAC/main.c
+++ b/testhal/STM32/STM32L1xx/DAC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/DAC/mcuconf.h b/testhal/STM32/STM32L1xx/DAC/mcuconf.h
index 7c14b8f75..657b39abd 100644
--- a/testhal/STM32/STM32L1xx/DAC/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/DAC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h
index d8ec9b113..e7a14fb3a 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h
index aece9dc25..1096068df 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/main.c b/testhal/STM32/STM32L1xx/IRQ_STORM/main.c
index c33806c8a..b9312e78b 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h
index 57313cf26..a66a4c5ff 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h
index d8ec9b113..e7a14fb3a 100644
--- a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h
index ca2f41461..13dd0e440 100644
--- a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/main.c b/testhal/STM32/STM32L1xx/PWM-ICU/main.c
index a814521a3..9a7a00906 100644
--- a/testhal/STM32/STM32L1xx/PWM-ICU/main.c
+++ b/testhal/STM32/STM32L1xx/PWM-ICU/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h
index ec771b3d9..c7964b1f4 100644
--- a/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/SPI/chconf.h b/testhal/STM32/STM32L1xx/SPI/chconf.h
index d8ec9b113..e7a14fb3a 100644
--- a/testhal/STM32/STM32L1xx/SPI/chconf.h
+++ b/testhal/STM32/STM32L1xx/SPI/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/SPI/halconf.h b/testhal/STM32/STM32L1xx/SPI/halconf.h
index 25c0ca5e2..3cfe3424f 100644
--- a/testhal/STM32/STM32L1xx/SPI/halconf.h
+++ b/testhal/STM32/STM32L1xx/SPI/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/SPI/main.c b/testhal/STM32/STM32L1xx/SPI/main.c
index cac88f4f6..ef9e657b8 100644
--- a/testhal/STM32/STM32L1xx/SPI/main.c
+++ b/testhal/STM32/STM32L1xx/SPI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/SPI/mcuconf.h b/testhal/STM32/STM32L1xx/SPI/mcuconf.h
index 13e22b0f4..8211160f0 100644
--- a/testhal/STM32/STM32L1xx/SPI/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/SPI/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/UART/chconf.h b/testhal/STM32/STM32L1xx/UART/chconf.h
index d8ec9b113..e7a14fb3a 100644
--- a/testhal/STM32/STM32L1xx/UART/chconf.h
+++ b/testhal/STM32/STM32L1xx/UART/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/UART/halconf.h b/testhal/STM32/STM32L1xx/UART/halconf.h
index 44222a40e..00934ae95 100644
--- a/testhal/STM32/STM32L1xx/UART/halconf.h
+++ b/testhal/STM32/STM32L1xx/UART/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/UART/main.c b/testhal/STM32/STM32L1xx/UART/main.c
index b6d90fac4..72d9291af 100644
--- a/testhal/STM32/STM32L1xx/UART/main.c
+++ b/testhal/STM32/STM32L1xx/UART/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L1xx/UART/mcuconf.h b/testhal/STM32/STM32L1xx/UART/mcuconf.h
index 62897104c..da5098ac8 100644
--- a/testhal/STM32/STM32L1xx/UART/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/UART/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/ADC/chconf.h b/testhal/STM32/STM32L4xx/ADC/chconf.h
index 814f73584..899a292ef 100644
--- a/testhal/STM32/STM32L4xx/ADC/chconf.h
+++ b/testhal/STM32/STM32L4xx/ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/ADC/halconf.h b/testhal/STM32/STM32L4xx/ADC/halconf.h
index 6bf6e35e2..7a71e6f1d 100644
--- a/testhal/STM32/STM32L4xx/ADC/halconf.h
+++ b/testhal/STM32/STM32L4xx/ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/ADC/main.c b/testhal/STM32/STM32L4xx/ADC/main.c
index 6a0c02ef2..ee950f26f 100644
--- a/testhal/STM32/STM32L4xx/ADC/main.c
+++ b/testhal/STM32/STM32L4xx/ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/ADC/mcuconf.h b/testhal/STM32/STM32L4xx/ADC/mcuconf.h
index c5f238704..5c5e0a61b 100644
--- a/testhal/STM32/STM32L4xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32L4xx/ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/CAN/chconf.h b/testhal/STM32/STM32L4xx/CAN/chconf.h
index 814f73584..899a292ef 100644
--- a/testhal/STM32/STM32L4xx/CAN/chconf.h
+++ b/testhal/STM32/STM32L4xx/CAN/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/CAN/halconf.h b/testhal/STM32/STM32L4xx/CAN/halconf.h
index 03eaaceb8..b344639af 100644
--- a/testhal/STM32/STM32L4xx/CAN/halconf.h
+++ b/testhal/STM32/STM32L4xx/CAN/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/CAN/main.c b/testhal/STM32/STM32L4xx/CAN/main.c
index 5aaea86ec..e88ce1a2f 100644
--- a/testhal/STM32/STM32L4xx/CAN/main.c
+++ b/testhal/STM32/STM32L4xx/CAN/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/CAN/mcuconf.h b/testhal/STM32/STM32L4xx/CAN/mcuconf.h
index 25d8ba73d..db54aadfd 100644
--- a/testhal/STM32/STM32L4xx/CAN/mcuconf.h
+++ b/testhal/STM32/STM32L4xx/CAN/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h b/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h
index 814f73584..899a292ef 100644
--- a/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h
+++ b/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h b/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h
index 00d0a3ac8..caef55693 100644
--- a/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h
+++ b/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/main.c b/testhal/STM32/STM32L4xx/GPT-ADC/main.c
index 80ad44189..2ff61503d 100644
--- a/testhal/STM32/STM32L4xx/GPT-ADC/main.c
+++ b/testhal/STM32/STM32L4xx/GPT-ADC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/mcuconf.h b/testhal/STM32/STM32L4xx/GPT-ADC/mcuconf.h
index 4872a5283..b00f1446e 100644
--- a/testhal/STM32/STM32L4xx/GPT-ADC/mcuconf.h
+++ b/testhal/STM32/STM32L4xx/GPT-ADC/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h
index 814f73584..899a292ef 100644
--- a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h
index 6b7c197e0..56c4578fc 100644
--- a/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/main.c b/testhal/STM32/STM32L4xx/IRQ_STORM/main.c
index dc6b9ef13..93c971ff0 100644
--- a/testhal/STM32/STM32L4xx/IRQ_STORM/main.c
+++ b/testhal/STM32/STM32L4xx/IRQ_STORM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/mcuconf.h
index baa52e611..1119ce8ca 100644
--- a/testhal/STM32/STM32L4xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32L4xx/IRQ_STORM/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/mcuconf.h
index 49aaf37d1..b4ef0a775 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h
index 67dd54ae7..14cb82b13 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h
index be2aaedb2..61d419211 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/mcuconf.h
index 3b8be0dab..60a1e66e8 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.h
index 7055e7408..d7ccd6994 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/mcuconf.h
index 3da290a6d..99b241889 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.h
index 554731819..306be489d 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h
index 814f73584..899a292ef 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/mcuconf.h
index 7c011afbf..818b17f3e 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.h
index 8f3e9bdff..c8feeae02 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h
index 6cd1b89d3..d04cdfa77 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h
index 67dd54ae7..14cb82b13 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h
index 814f73584..899a292ef 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/mcuconf.h
index 2d35c23e8..d3667ec0d 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.h
index 4c14f7032..30b2c903c 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/mcuconf.h
index 773b73d7f..2d5eea42c 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.h
index e5e652cc3..d2c93ad35 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h
index dc3f0cf58..ac9a86366 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/mcuconf.h
index b99e21477..89b9135e5 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.h
index 02eff388b..4341fa22a 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h
index c903d71e6..150ec4341 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/halconf.h
index a2a400ad3..cfb4d401a 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/mcuconf.h
index 5c803b523..12ac88d3f 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.c
index 475f338a5..e05972153 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.h
index 14719359a..f99e79e82 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h
index 7771cf7dc..f7588551f 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h
index 5aec384f3..6d3895392 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/mcuconf.h
index 1fdf05ccc..c632cd5f2 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/mcuconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.c
index 0918c108c..6315515a0 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.c
+++ b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.h
index 8e7c1cdcf..0ea74cc01 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/PAL/main.c b/testhal/STM32/multi/PAL/main.c
index 84aba0857..e2dd86aea 100644
--- a/testhal/STM32/multi/PAL/main.c
+++ b/testhal/STM32/multi/PAL/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/chconf.h b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/chconf.h
index 7771cf7dc..f7588551f 100644
--- a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/chconf.h
+++ b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/halconf.h b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/halconf.h
index e34c3c4bf..69accc1ed 100644
--- a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/mcuconf.h b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/mcuconf.h
index 657efae66..8734a7042 100644
--- a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/mcuconf.h
+++ b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c
index 639e2f97e..878e69c05 100644
--- a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c
+++ b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.h b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.h
index 2f547774a..25f3c4d4c 100644
--- a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.h
+++ b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/QSPI-MFS/main.c b/testhal/STM32/multi/QSPI-MFS/main.c
index 0be2a81e6..e553f9719 100644
--- a/testhal/STM32/multi/QSPI-MFS/main.c
+++ b/testhal/STM32/multi/QSPI-MFS/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/halconf.h
index 67403d6fc..10d3cdeeb 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/mcuconf.h b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/mcuconf.h
index 9bb322445..919f01157 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/mcuconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.c b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.c
index 7b2b98439..8541a86fb 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.c
+++ b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h
index fee7874b7..c4b704c07 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/chconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/halconf.h
index 67403d6fc..10d3cdeeb 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/mcuconf.h
index faf6e288d..952c4e4af 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/mcuconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.c b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.c
index e5a3687bc..2718d6aeb 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.c
+++ b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.h b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.h
index 01344c9d8..a8c20e725 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f303_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/chconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/halconf.h
index 67403d6fc..10d3cdeeb 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/mcuconf.h b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/mcuconf.h
index 58d390cf7..132b59409 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/mcuconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.c b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.c
index 02ff7047b..33aa6aac2 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.c
+++ b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.h b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.h
index 73293a0cf..69f518381 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f407_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/chconf.h b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/chconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/halconf.h
index 67403d6fc..10d3cdeeb 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/mcuconf.h b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/mcuconf.h
index 8a8304dc0..eaba528af 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/mcuconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.c b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.c
index 42caab502..aaf2d9a52 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.c
+++ b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.h b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.h
index b60b8584e..0fc28ed2c 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32h743_nucleo144/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/SPI/main.c b/testhal/STM32/multi/SPI/main.c
index d4e5e3e80..76f19177b 100755
--- a/testhal/STM32/multi/SPI/main.c
+++ b/testhal/STM32/multi/SPI/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/chconf.h b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/chconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h
index a7f25ffab..97c851efa 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/mcuconf.h b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/mcuconf.h
index c254b22a9..8287d9629 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/mcuconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c
index 6c400ab4c..e87551032 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c
+++ b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.h b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.h
index 3e34da82d..d02d20dbc 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/chconf.h b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/chconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/halconf.h b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/halconf.h
index a7f25ffab..97c851efa 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/mcuconf.h
index bd7d873b4..21a681a9c 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/mcuconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c
index 99dec7674..bdd5fa4bf 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c
+++ b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.h b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.h
index 4d2905ea5..63a97c9c9 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f303_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/chconf.h b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/chconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/halconf.h b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/halconf.h
index a7f25ffab..97c851efa 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/mcuconf.h b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/mcuconf.h
index 2f6e98c83..8465ce986 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/mcuconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
index 77288cf43..76d1f193c 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
+++ b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.h b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.h
index 317ebe8cc..696ec3475 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f407_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/chconf.h b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/chconf.h
index 8466240cb..53bd6764b 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/chconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/halconf.h b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/halconf.h
index a7f25ffab..97c851efa 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/mcuconf.h b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/mcuconf.h
index 5f19d541b..705b3bfe1 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/mcuconf.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c
index 6c400ab4c..e87551032 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c
+++ b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.h b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.h
index b174a93c1..abf1f55fe 100644
--- a/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.h
+++ b/testhal/STM32/multi/UART/cfg-stm32f746_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/UART/main.c b/testhal/STM32/multi/UART/main.c
index f82e12a8f..b4342868f 100644
--- a/testhal/STM32/multi/UART/main.c
+++ b/testhal/STM32/multi/UART/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/mcuconf.h
index 9f8653f69..ed9c3d1f3 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/mcuconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.c b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.c
index 8ab191970..51beb324b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.c
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.h
index 66d6960c5..1c8c08e2d 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/chconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/mcuconf.h
index babe861ec..a7c8ce8c8 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/mcuconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.c b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.c
index 8ab191970..51beb324b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.c
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.h
index 123349a97..95abe66af 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f407_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/chconf.h
index a2e8b5632..184320861 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/chconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/mcuconf.h
index af78a4277..328b2b8be 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/mcuconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.c b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.c
index 37df4249b..a44ed3079 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.c
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.h
index 56e84c198..465ff26dc 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f746_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h
index 7771cf7dc..f7588551f 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/halconf.h
index a52cf6961..3772676ad 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/halconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/mcuconf.h
index bc2a38ac8..192d9f6ed 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/mcuconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/mcuconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.c b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.c
index 8ab191970..51beb324b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.c
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.h b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.h
index cf783dfd9..e6ee720a1 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/portab.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/main.c b/testhal/STM32/multi/USB_CDC/main.c
index 52f1346d1..3da0c973e 100644
--- a/testhal/STM32/multi/USB_CDC/main.c
+++ b/testhal/STM32/multi/USB_CDC/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/source/usbcfg.c b/testhal/STM32/multi/USB_CDC/source/usbcfg.c
index ff290eebb..1404b372f 100644
--- a/testhal/STM32/multi/USB_CDC/source/usbcfg.c
+++ b/testhal/STM32/multi/USB_CDC/source/usbcfg.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/STM32/multi/USB_CDC/source/usbcfg.h b/testhal/STM32/multi/USB_CDC/source/usbcfg.h
index 0dfe7710d..f0b40ba8f 100644
--- a/testhal/STM32/multi/USB_CDC/source/usbcfg.h
+++ b/testhal/STM32/multi/USB_CDC/source/usbcfg.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/common/irq_storm.c b/testhal/common/irq_storm.c
index f8f9b93e3..81508ff08 100644
--- a/testhal/common/irq_storm.c
+++ b/testhal/common/irq_storm.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/testhal/common/irq_storm.h b/testhal/common/irq_storm.h
index 7dd96ce5e..d1bbe96df 100644
--- a/testhal/common/irq_storm.h
+++ b/testhal/common/irq_storm.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.