aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/MKE02Z4/template/RTE_Device.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/MKE02Z4/template/RTE_Device.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/devices/MKE02Z4/template/RTE_Device.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/MKE02Z4/template/RTE_Device.h b/lib/chibios-contrib/ext/mcux-sdk/devices/MKE02Z4/template/RTE_Device.h
new file mode 100644
index 000000000..4cf4e44f1
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/devices/MKE02Z4/template/RTE_Device.h
@@ -0,0 +1,37 @@
1/*
2 * Copyright 2017 NXP
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#ifndef _RTE_DEVICE_H
9#define _RTE_DEVICE_H
10
11#include "pin_mux.h"
12
13/* UART Select, UART0-2. */
14/* User needs to provide the implementation of UARTX_GetFreq/UARTX_InitPins/UARTX_DeinitPins for the enabled UART
15 * instance. */
16#define RTE_USART0 0
17#define RTE_USART1 0
18#define RTE_USART2 0
19
20/* UART configuration. */
21#define USART_RX_BUFFER_LEN 64
22#define USART0_RX_BUFFER_ENABLE 0
23#define USART1_RX_BUFFER_ENABLE 0
24#define USART2_RX_BUFFER_ENABLE 0
25
26/* I2C Select, I2C0. */
27/* User needs to provide the implementation of I2CX_GetFreq/I2CX_InitPins/I2CX_DeinitPins for the enabled I2C instance.
28 */
29#define RTE_I2C0 0
30
31/* SPI select, SPI0-1. */
32/* User needs to provide the implementation of SPIX_GetFreq/SPIX_InitPins/SPIX_DeinitPins for the enabled SPI instance.
33 */
34#define RTE_SPI0 0
35#define RTE_SPI1 0
36
37#endif /* _RTE_DEVICE_H */