From f063c4d19339144df89d6bc060ee2017b0572c5c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 20 Jan 2018 11:44:14 +0000 Subject: 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 --- testhal/AVR/MEGA/ADC/chconf.h | 2 +- testhal/AVR/MEGA/ADC/halconf.h | 2 +- testhal/AVR/MEGA/ADC/mcuconf.h | 230 +++++++++++------------ testhal/AVR/MEGA/EXT/chconf.h | 2 +- testhal/AVR/MEGA/EXT/halconf.h | 2 +- testhal/AVR/MEGA/EXT/mcuconf.h | 230 +++++++++++------------ testhal/AVR/MEGA/GPT/chconf.h | 2 +- testhal/AVR/MEGA/GPT/halconf.h | 2 +- testhal/AVR/MEGA/GPT/main.c | 2 +- testhal/AVR/MEGA/GPT/mcuconf.h | 230 +++++++++++------------ testhal/AVR/MEGA/I2C/chconf.h | 2 +- testhal/AVR/MEGA/I2C/halconf.h | 2 +- testhal/AVR/MEGA/I2C/main.c | 2 +- testhal/AVR/MEGA/I2C/mcuconf.h | 230 +++++++++++------------ testhal/AVR/MEGA/ICU/chconf.h | 2 +- testhal/AVR/MEGA/ICU/halconf.h | 2 +- testhal/AVR/MEGA/ICU/main.c | 2 +- testhal/AVR/MEGA/ICU/mcuconf.h | 230 +++++++++++------------ testhal/AVR/MEGA/PWM/chconf.h | 2 +- testhal/AVR/MEGA/PWM/halconf.h | 2 +- testhal/AVR/MEGA/PWM/main.c | 2 +- testhal/AVR/MEGA/PWM/mcuconf.h | 230 +++++++++++------------ testhal/AVR/MEGA/SPI/chconf.h | 2 +- testhal/AVR/MEGA/SPI/halconf.h | 2 +- testhal/AVR/MEGA/SPI/mcuconf.h | 230 +++++++++++------------ testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h | 230 +++++++++++------------ testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c | 2 +- testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h | 230 +++++++++++------------ testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c | 2 +- testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h | 230 +++++++++++------------ testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c | 2 +- testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h | 2 +- testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h | 230 +++++++++++------------ testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c | 2 +- testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h | 2 +- 45 files changed, 1299 insertions(+), 1299 deletions(-) (limited to 'testhal/AVR') diff --git a/testhal/AVR/MEGA/ADC/chconf.h b/testhal/AVR/MEGA/ADC/chconf.h index 051c43f30..87fc42b29 100644 --- a/testhal/AVR/MEGA/ADC/chconf.h +++ b/testhal/AVR/MEGA/ADC/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/ADC/halconf.h b/testhal/AVR/MEGA/ADC/halconf.h index c5f60001a..46cca18d0 100644 --- a/testhal/AVR/MEGA/ADC/halconf.h +++ b/testhal/AVR/MEGA/ADC/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/ADC/mcuconf.h b/testhal/AVR/MEGA/ADC/mcuconf.h index 4b364b9ab..1b4ca39f7 100644 --- a/testhal/AVR/MEGA/ADC/mcuconf.h +++ b/testhal/AVR/MEGA/ADC/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 TRUE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 TRUE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/MEGA/EXT/chconf.h b/testhal/AVR/MEGA/EXT/chconf.h index 051c43f30..87fc42b29 100644 --- a/testhal/AVR/MEGA/EXT/chconf.h +++ b/testhal/AVR/MEGA/EXT/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/EXT/halconf.h b/testhal/AVR/MEGA/EXT/halconf.h index cc0bb597e..70d535b5e 100644 --- a/testhal/AVR/MEGA/EXT/halconf.h +++ b/testhal/AVR/MEGA/EXT/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/EXT/mcuconf.h b/testhal/AVR/MEGA/EXT/mcuconf.h index 0a3ff15c4..348efde53 100644 --- a/testhal/AVR/MEGA/EXT/mcuconf.h +++ b/testhal/AVR/MEGA/EXT/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 TRUE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 TRUE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 TRUE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 TRUE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/MEGA/GPT/chconf.h b/testhal/AVR/MEGA/GPT/chconf.h index 051c43f30..87fc42b29 100644 --- a/testhal/AVR/MEGA/GPT/chconf.h +++ b/testhal/AVR/MEGA/GPT/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/GPT/halconf.h b/testhal/AVR/MEGA/GPT/halconf.h index f0b4e4245..b392b2752 100644 --- a/testhal/AVR/MEGA/GPT/halconf.h +++ b/testhal/AVR/MEGA/GPT/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/GPT/main.c b/testhal/AVR/MEGA/GPT/main.c index a64dcef06..7318a7cc1 100644 --- a/testhal/AVR/MEGA/GPT/main.c +++ b/testhal/AVR/MEGA/GPT/main.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/GPT/mcuconf.h b/testhal/AVR/MEGA/GPT/mcuconf.h index c8cc8933e..8166635ad 100644 --- a/testhal/AVR/MEGA/GPT/mcuconf.h +++ b/testhal/AVR/MEGA/GPT/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 TRUE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 TRUE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/MEGA/I2C/chconf.h b/testhal/AVR/MEGA/I2C/chconf.h index 051c43f30..87fc42b29 100644 --- a/testhal/AVR/MEGA/I2C/chconf.h +++ b/testhal/AVR/MEGA/I2C/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/I2C/halconf.h b/testhal/AVR/MEGA/I2C/halconf.h index 165de7ceb..52a8deced 100644 --- a/testhal/AVR/MEGA/I2C/halconf.h +++ b/testhal/AVR/MEGA/I2C/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/I2C/main.c b/testhal/AVR/MEGA/I2C/main.c index 45d3b09a1..d355ffeb3 100644 --- a/testhal/AVR/MEGA/I2C/main.c +++ b/testhal/AVR/MEGA/I2C/main.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/I2C/mcuconf.h b/testhal/AVR/MEGA/I2C/mcuconf.h index 73d33b682..567a40f4c 100644 --- a/testhal/AVR/MEGA/I2C/mcuconf.h +++ b/testhal/AVR/MEGA/I2C/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 TRUE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 TRUE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/MEGA/ICU/chconf.h b/testhal/AVR/MEGA/ICU/chconf.h index 051c43f30..87fc42b29 100644 --- a/testhal/AVR/MEGA/ICU/chconf.h +++ b/testhal/AVR/MEGA/ICU/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/ICU/halconf.h b/testhal/AVR/MEGA/ICU/halconf.h index d3445f91d..2ef78d5a1 100644 --- a/testhal/AVR/MEGA/ICU/halconf.h +++ b/testhal/AVR/MEGA/ICU/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/ICU/main.c b/testhal/AVR/MEGA/ICU/main.c index 3e8786067..c8e2896cf 100644 --- a/testhal/AVR/MEGA/ICU/main.c +++ b/testhal/AVR/MEGA/ICU/main.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/ICU/mcuconf.h b/testhal/AVR/MEGA/ICU/mcuconf.h index 214ac0c24..1105ffbda 100644 --- a/testhal/AVR/MEGA/ICU/mcuconf.h +++ b/testhal/AVR/MEGA/ICU/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 TRUE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 TRUE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/MEGA/PWM/chconf.h b/testhal/AVR/MEGA/PWM/chconf.h index 051c43f30..87fc42b29 100644 --- a/testhal/AVR/MEGA/PWM/chconf.h +++ b/testhal/AVR/MEGA/PWM/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/PWM/halconf.h b/testhal/AVR/MEGA/PWM/halconf.h index ae6386dbb..54a92fd25 100644 --- a/testhal/AVR/MEGA/PWM/halconf.h +++ b/testhal/AVR/MEGA/PWM/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/PWM/main.c b/testhal/AVR/MEGA/PWM/main.c index 0aa633c70..67aaa353e 100644 --- a/testhal/AVR/MEGA/PWM/main.c +++ b/testhal/AVR/MEGA/PWM/main.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/PWM/mcuconf.h b/testhal/AVR/MEGA/PWM/mcuconf.h index 9da0aa199..7c67225ca 100644 --- a/testhal/AVR/MEGA/PWM/mcuconf.h +++ b/testhal/AVR/MEGA/PWM/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 TRUE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 TRUE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/MEGA/SPI/chconf.h b/testhal/AVR/MEGA/SPI/chconf.h index 051c43f30..87fc42b29 100644 --- a/testhal/AVR/MEGA/SPI/chconf.h +++ b/testhal/AVR/MEGA/SPI/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/SPI/halconf.h b/testhal/AVR/MEGA/SPI/halconf.h index d6a1335cc..57ab4b024 100644 --- a/testhal/AVR/MEGA/SPI/halconf.h +++ b/testhal/AVR/MEGA/SPI/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/MEGA/SPI/mcuconf.h b/testhal/AVR/MEGA/SPI/mcuconf.h index ac88a5584..3851edfe1 100644 --- a/testhal/AVR/MEGA/SPI/mcuconf.h +++ b/testhal/AVR/MEGA/SPI/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 TRUE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 TRUE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h index 141d0d5a6..2f63e6f13 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h index bc13cdf6e..44d43e171 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h index f6bcf0b49..11aa69f22 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c index 0918c108c..6315515a0 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c +++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h index 786e843d9..a35f5db12 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/portab.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h index 141d0d5a6..2f63e6f13 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h index bc13cdf6e..44d43e171 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h index f6bcf0b49..11aa69f22 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c index 0918c108c..6315515a0 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c +++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h index 4bd396cf1..53b286dc8 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/portab.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h index 141d0d5a6..2f63e6f13 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h index bc13cdf6e..44d43e171 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h index 3d3b54622..9088ee992 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - ²* I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + ²* I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c index 0918c108c..6315515a0 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c +++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h index 4bd396cf1..53b286dc8 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/portab.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h index 141d0d5a6..2f63e6f13 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h index bc13cdf6e..44d43e171 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/halconf.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h index f6bcf0b49..11aa69f22 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/mcuconf.h @@ -1,115 +1,115 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#ifndef MCUCONF_H -#define MCUCONF_H - -/* - * AVR drivers configuration. - * The following settings override the default settings present in - * the various device driver implementation headers. - * Note that the settings for each driver only have effect if the driver - * is enabled in halconf.h. - */ - -/* - * ADC driver system settings. - */ -#define AVR_ADC_USE_ADC1 FALSE - -/* - * EXT drivers system settings. - */ -#define AVR_EXT_USE_INT0 FALSE -#define AVR_EXT_USE_INT1 FALSE -#define AVR_EXT_USE_INT2 FALSE -#define AVR_EXT_USE_INT3 FALSE -#define AVR_EXT_USE_INT4 FALSE -#define AVR_EXT_USE_INT5 FALSE - -/* - * PCINT driver system settings. - */ -#define AVR_EXT_USE_PCINT0 FALSE -#define AVR_EXT_USE_PCINT1 FALSE -#define AVR_EXT_USE_PCINT2 FALSE -#define AVR_EXT_USE_PCINT3 FALSE -#define AVR_EXT_USE_PCINT4 FALSE -#define AVR_EXT_USE_PCINT5 FALSE -#define AVR_EXT_USE_PCINT6 FALSE -#define AVR_EXT_USE_PCINT7 FALSE -#define AVR_EXT_USE_PCINT8 FALSE -#define AVR_EXT_USE_PCINT9 FALSE -#define AVR_EXT_USE_PCINT10 FALSE - -/* - * CAN driver system settings. - */ - -/* - * MAC driver system settings. - */ - -/* - * PWM driver system settings. - */ -#define AVR_PWM_USE_TIM1 FALSE -#define AVR_PWM_USE_TIM2 FALSE -#define AVR_PWM_USE_TIM3 FALSE -#define AVR_PWM_USE_TIM4 FALSE -#define AVR_PWM_USE_TIM5 FALSE - -/* - * ICU driver system settings. - */ -#define AVR_ICU_USE_TIM1 FALSE -#define AVR_ICU_USE_TIM3 FALSE -#define AVR_ICU_USE_TIM4 FALSE -#define AVR_ICU_USE_TIM5 FALSE - -/* - * GPT driver system settings. - */ -#define AVR_GPT_USE_TIM1 FALSE -#define AVR_GPT_USE_TIM2 FALSE -#define AVR_GPT_USE_TIM3 FALSE -#define AVR_GPT_USE_TIM4 FALSE -#define AVR_GPT_USE_TIM5 FALSE - -/* - * SERIAL driver system settings. - */ -#define AVR_SERIAL_USE_USART0 TRUE -#define AVR_SERIAL_USE_USART1 FALSE - -/* - * I2C driver system settings. - */ -#define AVR_I2C_USE_I2C1 FALSE - -/* - * SPI driver system settings. - */ -#define AVR_SPI_USE_SPI1 FALSE -#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE - -/* - * USB driver system settings. - */ -#define AVR_USB_USE_USB1 FALSE -#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE - -#endif /* MCUCONF_H */ +/* + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef MCUCONF_H +#define MCUCONF_H + +/* + * AVR drivers configuration. + * The following settings override the default settings present in + * the various device driver implementation headers. + * Note that the settings for each driver only have effect if the driver + * is enabled in halconf.h. + */ + +/* + * ADC driver system settings. + */ +#define AVR_ADC_USE_ADC1 FALSE + +/* + * EXT drivers system settings. + */ +#define AVR_EXT_USE_INT0 FALSE +#define AVR_EXT_USE_INT1 FALSE +#define AVR_EXT_USE_INT2 FALSE +#define AVR_EXT_USE_INT3 FALSE +#define AVR_EXT_USE_INT4 FALSE +#define AVR_EXT_USE_INT5 FALSE + +/* + * PCINT driver system settings. + */ +#define AVR_EXT_USE_PCINT0 FALSE +#define AVR_EXT_USE_PCINT1 FALSE +#define AVR_EXT_USE_PCINT2 FALSE +#define AVR_EXT_USE_PCINT3 FALSE +#define AVR_EXT_USE_PCINT4 FALSE +#define AVR_EXT_USE_PCINT5 FALSE +#define AVR_EXT_USE_PCINT6 FALSE +#define AVR_EXT_USE_PCINT7 FALSE +#define AVR_EXT_USE_PCINT8 FALSE +#define AVR_EXT_USE_PCINT9 FALSE +#define AVR_EXT_USE_PCINT10 FALSE + +/* + * CAN driver system settings. + */ + +/* + * MAC driver system settings. + */ + +/* + * PWM driver system settings. + */ +#define AVR_PWM_USE_TIM1 FALSE +#define AVR_PWM_USE_TIM2 FALSE +#define AVR_PWM_USE_TIM3 FALSE +#define AVR_PWM_USE_TIM4 FALSE +#define AVR_PWM_USE_TIM5 FALSE + +/* + * ICU driver system settings. + */ +#define AVR_ICU_USE_TIM1 FALSE +#define AVR_ICU_USE_TIM3 FALSE +#define AVR_ICU_USE_TIM4 FALSE +#define AVR_ICU_USE_TIM5 FALSE + +/* + * GPT driver system settings. + */ +#define AVR_GPT_USE_TIM1 FALSE +#define AVR_GPT_USE_TIM2 FALSE +#define AVR_GPT_USE_TIM3 FALSE +#define AVR_GPT_USE_TIM4 FALSE +#define AVR_GPT_USE_TIM5 FALSE + +/* + * SERIAL driver system settings. + */ +#define AVR_SERIAL_USE_USART0 TRUE +#define AVR_SERIAL_USE_USART1 FALSE + +/* + * I2C driver system settings. + */ +#define AVR_I2C_USE_I2C1 FALSE + +/* + * SPI driver system settings. + */ +#define AVR_SPI_USE_SPI1 FALSE +#define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE + +/* + * USB driver system settings. + */ +#define AVR_USB_USE_USB1 FALSE +#define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE + +#endif /* MCUCONF_H */ diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c index 0918c108c..6315515a0 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c +++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.c @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h index 4bd396cf1..53b286dc8 100644 --- a/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h +++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/portab.h @@ -1,5 +1,5 @@ /* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. -- cgit v1.2.3