diff options
Diffstat (limited to 'lib/chibios/demos/AVR/NIL-ARDUINO-MINI/cfg/mcuconf.h')
-rw-r--r-- | lib/chibios/demos/AVR/NIL-ARDUINO-MINI/cfg/mcuconf.h | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/lib/chibios/demos/AVR/NIL-ARDUINO-MINI/cfg/mcuconf.h b/lib/chibios/demos/AVR/NIL-ARDUINO-MINI/cfg/mcuconf.h new file mode 100644 index 000000000..1cb5be6cf --- /dev/null +++ b/lib/chibios/demos/AVR/NIL-ARDUINO-MINI/cfg/mcuconf.h | |||
@@ -0,0 +1,115 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | #ifndef MCUCONF_H | ||
18 | #define MCUCONF_H | ||
19 | |||
20 | /* | ||
21 | * AVR drivers configuration. | ||
22 | * The following settings override the default settings present in | ||
23 | * the various device driver implementation headers. | ||
24 | * Note that the settings for each driver only have effect if the driver | ||
25 | * is enabled in halconf.h. | ||
26 | */ | ||
27 | |||
28 | /* | ||
29 | * ADC driver system settings. | ||
30 | */ | ||
31 | #define AVR_ADC_USE_ADC1 FALSE | ||
32 | |||
33 | /* | ||
34 | * EXT drivers system settings. | ||
35 | */ | ||
36 | #define AVR_EXT_USE_INT0 FALSE | ||
37 | #define AVR_EXT_USE_INT1 FALSE | ||
38 | #define AVR_EXT_USE_INT2 FALSE | ||
39 | #define AVR_EXT_USE_INT3 FALSE | ||
40 | #define AVR_EXT_USE_INT4 FALSE | ||
41 | #define AVR_EXT_USE_INT5 FALSE | ||
42 | |||
43 | /* | ||
44 | * PCINT driver system settings. | ||
45 | */ | ||
46 | #define AVR_EXT_USE_PCINT0 FALSE | ||
47 | #define AVR_EXT_USE_PCINT1 FALSE | ||
48 | #define AVR_EXT_USE_PCINT2 FALSE | ||
49 | #define AVR_EXT_USE_PCINT3 FALSE | ||
50 | #define AVR_EXT_USE_PCINT4 FALSE | ||
51 | #define AVR_EXT_USE_PCINT5 FALSE | ||
52 | #define AVR_EXT_USE_PCINT6 FALSE | ||
53 | #define AVR_EXT_USE_PCINT7 FALSE | ||
54 | #define AVR_EXT_USE_PCINT8 FALSE | ||
55 | #define AVR_EXT_USE_PCINT9 FALSE | ||
56 | #define AVR_EXT_USE_PCINT10 FALSE | ||
57 | |||
58 | /* | ||
59 | * CAN driver system settings. | ||
60 | */ | ||
61 | |||
62 | /* | ||
63 | * MAC driver system settings. | ||
64 | */ | ||
65 | |||
66 | /* | ||
67 | * PWM driver system settings. | ||
68 | */ | ||
69 | #define AVR_PWM_USE_TIM1 FALSE | ||
70 | #define AVR_PWM_USE_TIM2 FALSE | ||
71 | #define AVR_PWM_USE_TIM3 FALSE | ||
72 | #define AVR_PWM_USE_TIM4 FALSE | ||
73 | #define AVR_PWM_USE_TIM5 FALSE | ||
74 | |||
75 | /* | ||
76 | * ICU driver system settings. | ||
77 | */ | ||
78 | #define AVR_ICU_USE_TIM1 FALSE | ||
79 | #define AVR_ICU_USE_TIM3 FALSE | ||
80 | #define AVR_ICU_USE_TIM4 FALSE | ||
81 | #define AVR_ICU_USE_TIM5 FALSE | ||
82 | |||
83 | /* | ||
84 | * GPT driver system settings. | ||
85 | */ | ||
86 | #define AVR_GPT_USE_TIM1 FALSE | ||
87 | #define AVR_GPT_USE_TIM2 FALSE | ||
88 | #define AVR_GPT_USE_TIM3 FALSE | ||
89 | #define AVR_GPT_USE_TIM4 FALSE | ||
90 | #define AVR_GPT_USE_TIM5 FALSE | ||
91 | |||
92 | /* | ||
93 | * SERIAL driver system settings. | ||
94 | */ | ||
95 | #define AVR_SERIAL_USE_USART0 TRUE | ||
96 | #define AVR_SERIAL_USE_USART1 FALSE | ||
97 | |||
98 | /* | ||
99 | * I2C driver system settings. | ||
100 | */ | ||
101 | #define AVR_I2C_USE_I2C1 FALSE | ||
102 | |||
103 | /* | ||
104 | * SPI driver system settings. | ||
105 | */ | ||
106 | #define AVR_SPI_USE_SPI1 FALSE | ||
107 | #define AVR_SPI_USE_16BIT_POLLED_EXCHANGE FALSE | ||
108 | |||
109 | /* | ||
110 | * USB driver system settings. | ||
111 | */ | ||
112 | #define AVR_USB_USE_USB1 FALSE | ||
113 | #define AVR_USB_USE_NAMED_ADDRESS_SPACES FALSE | ||
114 | |||
115 | #endif /* MCUCONF_H */ | ||