aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/cfg/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/cfg/mcuconf.h')
-rw-r--r--lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/cfg/mcuconf.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/cfg/mcuconf.h b/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/cfg/mcuconf.h
new file mode 100644
index 000000000..d6c3553ec
--- /dev/null
+++ b/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/cfg/mcuconf.h
@@ -0,0 +1,41 @@
1/*
2 ChibiOS - Copyright (C) 2020 Alex Lewontin
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 * Board setting
22 */
23
24/*
25 * HAL driver system settings.
26 */
27#define NUC123_HSE_ENABLED TRUE
28#define NUC123_PLL_ENABLED TRUE
29#define NUC123_PLLSRC NUC123_PLLSRC_HSE
30#define NUC123_HCLKSRC NUC123_HCLKSRC_PLL
31#define NUC123_HCLKDIV 2
32#define NUC123_PLL_NF 144
33#define NUC123_USB_USE_USB0 TRUE
34#define NUC123_USB_USE_USB1 TRUE
35
36#define NUC123_SERIAL_USE_UART0 TRUE
37#define NUC123_SERIAL_CLKSRC NUC123_SERIAL_CLKSRC_HSI
38
39#define NUC123_MCUCONF
40
41#endif /* _MCUCONF_H_ */