aboutsummaryrefslogtreecommitdiffstats
path: root/os/common
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/common
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/common')
-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
190 files changed, 2089 insertions, 2089 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.