diff options
Diffstat (limited to 'lib/chibios/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h')
-rw-r--r-- | lib/chibios/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/lib/chibios/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h b/lib/chibios/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h new file mode 100644 index 000000000..cdb70af0c --- /dev/null +++ b/lib/chibios/demos/LPC21xx/RT-LPC214x-OLIMEX/mcuconf.h | |||
@@ -0,0 +1,58 @@ | |||
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 | * LPC214x 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 | |||
32 | /* | ||
33 | * CAN driver system settings. | ||
34 | */ | ||
35 | |||
36 | /* | ||
37 | * MAC driver system settings. | ||
38 | */ | ||
39 | |||
40 | /* | ||
41 | * PWM driver system settings. | ||
42 | */ | ||
43 | |||
44 | /* | ||
45 | * SERIAL driver system settings. | ||
46 | */ | ||
47 | #define USE_LPC214x_UART0 TRUE | ||
48 | #define USE_LPC214x_UART1 TRUE | ||
49 | #define LPC214x_UART_FIFO_PRELOAD 16 | ||
50 | #define LPC214x_UART0_PRIORITY 1 | ||
51 | #define LPC214x_UART1_PRIORITY 2 | ||
52 | |||
53 | /* | ||
54 | * SPI driver system settings. | ||
55 | */ | ||
56 | #define USE_LPC214x_SPI1 TRUE | ||
57 | |||
58 | #endif /* MCUCONF_H */ | ||