Skip to content

Commit 4ba9f0d

Browse files
authored
Merge pull request #7 from robert-hh/v2.11
nxp_driver: Update the MIMXRT devices lib to v2.11.
2 parents 587c657 + d68ff62 commit 4ba9f0d

File tree

1,664 files changed

+1956215
-239795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,664 files changed

+1956215
-239795
lines changed

sdk/devices/MIMXRT1011/MIMXRT1011.h

Lines changed: 6785 additions & 1476 deletions
Large diffs are not rendered by default.

sdk/devices/MIMXRT1011/MIMXRT1011.xml

Lines changed: 17132 additions & 15157 deletions
Large diffs are not rendered by default.

sdk/devices/MIMXRT1011/MIMXRT1011_features.h

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*
22
** ###################################################################
33
** Version: rev. 1.0, 2019-08-01
4-
** Build: b200311
4+
** Build: b211108
55
**
66
** Abstract:
77
** Chip specific module features.
88
**
99
** Copyright 2016 Freescale Semiconductor, Inc.
10-
** Copyright 2016-2020 NXP
10+
** Copyright 2016-2021 NXP
1111
** All rights reserved.
1212
**
1313
** SPDX-License-Identifier: BSD-3-Clause
@@ -87,8 +87,6 @@
8787
#define FSL_FEATURE_SOC_PMU_COUNT (1)
8888
/* @brief PWM availability on the SoC. */
8989
#define FSL_FEATURE_SOC_PWM_COUNT (1)
90-
/* @brief ROMC availability on the SoC. */
91-
#define FSL_FEATURE_SOC_ROMC_COUNT (1)
9290
/* @brief SNVS availability on the SoC. */
9391
#define FSL_FEATURE_SOC_SNVS_COUNT (1)
9492
/* @brief SPDIF availability on the SoC. */
@@ -129,6 +127,10 @@
129127
#define FSL_FEATURE_ADC_ETC_HAS_CTRL_DMA_MODE_SEL (1)
130128
/* @brief Has TRIGm_CHAIN_a_b IEn_EN. */
131129
#define FSL_FEATURE_ADC_ETC_HAS_TRIGm_CHAIN_a_b_IEn_EN (1)
130+
/* @brief Has no TSC0 trigger related bitfields (bit field CTRL[EXT0_TRIG_ENABLE], CTRL[EXT0_TRIG_PRIORITY]). */
131+
#define FSL_FEATURE_ADC_ETC_HAS_NO_TSC0_TRIG (1)
132+
/* @brief Has no TSC1 trigger related bitfields (bit field CTRL[EXT1_TRIG_ENABLE], CTRL[EXT1_TRIG_PRIORITY]). */
133+
#define FSL_FEATURE_ADC_ETC_HAS_NO_TSC1_TRIG (1)
132134

133135
/* AOI module features */
134136

@@ -177,17 +179,21 @@
177179
#define FSL_FEATURE_EDMA_SUPPORT_8_BYTES_TRANSFER (1)
178180
/* @brief If 16 bytes transfer supported. */
179181
#define FSL_FEATURE_EDMA_SUPPORT_16_BYTES_TRANSFER (0)
182+
/* @brief If 32 bytes transfer supported. */
183+
#define FSL_FEATURE_EDMA_SUPPORT_32_BYTES_TRANSFER (1)
180184

181185
/* DMAMUX module features */
182186

183187
/* @brief Number of DMA channels (related to number of register CHCFGn). */
184188
#define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (16)
185189
/* @brief Total number of DMA channels on all modules. */
186-
#define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (FSL_FEATURE_SOC_DMAMUX_COUNT * 16)
190+
#define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (16)
187191
/* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
188192
#define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
189193
/* @brief Has DMA Channel Always ON function (register bit CHCFG0[A_ON]). */
190194
#define FSL_FEATURE_DMAMUX_HAS_A_ON (1)
195+
/* @brief Register CHCFGn width. */
196+
#define FSL_FEATURE_DMAMUX_CHCFG_REGISTER_WIDTH (32)
191197

192198
/* EWM module features */
193199

@@ -229,6 +235,8 @@
229235
#define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_TOTAL_BANK_NUMBERS (4)
230236
/* @brief Has FLEXRAM_MAGIC_ADDR. */
231237
#define FSL_FEATURE_FLEXRAM_HAS_MAGIC_ADDR (1)
238+
/* @brief If FLEXRAM has ECC function. */
239+
#define FSL_FEATURE_FLEXRAM_HAS_ECC (0)
232240

233241
/* FLEXSPI module features */
234242

@@ -280,6 +288,8 @@
280288
#define FSL_FEATURE_LPSPI_FIFO_SIZEn(x) (16)
281289
/* @brief Has separate DMA RX and TX requests. */
282290
#define FSL_FEATURE_LPSPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
291+
/* @brief Has CCR1 (related to existence of registers CCR1). */
292+
#define FSL_FEATURE_LPSPI_HAS_CCR1 (0)
283293

284294
/* LPUART module features */
285295

@@ -315,10 +325,6 @@
315325
#define FSL_FEATURE_LPUART_IS_SCI (1)
316326
/* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
317327
#define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (4)
318-
/* @brief Maximal data width without parity bit. */
319-
#define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_NO_PARITY (10)
320-
/* @brief Maximal data width with parity bit. */
321-
#define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_PARITY (9)
322328
/* @brief Supports two match addresses to filter incoming frames. */
323329
#define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
324330
/* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
@@ -365,8 +371,6 @@
365371
#define FSL_FEATURE_OCOTP_HAS_TIMING_CTRL (1)
366372
/* @brief Support lock eFuse word write lock, (CTRL[WORDLOCK]). */
367373
#define FSL_FEATURE_OCOTP_HAS_WORDLOCK (0)
368-
/* @brief Has status register. (Register HW_OCOTP_OUT_STATUS0). */
369-
#define FSL_FEATURE_OCOTP_HAS_STATUS (0)
370374

371375
/* OTFAD module features */
372376

@@ -375,7 +379,7 @@
375379
/* @brief OTFAD has Key Blob Processing */
376380
#define FSL_FEATURE_OTFAD_HAS_KEYBLOB_PROCESSING (1)
377381
/* @brief OTFAD has interrupt request enable */
378-
#define FSL_FEATURE_OTFAD_HAS_HAS_IRQ_ENABLE (1)
382+
#define FSL_FEATURE_OTFAD_HAS_HAS_IRQ_ENABLE (0)
379383
/* @brief OTFAD has Force Error */
380384
#define FSL_FEATURE_OTFAD_HAS_FORCE_ERR (1)
381385

@@ -394,14 +398,20 @@
394398

395399
/* PWM module features */
396400

397-
/* @brief If EflexPWM has module A channels (outputs). */
401+
/* @brief If (e)FlexPWM has module A channels (outputs). */
398402
#define FSL_FEATURE_PWM_HAS_CHANNELA (1)
399-
/* @brief If EflexPWM has module B channels (outputs). */
403+
/* @brief If (e)FlexPWM has module B channels (outputs). */
400404
#define FSL_FEATURE_PWM_HAS_CHANNELB (1)
401-
/* @brief If EflexPWM has module X channels (outputs). */
405+
/* @brief If (e)FlexPWM has module X channels (outputs). */
402406
#define FSL_FEATURE_PWM_HAS_CHANNELX (1)
403-
/* @brief Number of submodules in each EflexPWM module. */
407+
/* @brief If (e)FlexPWM has fractional feature. */
408+
#define FSL_FEATURE_PWM_HAS_FRACTIONAL (1)
409+
/* @brief If (e)FlexPWM has mux trigger source select bit field. */
410+
#define FSL_FEATURE_PWM_HAS_MUX_TRIGGER_SOURCE_SEL (1)
411+
/* @brief Number of submodules in each (e)FlexPWM module. */
404412
#define FSL_FEATURE_PWM_SUBMODULE_COUNT (4U)
413+
/* @brief Number of fault channel in each (e)FlexPWM module. */
414+
#define FSL_FEATURE_PWM_FAULT_CH_COUNT (1)
405415

406416
/* RTWDOG module features */
407417

@@ -451,6 +461,12 @@
451461

452462
/* @brief Has Secure Real Time Counter Enabled and Valid (bit field LPCR[SRTC_ENV]). */
453463
#define FSL_FEATURE_SNVS_HAS_SRTC (1)
464+
/* @brief Has Passive Tamper Filter (regitser LPTGFCR). */
465+
#define FSL_FEATURE_SNVS_PASSIVE_TAMPER_FILTER (1)
466+
/* @brief Has Active Tampers (regitser LPATCTLR, LPATCLKR, LPATRCnR). */
467+
#define FSL_FEATURE_SNVS_HAS_ACTIVE_TAMPERS (0)
468+
/* @brief Number of TAMPER. */
469+
#define FSL_FEATURE_SNVS_HAS_MULTIPLE_TAMPER (0)
454470

455471
/* SRC module features */
456472

@@ -534,6 +550,8 @@
534550
#define FSL_FEATURE_USBPHY_HAS_DCD_ANALOG (0)
535551
/* @brief USBPHY has register TRIM_OVERRIDE_EN */
536552
#define FSL_FEATURE_USBPHY_HAS_TRIM_OVERRIDE_EN (0)
553+
/* @brief USBPHY is 28FDSOI */
554+
#define FSL_FEATURE_USBPHY_28FDSOI (0)
537555

538556
/* XBARA module features */
539557

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
include_guard(GLOBAL)
2+
message("driver_cmsis_lpi2c component is included.")
3+
4+
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
5+
${CMAKE_CURRENT_LIST_DIR}/fsl_lpi2c_cmsis.c
6+
)
7+
8+
9+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
10+
${CMAKE_CURRENT_LIST_DIR}/.
11+
)
12+
13+
14+
include(driver_lpi2c_edma_MIMXRT1011)
15+
16+
include(driver_lpi2c_MIMXRT1011)
17+
18+
include(CMSIS_Driver_Include_I2C_MIMXRT1011)
19+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
include_guard(GLOBAL)
2+
message("driver_cmsis_lpspi component is included.")
3+
4+
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
5+
${CMAKE_CURRENT_LIST_DIR}/fsl_lpspi_cmsis.c
6+
)
7+
8+
9+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
10+
${CMAKE_CURRENT_LIST_DIR}/.
11+
)
12+
13+
14+
include(driver_lpspi_edma_MIMXRT1011)
15+
16+
include(driver_lpspi_MIMXRT1011)
17+
18+
include(CMSIS_Driver_Include_SPI_MIMXRT1011)
19+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
include_guard(GLOBAL)
2+
message("driver_cmsis_lpuart component is included.")
3+
4+
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
5+
${CMAKE_CURRENT_LIST_DIR}/fsl_lpuart_cmsis.c
6+
)
7+
8+
9+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
10+
${CMAKE_CURRENT_LIST_DIR}/.
11+
)
12+
13+
14+
include(driver_lpuart_edma_MIMXRT1011)
15+
16+
include(driver_lpuart_MIMXRT1011)
17+
18+
include(CMSIS_Driver_Include_USART_MIMXRT1011)
19+

0 commit comments

Comments
 (0)