diff options
Diffstat (limited to 'lib/chibios-contrib/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/mcuconf.h')
-rw-r--r-- | lib/chibios-contrib/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/mcuconf.h | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/lib/chibios-contrib/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/mcuconf.h b/lib/chibios-contrib/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/mcuconf.h new file mode 100644 index 000000000..8ba860d25 --- /dev/null +++ b/lib/chibios-contrib/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/mcuconf.h | |||
@@ -0,0 +1,152 @@ | |||
1 | /* | ||
2 | Copyright (C) 2014..2017 Marco Veeneman | ||
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 | /* | ||
18 | * TM4C129x drivers configuration. | ||
19 | * The following settings override the default settings present in | ||
20 | * the various device driver implementation headers. | ||
21 | * Note that the settings for each driver only have effect if the whole | ||
22 | * driver is enabled in halconf.h. | ||
23 | * | ||
24 | * IRQ priorities: | ||
25 | * 7...0 Lowest...Highest. | ||
26 | */ | ||
27 | |||
28 | #define TM4C129x_MCUCONF | ||
29 | |||
30 | /* | ||
31 | * HAL driver system settings. | ||
32 | */ | ||
33 | #define TIVA_MOSC_SINGLE_ENDED FALSE | ||
34 | #define TIVA_RSCLKCFG_OSCSRC SYSCTL_RSCLKCFG_OSCSRC_MOSC | ||
35 | |||
36 | /* | ||
37 | * GPT driver system settings. | ||
38 | */ | ||
39 | #define TIVA_GPT_USE_GPT0 FALSE | ||
40 | #define TIVA_GPT_USE_GPT1 FALSE | ||
41 | #define TIVA_GPT_USE_GPT2 FALSE | ||
42 | #define TIVA_GPT_USE_GPT3 FALSE | ||
43 | #define TIVA_GPT_USE_GPT4 FALSE | ||
44 | #define TIVA_GPT_USE_GPT5 FALSE | ||
45 | #define TIVA_GPT_USE_GPT6 FALSE | ||
46 | #define TIVA_GPT_USE_GPT7 FALSE | ||
47 | #define TIVA_GPT_GPT0A_IRQ_PRIORITY 7 | ||
48 | #define TIVA_GPT_GPT1A_IRQ_PRIORITY 7 | ||
49 | #define TIVA_GPT_GPT2A_IRQ_PRIORITY 7 | ||
50 | #define TIVA_GPT_GPT3A_IRQ_PRIORITY 7 | ||
51 | #define TIVA_GPT_GPT4A_IRQ_PRIORITY 7 | ||
52 | #define TIVA_GPT_GPT5A_IRQ_PRIORITY 7 | ||
53 | #define TIVA_GPT_GPT6A_IRQ_PRIORITY 7 | ||
54 | #define TIVA_GPT_GPT7A_IRQ_PRIORITY 7 | ||
55 | |||
56 | /* | ||
57 | * PAL driver system settings. | ||
58 | */ | ||
59 | #define TIVA_PAL_GPIOA_IRQ_PRIORITY 3 | ||
60 | #define TIVA_PAL_GPIOB_IRQ_PRIORITY 3 | ||
61 | #define TIVA_PAL_GPIOC_IRQ_PRIORITY 3 | ||
62 | #define TIVA_PAL_GPIOD_IRQ_PRIORITY 3 | ||
63 | #define TIVA_PAL_GPIOE_IRQ_PRIORITY 3 | ||
64 | #define TIVA_PAL_GPIOF_IRQ_PRIORITY 3 | ||
65 | #define TIVA_PAL_GPIOG_IRQ_PRIORITY 3 | ||
66 | #define TIVA_PAL_GPIOH_IRQ_PRIORITY 3 | ||
67 | #define TIVA_PAL_GPIOJ_IRQ_PRIORITY 3 | ||
68 | #define TIVA_PAL_GPIOK_IRQ_PRIORITY 3 | ||
69 | #define TIVA_PAL_GPIOL_IRQ_PRIORITY 3 | ||
70 | #define TIVA_PAL_GPIOM_IRQ_PRIORITY 3 | ||
71 | #define TIVA_PAL_GPION_IRQ_PRIORITY 3 | ||
72 | #define TIVA_PAL_GPIOP0_IRQ_PRIORITY 3 | ||
73 | #define TIVA_PAL_GPIOP1_IRQ_PRIORITY 3 | ||
74 | #define TIVA_PAL_GPIOP2_IRQ_PRIORITY 3 | ||
75 | #define TIVA_PAL_GPIOP3_IRQ_PRIORITY 3 | ||
76 | #define TIVA_PAL_GPIOP4_IRQ_PRIORITY 3 | ||
77 | #define TIVA_PAL_GPIOP5_IRQ_PRIORITY 3 | ||
78 | #define TIVA_PAL_GPIOP6_IRQ_PRIORITY 3 | ||
79 | #define TIVA_PAL_GPIOP7_IRQ_PRIORITY 3 | ||
80 | #define TIVA_PAL_GPIOQ0_IRQ_PRIORITY 3 | ||
81 | #define TIVA_PAL_GPIOQ1_IRQ_PRIORITY 3 | ||
82 | #define TIVA_PAL_GPIOQ2_IRQ_PRIORITY 3 | ||
83 | #define TIVA_PAL_GPIOQ3_IRQ_PRIORITY 3 | ||
84 | #define TIVA_PAL_GPIOQ4_IRQ_PRIORITY 3 | ||
85 | #define TIVA_PAL_GPIOQ5_IRQ_PRIORITY 3 | ||
86 | #define TIVA_PAL_GPIOQ6_IRQ_PRIORITY 3 | ||
87 | #define TIVA_PAL_GPIOQ7_IRQ_PRIORITY 3 | ||
88 | #define TIVA_PAL_GPIOR_IRQ_PRIORITY 3 | ||
89 | #define TIVA_PAL_GPIOS_IRQ_PRIORITY 3 | ||
90 | #define TIVA_PAL_GPIOT_IRQ_PRIORITY 3 | ||
91 | |||
92 | /* | ||
93 | * I2C driver system settings. | ||
94 | */ | ||
95 | #define TIVA_I2C_USE_I2C0 FALSE | ||
96 | #define TIVA_I2C_USE_I2C1 FALSE | ||
97 | #define TIVA_I2C_USE_I2C2 FALSE | ||
98 | #define TIVA_I2C_USE_I2C3 FALSE | ||
99 | #define TIVA_I2C_USE_I2C4 FALSE | ||
100 | #define TIVA_I2C_USE_I2C5 FALSE | ||
101 | #define TIVA_I2C_USE_I2C6 FALSE | ||
102 | #define TIVA_I2C_USE_I2C7 FALSE | ||
103 | #define TIVA_I2C_USE_I2C8 FALSE | ||
104 | #define TIVA_I2C_USE_I2C9 FALSE | ||
105 | #define TIVA_I2C_I2C0_IRQ_PRIORITY 4 | ||
106 | #define TIVA_I2C_I2C1_IRQ_PRIORITY 4 | ||
107 | #define TIVA_I2C_I2C2_IRQ_PRIORITY 4 | ||
108 | #define TIVA_I2C_I2C3_IRQ_PRIORITY 4 | ||
109 | #define TIVA_I2C_I2C4_IRQ_PRIORITY 4 | ||
110 | #define TIVA_I2C_I2C5_IRQ_PRIORITY 4 | ||
111 | #define TIVA_I2C_I2C6_IRQ_PRIORITY 4 | ||
112 | #define TIVA_I2C_I2C7_IRQ_PRIORITY 4 | ||
113 | #define TIVA_I2C_I2C8_IRQ_PRIORITY 4 | ||
114 | #define TIVA_I2C_I2C9_IRQ_PRIORITY 4 | ||
115 | |||
116 | /* | ||
117 | * PWM driver system settings. | ||
118 | */ | ||
119 | #define TIVA_PWM_USE_PWM0 FALSE | ||
120 | #define TIVA_PWM_PWM0_FAULT_IRQ_PRIORITY 4 | ||
121 | #define TIVA_PWM_PWM0_0_IRQ_PRIORITY 4 | ||
122 | #define TIVA_PWM_PWM0_1_IRQ_PRIORITY 4 | ||
123 | #define TIVA_PWM_PWM0_2_IRQ_PRIORITY 4 | ||
124 | #define TIVA_PWM_PWM0_3_IRQ_PRIORITY 4 | ||
125 | |||
126 | /* | ||
127 | * SERIAL driver system settings. | ||
128 | */ | ||
129 | #define TIVA_SERIAL_USE_UART0 TRUE | ||
130 | #define TIVA_SERIAL_USE_UART1 FALSE | ||
131 | #define TIVA_SERIAL_USE_UART2 FALSE | ||
132 | #define TIVA_SERIAL_USE_UART3 FALSE | ||
133 | #define TIVA_SERIAL_USE_UART4 FALSE | ||
134 | #define TIVA_SERIAL_USE_UART5 FALSE | ||
135 | #define TIVA_SERIAL_USE_UART6 FALSE | ||
136 | #define TIVA_SERIAL_USE_UART7 FALSE | ||
137 | #define TIVA_SERIAL_UART0_PRIORITY 5 | ||
138 | #define TIVA_SERIAL_UART1_PRIORITY 5 | ||
139 | #define TIVA_SERIAL_UART2_PRIORITY 5 | ||
140 | #define TIVA_SERIAL_UART3_PRIORITY 5 | ||
141 | #define TIVA_SERIAL_UART4_PRIORITY 5 | ||
142 | #define TIVA_SERIAL_UART5_PRIORITY 5 | ||
143 | #define TIVA_SERIAL_UART6_PRIORITY 5 | ||
144 | #define TIVA_SERIAL_UART7_PRIORITY 5 | ||
145 | |||
146 | /* | ||
147 | * ST driver system settings. | ||
148 | */ | ||
149 | #define TIVA_ST_IRQ_PRIORITY 2 | ||
150 | #define TIVA_ST_USE_WIDE_TIMER FALSE | ||
151 | #define TIVA_ST_TIMER_NUMBER 5 | ||
152 | #define TIVA_ST_TIMER_LETTER A | ||