aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-01-20 11:44:14 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-01-20 11:44:14 +0000
commitf063c4d19339144df89d6bc060ee2017b0572c5c (patch)
tree136e9f5c866e7bbed71a614100121a4ea1ed7013 /os
parente561c21f95c961f5a53ea2bb499bf55c5b045d0e (diff)
downloadChibiOS-f063c4d19339144df89d6bc060ee2017b0572c5c.tar.gz
ChibiOS-f063c4d19339144df89d6bc060ee2017b0572c5c.tar.bz2
ChibiOS-f063c4d19339144df89d6bc060ee2017b0572c5c.zip
Mass update of the Apache 2.0 license statement.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11361 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-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
878 files changed, 4531 insertions, 4531 deletions
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