summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangqiang <[email protected]>2019-07-05 21:07:12 +0800
committerwangqiang <[email protected]>2019-07-05 21:07:12 +0800
commitbd55bf7d47fda3c21078654038816cc14b00c41d (patch)
tree80e1249dc995200429504e76a822391b42f26b00
parentf31aa18299ea70f5189a239c89ea504f44b9dccf (diff)
1. 删除了多余的文件
2. 修改README.md中错误的描述
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_CAN.c321
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_MAC.c228
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_PHY.c127
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Flash.c137
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_I2C.c148
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_MCI.c219
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SAI.c125
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SPI.c151
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Storage.c115
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USART.c150
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBD.c161
-rw-r--r--bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBH.c225
-rw-r--r--bsp/imxrt/imxrt1064-nxp-evk/README.md11
13 files changed, 3 insertions, 2115 deletions
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_CAN.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_CAN.c
deleted file mode 100644
index b4fdede12c..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_CAN.c
+++ /dev/null
@@ -1,321 +0,0 @@
-/*
- * Copyright (c) 2015-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_CAN.h"
-
-#define ARM_CAN_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(1,0) // CAN driver version
-
-// Driver Version
-static const ARM_DRIVER_VERSION can_driver_version = { ARM_CAN_API_VERSION, ARM_CAN_DRV_VERSION };
-
-// Driver Capabilities
-static const ARM_CAN_CAPABILITIES can_driver_capabilities = {
- 32U, // Number of CAN Objects available
- 1U, // Supports reentrant calls to ARM_CAN_MessageSend, ARM_CAN_MessageRead, ARM_CAN_ObjectConfigure and abort message sending used by ARM_CAN_Control.
- 0U, // Does not support CAN with Flexible Data-rate mode (CAN_FD)
- 0U, // Does not support restricted operation mode
- 1U, // Supports bus monitoring mode
- 1U, // Supports internal loopback mode
- 1U, // Supports external loopback mode
-};
-
-// Object Capabilities
-static const ARM_CAN_OBJ_CAPABILITIES can_object_capabilities = {
- 1U, // Object supports transmission
- 1U, // Object supports reception
- 0U, // Object does not support RTR reception and automatic Data transmission
- 0U, // Object does not support RTR transmission and automatic Data reception
- 1U, // Object allows assignment of multiple filters to it
- 1U, // Object supports exact identifier filtering
- 0U, // Object does not support range identifier filtering
- 1U, // Object supports mask identifier filtering
- 3U // Object can buffer 3 messages
-};
-
-static uint8_t can_driver_powered = 0U;
-static uint8_t can_driver_initialized = 0U;
-static ARM_CAN_SignalUnitEvent_t CAN_SignalUnitEvent = NULL;
-static ARM_CAN_SignalObjectEvent_t CAN_SignalObjectEvent = NULL;
-
-//
-// Functions
-//
-
-static ARM_DRIVER_VERSION CAN_GetVersion (void) {
- // Return driver version
- return can_driver_version;
-}
-
-static ARM_CAN_CAPABILITIES CAN_GetCapabilities (void) {
- // Return driver capabilities
- return can_driver_capabilities;
-}
-
-static int32_t CAN_Initialize (ARM_CAN_SignalUnitEvent_t cb_unit_event,
- ARM_CAN_SignalObjectEvent_t cb_object_event) {
-
- if (can_driver_initialized != 0U) { return ARM_DRIVER_OK; }
-
- CAN_SignalUnitEvent = cb_unit_event;
- CAN_SignalObjectEvent = cb_object_event;
-
- // Add code for pin, memory, RTX objects initialization
- // ..
-
- can_driver_initialized = 1U;
-
- return ARM_DRIVER_OK;
-}
-
-static int32_t CAN_Uninitialize (void) {
-
- // Add code for pin, memory, RTX objects de-initialization
- // ..
-
- can_driver_initialized = 0U;
-
- return ARM_DRIVER_OK;
-}
-
-static int32_t CAN_PowerControl (ARM_POWER_STATE state) {
- switch (state) {
- case ARM_POWER_OFF:
- can_driver_powered = 0U;
- // Add code to disable interrupts and put peripheral into reset mode,
- // and if possible disable clock
- // ..
-
- case ARM_POWER_FULL:
- if (can_driver_initialized == 0U) { return ARM_DRIVER_ERROR; }
- if (can_driver_powered != 0U) { return ARM_DRIVER_OK; }
-
- // Add code to enable clocks, reset variables enable interrupts
- // and put peripheral into operational
- // ..
-
- can_driver_powered = 1U;
- break;
-
- default:
- // Other states are not supported
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- return ARM_DRIVER_OK;
-}
-
-uint32_t CAN_GetClock (void) {
-
- // Add code to return peripheral clock frequency
- // ..
-}
-
-static int32_t CAN_SetBitrate (ARM_CAN_BITRATE_SELECT select, uint32_t bitrate, uint32_t bit_segments) {
-
- if (can_driver_powered == 0U) { return ARM_DRIVER_ERROR; }
-
- // Add code to setup peripheral parameters to generate specified bitrate
- // with specified bit segments
- // ..
-
- return ARM_DRIVER_OK;
-}
-
-static int32_t CAN_SetMode (ARM_CAN_MODE mode) {
-
- if (can_driver_powered == 0U) { return ARM_DRIVER_ERROR; }
-
- switch (mode) {
- case ARM_CAN_MODE_INITIALIZATION:
- // Add code to put peripheral into initialization mode
- // ..
- break;
- case ARM_CAN_MODE_NORMAL:
- // Add code to put peripheral into normal operation mode
- // ..
- break;
- case ARM_CAN_MODE_RESTRICTED:
- // Add code to put peripheral into restricted operation mode
- // ..
- break;
- case ARM_CAN_MODE_MONITOR:
- // Add code to put peripheral into bus monitoring mode
- // ..
- break;
- case ARM_CAN_MODE_LOOPBACK_INTERNAL:
- // Add code to put peripheral into internal loopback mode
- // ..
- break;
- case ARM_CAN_MODE_LOOPBACK_EXTERNAL:
- // Add code to put peripheral into external loopback mode
- // ..
- break;
- default:
- // Handle unknown mode code
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- return ARM_DRIVER_OK;
-}
-
-ARM_CAN_OBJ_CAPABILITIES CAN_ObjectGetCapabilities (uint32_t obj_idx) {
- // Return object capabilities
- return can_object_capabilities;
-}
-
-static int32_t CAN_ObjectSetFilter (uint32_t obj_idx, ARM_CAN_FILTER_OPERATION operation, uint32_t id, uint32_t arg) {
-
- if (can_driver_powered == 0U) { return ARM_DRIVER_ERROR; }
-
- switch (operation) {
- case ARM_CAN_FILTER_ID_EXACT_ADD:
- // Add code to setup peripheral to receive messages with specified exact ID
- break;
- case ARM_CAN_FILTER_ID_MASKABLE_ADD:
- // Add code to setup peripheral to receive messages with specified maskable ID
- break;
- case ARM_CAN_FILTER_ID_RANGE_ADD:
- // Add code to setup peripheral to receive messages within specified range of IDs
- break;
- case ARM_CAN_FILTER_ID_EXACT_REMOVE:
- // Add code to remove specified exact ID from being received by peripheral
- break;
- case ARM_CAN_FILTER_ID_MASKABLE_REMOVE:
- // Add code to remove specified maskable ID from being received by peripheral
- break;
- case ARM_CAN_FILTER_ID_RANGE_REMOVE:
- // Add code to remove specified range of IDs from being received by peripheral
- break;
- default:
- // Handle unknown operation code
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- return ARM_DRIVER_OK;
-}
-
-static int32_t CAN_ObjectConfigure (uint32_t obj_idx, ARM_CAN_OBJ_CONFIG obj_cfg) {
-
- if (can_driver_powered == 0U) { return ARM_DRIVER_ERROR; }
-
- switch (obj_cfg) {
- case ARM_CAN_OBJ_INACTIVE:
- // Deactivate object
- // ..
- break;
- case ARM_CAN_OBJ_RX_RTR_TX_DATA:
- // Setup object to automatically return data when RTR with it's ID is received
- // ..
- break;
- case ARM_CAN_OBJ_TX_RTR_RX_DATA:
- // Setup object to send RTR and receive data response
- // ..
- break;
- case ARM_CAN_OBJ_TX:
- // Setup object to be used for sending messages
- // ..
- break;
- case ARM_CAN_OBJ_RX:
- // Setup object to be used for receiving messages
- // ..
- break;
- default:
- // Handle unknown object configuration code
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- return ARM_DRIVER_OK;
-}
-
-static int32_t CAN_MessageSend (uint32_t obj_idx, ARM_CAN_MSG_INFO *msg_info, const uint8_t *data, uint8_t size) {
-
- if (can_driver_powered == 0U) { return ARM_DRIVER_ERROR; }
-
- // Add code to send requested message
- // ..
-
- return ((int32_t)size);
-}
-
-static int32_t CAN_MessageRead (uint32_t obj_idx, ARM_CAN_MSG_INFO *msg_info, uint8_t *data, uint8_t size) {
-
- if (can_driver_powered == 0U) { return ARM_DRIVER_ERROR; }
-
- // Add code to read previously received message
- // (reception was started when object was configured for reception)
- // ..
-
- return ((int32_t)size);
-}
-
-static int32_t CAN_Control (uint32_t control, uint32_t arg) {
-
- if (can_driver_powered == 0U) { return ARM_DRIVER_ERROR; }
-
- switch (control & ARM_CAN_CONTROL_Msk) {
- case ARM_CAN_ABORT_MESSAGE_SEND:
- // Add code to abort message pending to be sent
- // ..
- break;
- case ARM_CAN_SET_FD_MODE:
- // Add code to enable Flexible Data-rate mode
- // ..
- break;
- case ARM_CAN_SET_TRANSCEIVER_DELAY:
- // Add code to set transceiver delay
- // ..
- break;
- default:
- // Handle unknown control code
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- return ARM_DRIVER_OK;
-}
-
-static ARM_CAN_STATUS CAN_GetStatus (void) {
-
- // Add code to return device bus and error status
- // ..
-}
-
-
-// IRQ handlers
-// Add interrupt routines to handle transmission, reception, error and status interrupts
-// ..
-
-// CAN driver functions structure
-
-ARM_DRIVER_CAN Driver_CAN = {
- CAN_GetVersion,
- CAN_GetCapabilities,
- CAN_Initialize,
- CAN_Uninitialize,
- CAN_PowerControl,
- CAN_GetClock,
- CAN_SetBitrate,
- CAN_SetMode,
- CAN_ObjectGetCapabilities,
- CAN_ObjectSetFilter,
- CAN_ObjectConfigure,
- CAN_MessageSend,
- CAN_MessageRead,
- CAN_Control,
- CAN_GetStatus
-};
-
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_MAC.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_MAC.c
deleted file mode 100644
index 9e54e26b28..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_MAC.c
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_ETH_MAC.h"
-
-#define ARM_ETH_MAC_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_ETH_MAC_API_VERSION,
- ARM_ETH_MAC_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_ETH_MAC_CAPABILITIES DriverCapabilities = {
- 0, /* 1 = IPv4 header checksum verified on receive */
- 0, /* 1 = IPv6 checksum verification supported on receive */
- 0, /* 1 = UDP payload checksum verified on receive */
- 0, /* 1 = TCP payload checksum verified on receive */
- 0, /* 1 = ICMP payload checksum verified on receive */
- 0, /* 1 = IPv4 header checksum generated on transmit */
- 0, /* 1 = IPv6 checksum generation supported on transmit */
- 0, /* 1 = UDP payload checksum generated on transmit */
- 0, /* 1 = TCP payload checksum generated on transmit */
- 0, /* 1 = ICMP payload checksum generated on transmit */
- 0, /* Ethernet Media Interface type */
- 0, /* 1 = driver provides initial valid MAC address */
- 0, /* 1 = callback event \ref ARM_ETH_MAC_EVENT_RX_FRAME generated */
- 0, /* 1 = callback event \ref ARM_ETH_MAC_EVENT_TX_FRAME generated */
- 0, /* 1 = wakeup event \ref ARM_ETH_MAC_EVENT_WAKEUP generated */
- 0 /* 1 = Precision Timer supported */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_ETH_MAC_GetVersion(void)
-{
-}
-
-ARM_ETH_MAC_CAPABILITIES ARM_ETH_MAC_GetCapabilities(void)
-{
-}
-
-int32_t ARM_ETH_MAC_Initialize(ARM_ETH_MAC_SignalEvent_t cb_event)
-{
-}
-
-int32_t ARM_ETH_MAC_Uninitialize(void)
-{
-}
-
-int32_t ARM_ETH_MAC_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_ETH_MAC_GetMacAddress(ARM_ETH_MAC_ADDR *ptr_addr)
-{
-}
-
-int32_t ARM_ETH_MAC_SetMacAddress(const ARM_ETH_MAC_ADDR *ptr_addr)
-{
-}
-
-int32_t ARM_ETH_MAC_SetAddressFilter(const ARM_ETH_MAC_ADDR *ptr_addr, uint32_t num_addr)
-{
-}
-
-int32_t ARM_ETH_MAC_SendFrame(const uint8_t *frame, uint32_t len, uint32_t flags)
-{
-}
-
-int32_t ARM_ETH_MAC_ReadFrame(uint8_t *frame, uint32_t len)
-{
-}
-
-uint32_t ARM_ETH_MAC_GetRxFrameSize(void)
-{
-}
-
-int32_t ARM_ETH_MAC_GetRxFrameTime(ARM_ETH_MAC_TIME *time)
-{
-}
-
-int32_t ARM_ETH_MAC_GetTxFrameTime(ARM_ETH_MAC_TIME *time)
-{
-}
-
-int32_t ARM_ETH_MAC_Control(uint32_t control, uint32_t arg)
-{
- switch (control)
- {
- case ARM_ETH_MAC_CONFIGURE:
-
- switch (arg & ARM_ETH_MAC_SPEED_Msk)
- {
- case ARM_ETH_MAC_SPEED_10M:
- break;
- case ARM_ETH_SPEED_100M:
- break;
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- switch (arg & ARM_ETH_MAC_DUPLEX_Msk)
- {
- case ARM_ETH_MAC_DUPLEX_FULL:
- break;
- }
-
- if (arg & ARM_ETH_MAC_LOOPBACK)
- {
- }
-
- if ((arg & ARM_ETH_MAC_CHECKSUM_OFFLOAD_RX) ||
- (arg & ARM_ETH_MAC_CHECKSUM_OFFLOAD_TX))
- {
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- if (!(arg & ARM_ETH_MAC_ADDRESS_BROADCAST))
- {
- }
-
- if (arg & ARM_ETH_MAC_ADDRESS_MULTICAST)
- {
- }
-
- if (arg & ARM_ETH_MAC_ADDRESS_ALL)
- {
- }
-
- break;
-
- case ARM_ETH_MAC_CONTROL_TX:
- break;
-
- case ARM_ETH_MAC_CONTROL_RX:
- break;
-
- case ARM_ETH_MAC_FLUSH:
- if (arg & ARM_ETH_MAC_FLUSH_RX)
- {
- }
- if (arg & ARM_ETH_MAC_FLUSH_TX)
- {
- }
- break;
-
- case ARM_ETH_MAC_SLEEP:
- break;
-
- case ARM_ETH_MAC_VLAN_FILTER:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_ETH_MAC_ControlTimer(uint32_t control, ARM_ETH_MAC_TIME *time)
-{
-}
-
-int32_t ARM_ETH_MAC_PHY_Read(uint8_t phy_addr, uint8_t reg_addr, uint16_t *data)
-{
-}
-
-int32_t ARM_ETH_MAC_PHY_Write(uint8_t phy_addr, uint8_t reg_addr, uint16_t data)
-{
-}
-
-void ARM_ETH_MAC_SignalEvent(uint32_t event)
-{
-}
-
-// End ETH MAC Interface
-
-ARM_DRIVER_ETH_MAC Driver_ETH_MAC =
-{
- ARM_ETH_MAC_GetVersion,
- ARM_ETH_MAC_GetCapabilities,
- ARM_ETH_MAC_Initialize,
- ARM_ETH_MAC_Uninitialize,
- ARM_ETH_MAC_PowerControl,
- ARM_ETH_MAC_GetMacAddress,
- ARM_ETH_MAC_SetMacAddress,
- ARM_ETH_MAC_SetAddressFilter,
- ARM_ETH_MAC_SendFrame,
- ARM_ETH_MAC_ReadFrame,
- ARM_ETH_MAC_GetRxFrameSize,
- ARM_ETH_MAC_GetRxFrameTime,
- ARM_ETH_MAC_GetTxFrameTime,
- ARM_ETH_MAC_ControlTimer,
- ARM_ETH_MAC_Control,
- ARM_ETH_MAC_PHY_Read,
- ARM_ETH_MAC_PHY_Write
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_PHY.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_PHY.c
deleted file mode 100644
index 971fade020..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_ETH_PHY.c
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_ETH_PHY.h"
-
-#define ARM_ETH_PHY_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_ETH_PHY_API_VERSION,
- ARM_ETH_PHY_DRV_VERSION
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_ETH_PHY_GetVersion(void)
-{
-}
-
-int32_t ARM_ETH_PHY_Initialize(ARM_ETH_PHY_Read_t fn_read, ARM_ETH_PHY_Write_t fn_write)
-{
-}
-
-int32_t ARM_ETH_PHY_Uninitialize(void)
-{
-}
-
-int32_t ARM_ETH_PHY_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_ETH_PHY_SetInterface(uint32_t interface)
-{
- switch (interface)
- {
- case ARM_ETH_INTERFACE_MII:
- break;
- case ARM_ETH_INTERFACE_RMII:
- break;
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_ETH_PHY_SetMode(uint32_t mode)
-{
- switch (mode & ARM_ETH_PHY_SPEED_Msk)
- {
- case ARM_ETH_PHY_SPEED_10M:
- break;
- case ARM_ETH_PHY_SPEED_100M:
- break;
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-
- switch (mode & ARM_ETH_PHY_DUPLEX_Msk)
- {
- case ARM_ETH_PHY_DUPLEX_HALF:
- break;
- case ARM_ETH_PHY_DUPLEX_FULL:
- break;
- }
-
- if (mode & ARM_ETH_PHY_AUTO_NEGOTIATE)
- {
- }
-
- if (mode & ARM_ETH_PHY_LOOPBACK)
- {
- }
-
- if (mode & ARM_ETH_PHY_ISOLATE)
- {
- }
-}
-
-ARM_ETH_LINK_STATE ARM_ETH_PHY_GetLinkState(void)
-{
-}
-
-ARM_ETH_LINK_INFO ARM_ETH_PHY_GetLinkInfo(void)
-{
-}
-
-ARM_DRIVER_ETH_PHY ARM_Driver_ETH_PHY_(ETH_PHY_NUM) =
-{
- ARM_ETH_PHY_GetVersion,
- ARM_ETH_PHY_Initialize,
- ARM_ETH_PHY_Uninitialize,
- ARM_ETH_PHY_PowerControl,
- ARM_ETH_PHY_SetInterface,
- ARM_ETH_PHY_SetMode,
- ARM_ETH_PHY_GetLinkState,
- ARM_ETH_PHY_GetLinkInfo,
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Flash.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Flash.c
deleted file mode 100644
index 0f221da5f4..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Flash.c
+++ /dev/null
@@ -1,137 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_Flash.h"
-
-#define ARM_FLASH_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(1, 0) /* driver version */
-
-/* Sector Information */
-#ifdef FLASH_SECTORS
-static ARM_FLASH_SECTOR FLASH_SECTOR_INFO[FLASH_SECTOR_COUNT] = {
- FLASH_SECTORS
-};
-#else
-#define FLASH_SECTOR_INFO NULL
-#endif
-
-/* Flash Information */
-static ARM_FLASH_INFO FlashInfo = {
- 0, /* FLASH_SECTOR_INFO */
- 0, /* FLASH_SECTOR_COUNT */
- 0, /* FLASH_SECTOR_SIZE */
- 0, /* FLASH_PAGE_SIZE */
- 0, /* FLASH_PROGRAM_UNIT */
- 0 /* FLASH_ERASED_VALUE */
-};
-
-/* Flash Status */
-static ARM_FLASH_STATUS FlashStatus;
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_FLASH_API_VERSION,
- ARM_FLASH_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_FLASH_CAPABILITIES DriverCapabilities = {
- 0, /* event_ready */
- 0, /* data_width = 0:8-bit, 1:16-bit, 2:32-bit */
- 0 /* erase_chip */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_Flash_GetVersion(void)
-{
-}
-
-ARM_FLASH_CAPABILITIES ARM_Flash_GetCapabilities(void)
-{
-}
-
-int32_t ARM_Flash_Initialize(ARM_Flash_SignalEvent_t cb_event)
-{
-}
-
-int32_t ARM_Flash_Uninitialize(void)
-{
-}
-
-int32_t ARM_Flash_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_Flash_ReadData(uint32_t addr, void *data, uint32_t cnt)
-{
-}
-
-int32_t ARM_Flash_ProgramData(uint32_t addr, const void *data, uint32_t cnt)
-{
-}
-
-int32_t ARM_Flash_EraseSector(uint32_t addr)
-{
-}
-
-int32_t ARM_Flash_EraseChip(void)
-{
-}
-
-ARM_FLASH_STATUS ARM_Flash_GetStatus(void)
-{
-}
-
-ARM_FLASH_INFO * ARM_Flash_GetInfo(void)
-{
-}
-
-void ARM_Flash_SignalEvent(uint32_t event)
-{
-}
-// End Flash Interface
-
-ARM_DRIVER_FLASH Driver_FLASH = {
- ARM_Flash_GetVersion,
- ARM_Flash_GetCapabilities,
- ARM_Flash_Initialize,
- ARM_Flash_Uninitialize,
- ARM_Flash_PowerControl,
- ARM_Flash_ReadData,
- ARM_Flash_ProgramData,
- ARM_Flash_EraseSector,
- ARM_Flash_EraseChip,
- ARM_Flash_GetStatus,
- ARM_Flash_GetInfo
-}; \ No newline at end of file
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_I2C.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_I2C.c
deleted file mode 100644
index 99d82dd353..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_I2C.c
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_I2C.h"
-
-#define ARM_I2C_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_I2C_API_VERSION,
- ARM_I2C_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_I2C_CAPABILITIES DriverCapabilities = {
- 0 /* supports 10-bit addressing */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_I2C_GetVersion(void)
-{
-}
-
-ARM_I2C_CAPABILITIES ARM_I2C_GetCapabilities(void)
-{
-}
-
-int32_t ARM_I2C_Initialize(ARM_I2C_SignalEvent_t cb_event)
-{
-}
-
-int32_t ARM_I2C_Uninitialize(void)
-{
-}
-
-int32_t ARM_I2C_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_I2C_MasterTransmit(uint32_t addr, const uint8_t *data, uint32_t num, bool xfer_pending)
-{
-}
-
-int32_t ARM_I2C_MasterReceive(uint32_t addr, uint8_t *data, uint32_t num, bool xfer_pending)
-{
-}
-
-int32_t ARM_I2C_SlaveTransmit(const uint8_t *data, uint32_t num)
-{
-}
-
-int32_t ARM_I2C_SlaveReceive(uint8_t *data, uint32_t num)
-{
-}
-
-int32_t ARM_I2C_GetDataCount(void)
-{
-}
-
-int32_t ARM_I2C_Control(uint32_t control, uint32_t arg)
-{
- switch (control)
- {
- case ARM_I2C_OWN_ADDRESS:
- break;
-
- case ARM_I2C_BUS_SPEED:
- switch (arg)
- {
- case ARM_I2C_BUS_SPEED_STANDARD:
- break;
- case ARM_I2C_BUS_SPEED_FAST:
- break;
- case ARM_I2C_BUS_SPEED_FAST_PLUS:
- break;
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
- break;
-
- case ARM_I2C_BUS_CLEAR:
- break;
-
- case ARM_I2C_ABORT_TRANSFER:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-ARM_I2C_STATUS ARM_I2C_GetStatus(void)
-{
-}
-
-void ARM_I2C_SignalEvent(uint32_t event)
-{
- // function body
-}
-
-// End I2C Interface
-
-ARM_DRIVER_I2C Driver_I2C = {
- ARM_I2C_GetVersion,
- ARM_I2C_GetCapabilities,
- ARM_I2C_Initialize,
- ARM_I2C_Uninitialize,
- ARM_I2C_PowerControl,
- ARM_I2C_MasterTransmit,
- ARM_I2C_MasterReceive,
- ARM_I2C_SlaveTransmit,
- ARM_I2C_SlaveReceive,
- ARM_I2C_GetDataCount,
- ARM_I2C_Control,
- ARM_I2C_GetStatus
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_MCI.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_MCI.c
deleted file mode 100644
index a515074576..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_MCI.c
+++ /dev/null
@@ -1,219 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_MCI.h"
-
-#define ARM_MCI_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_MCI_API_VERSION,
- ARM_MCI_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_MCI_CAPABILITIES DriverCapabilities = {
- 0, /* cd_state */
- 0, /* cd_event */
- 0, /* vdd */
- 0, /* vdd_1v8 */
- 0, /* vccq */
- 0, /* vccq_1v8 */
- 0, /* vccq_1v2 */
- 1, /* data_width_4 */
- 1, /* data_width_8 */
- 0, /* data_width_4_ddr */
- 0, /* data_width_8_ddr */
- 0, /* high_speed */
- 0, /* uhs_signaling */
- 0, /* uhs_tuning */
- 0, /* uhs_sdr50 */
- 0, /* uhs_sdr104 */
- 0, /* uhs_ddr50 */
- 0, /* uhs_driver_type_a */
- 0, /* uhs_driver_type_c */
- 0, /* uhs_driver_type_d */
- 1, /* sdio_interrupt */
- 1, /* read_wait */
- 0, /* suspend_resume */
- 0, /* mmc_interrupt */
- 0, /* mmc_boot */
- 0, /* ccs */
- 0 /* ccs_timeout */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_MCI_GetVersion(void)
-{
-}
-
-ARM_MCI_CAPABILITIES ARM_MCI_GetCapabilities(void)
-{
-}
-
-int32_t ARM_MCI_Initialize(ARM_MCI_SignalEvent_t cb_event)
-{
-}
-
-int32_t ARM_MCI_Uninitialize(void)
-{
-}
-
-int32_t ARM_MCI_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_MCI_CardPower(uint32_t voltage)
-{
- switch (voltage & ARM_MCI_POWER_VDD_Msk)
- {
- case ARM_MCI_POWER_VDD_OFF:
- return ARM_DRIVER_OK;
-
- case ARM_MCI_POWER_VDD_3V3:
- return ARM_DRIVER_OK;
-
- default:
- break;
- }
-}
-
-int32_t ARM_MCI_ReadCD(void)
-{
-}
-
-int32_t ARM_MCI_ReadWP(void)
-{
-}
-
-int32_t ARM_MCI_SendCommand(uint32_t cmd, uint32_t arg, uint32_t flags, uint32_t *response)
-{
-}
-
-int32_t ARM_MCI_SetupTransfer(uint8_t *data, uint32_t block_count, uint32_t block_size, uint32_t mode)
-{
-}
-
-int32_t ARM_MCI_AbortTransfer(void)
-{
-}
-
-int32_t ARM_MCI_Control(uint32_t control, uint32_t arg)
-{
- switch (control)
- {
- case ARM_MCI_BUS_SPEED:
- break;
-
- case ARM_MCI_BUS_SPEED_MODE:
- break;
-
- case ARM_MCI_BUS_CMD_MODE:
- /* Implement external pull-up control to support MMC cards in open-drain mode */
- /* Default mode is push-pull and is configured in Driver_MCI0.Initialize() */
- if (arg == ARM_MCI_BUS_CMD_PUSH_PULL)
- {
- /* Configure external circuit to work in push-pull mode */
- }
- else if (arg == ARM_MCI_BUS_CMD_OPEN_DRAIN)
- {
- /* Configure external circuit to work in open-drain mode */
- }
- else
- {
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
- break;
-
- case ARM_MCI_BUS_DATA_WIDTH:
- switch (arg)
- {
- case ARM_MCI_BUS_DATA_WIDTH_1:
- break;
- case ARM_MCI_BUS_DATA_WIDTH_4:
- break;
- case ARM_MCI_BUS_DATA_WIDTH_8:
- break;
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
- break;
-
- case ARM_MCI_CONTROL_RESET:
- break;
-
- case ARM_MCI_CONTROL_CLOCK_IDLE:
- break;
-
- case ARM_MCI_DATA_TIMEOUT:
- break;
-
- case ARM_MCI_MONITOR_SDIO_INTERRUPT:
- break;
-
- case ARM_MCI_CONTROL_READ_WAIT:
- break;
-
- case ARM_MCI_DRIVER_STRENGTH:
- default: return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-ARM_MCI_STATUS ARM_MCI_GetStatus(void)
-{
-}
-
-void ARM_MCI_SignalEvent(uint32_t event)
-{
- // function body
-}
-
-// End MCI Interface
-
-ARM_DRIVER_MCI Driver_MCI = {
- ARM_MCI_GetVersion,
- ARM_MCI_GetCapabilities,
- ARM_MCI_Initialize,
- ARM_MCI_Uninitialize,
- ARM_MCI_PowerControl,
- ARM_MCI_CardPower,
- ARM_MCI_ReadCD,
- ARM_MCI_ReadWP,
- ARM_MCI_SendCommand,
- ARM_MCI_SetupTransfer,
- ARM_MCI_AbortTransfer,
- ARM_MCI_Control,
- ARM_MCI_GetStatus
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SAI.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SAI.c
deleted file mode 100644
index bc0746c962..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SAI.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_SAI.h"
-
-#define ARM_SAI_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(1, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_SAI_API_VERSION,
- ARM_SAI_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_SAI_CAPABILITIES DriverCapabilities = {
- 1, /* supports asynchronous Transmit/Receive */
- 0, /* supports synchronous Transmit/Receive */
- 0, /* supports user defined Protocol */
- 1, /* supports I2S Protocol */
- 0, /* supports MSB/LSB justified Protocol */
- 0, /* supports PCM short/long frame Protocol */
- 0, /* supports AC'97 Protocol */
- 0, /* supports Mono mode */
- 0, /* supports Companding */
- 0, /* supports MCLK (Master Clock) pin */
- 0 /* supports Frame error event: \ref ARM_SAI_EVENT_FRAME_ERROR */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_SAI_GetVersion (void)
-{
-}
-
-ARM_SAI_CAPABILITIES ARM_SAI_GetCapabilities (void)
-{
-}
-
-int32_t ARM_SAI_Initialize (ARM_SAI_SignalEvent_t cb_event)
-{
-}
-
-int32_t ARM_SAI_Uninitialize (void)
-{
-}
-
-int32_t ARM_SAI_PowerControl (ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_SAI_Send (const void *data, uint32_t num)
-{
-}
-
-int32_t ARM_SAI_Receive (void *data, uint32_t num)
-{
-}
-
-uint32_t ARM_SAI_GetTxCount (void)
-{
-}
-
-uint32_t ARM_SAI_GetRxCount (void)
-{
-}
-
-int32_t ARM_SAI_Control (uint32_t control, uint32_t arg1, uint32_t arg2)
-{
-}
-
-ARM_SAI_STATUS ARM_SAI_GetStatus (void)
-{
-}
-
-void ARM_SAI_SignalEvent(uint32_t event)
-{
- // function body
-}
-
-// End SAI Interface
-
-ARM_DRIVER_SAI Driver_SAI = {
- ARM_SAI_GetVersion,
- ARM_SAI_GetCapabilities,
- ARM_SAI_Initialize,
- ARM_SAI_Uninitialize,
- ARM_SAI_PowerControl,
- ARM_SAI_Send,
- ARM_SAI_Receive,
- ARM_SAI_GetTxCount,
- ARM_SAI_GetRxCount,
- ARM_SAI_Control,
- ARM_SAI_GetStatus
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SPI.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SPI.c
deleted file mode 100644
index 9f31654fa9..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_SPI.c
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_SPI.h"
-
-#define ARM_SPI_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_SPI_API_VERSION,
- ARM_SPI_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_SPI_CAPABILITIES DriverCapabilities = {
- 1, /* Simplex Mode (Master and Slave) */
- 1, /* TI Synchronous Serial Interface */
- 1, /* Microwire Interface */
- 0 /* Signal Mode Fault event: \ref ARM_SPI_EVENT_MODE_FAULT */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_SPI_GetVersion(void)
-{
-}
-
-ARM_SPI_CAPABILITIES ARM_SPI_GetCapabilities(void)
-{
-}
-
-int32_t ARM_SPI_Initialize(ARM_SPI_SignalEvent_t cb_event)
-{
-}
-
-int32_t ARM_SPI_Uninitialize(void)
-{
-}
-
-int32_t ARM_SPI_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_SPI_Send(const void *data, uint32_t num)
-{
-}
-
-int32_t ARM_SPI_Receive(void *data, uint32_t num)
-{
-}
-
-int32_t ARM_SPI_Transfer(const void *data_out, void *data_in, uint32_t num)
-{
-}
-
-uint32_t ARM_SPI_GetDataCount(void)
-{
-}
-
-int32_t ARM_SPI_Control(uint32_t control, uint32_t arg)
-{
- switch (control & ARM_SPI_CONTROL_Msk)
- {
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
-
- case ARM_SPI_MODE_INACTIVE: // SPI Inactive
- return ARM_DRIVER_OK;
-
- case ARM_SPI_MODE_MASTER: // SPI Master (Output on MOSI, Input on MISO); arg = Bus Speed in bps
- break;
-
- case ARM_SPI_MODE_SLAVE: // SPI Slave (Output on MISO, Input on MOSI)
- break;
-
- case ARM_SPI_MODE_MASTER_SIMPLEX: // SPI Master (Output/Input on MOSI); arg = Bus Speed in bps
- case ARM_SPI_MODE_SLAVE_SIMPLEX: // SPI Slave (Output/Input on MISO)
- return ARM_SPI_ERROR_MODE;
-
- case ARM_SPI_SET_BUS_SPEED: // Set Bus Speed in bps; arg = value
- break;
-
- case ARM_SPI_GET_BUS_SPEED: // Get Bus Speed in bps
- break;
-
- case ARM_SPI_SET_DEFAULT_TX_VALUE: // Set default Transmit value; arg = value
- break;
-
- case ARM_SPI_CONTROL_SS: // Control Slave Select; arg = 0:inactive, 1:active
- break;
-
- case ARM_SPI_ABORT_TRANSFER: // Abort current data transfer
- break;
- }
-}
-
-ARM_SPI_STATUS ARM_SPI_GetStatus(void)
-{
-}
-
-void ARM_SPI_SignalEvent(uint32_t event)
-{
- // function body
-}
-
-// End SPI Interface
-
-ARM_DRIVER_SPI Driver_SPI = {
- ARM_SPI_GetVersion,
- ARM_SPI_GetCapabilities,
- ARM_SPI_Initialize,
- ARM_SPI_Uninitialize,
- ARM_SPI_PowerControl,
- ARM_SPI_Send,
- ARM_SPI_Receive,
- ARM_SPI_Transfer,
- ARM_SPI_GetDataCount,
- ARM_SPI_Control,
- ARM_SPI_GetStatus
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Storage.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Storage.c
deleted file mode 100644
index 2b24436732..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_Storage.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include "Driver_Storage.h"
-
-#define ARM_STORAGE_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(1, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_STORAGE_API_VERSION,
- ARM_STORAGE_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_STORAGE_CAPABILITIES DriverCapabilities = {
- 1, /* Asynchronous Mode */
- 1, /* Supports EraseAll operation */
- 0 /* Reserved */
-};
-
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_Storage_GetVersion (void) {
-}
-
-ARM_STORAGE_CAPABILITIES ARM_Storage_GetCapabilities (void) {
-}
-
-int32_t ARM_Storage_Initialize (ARM_Storage_Callback_t callback) {
-}
-
-int32_t ARM_Storage_Uninitialize (void) {
-}
-
-int32_t ARM_Storage_PowerControl (ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_Storage_ReadData (uint64_t addr, void *data, uint32_t size) {
-}
-
-int32_t ARM_Storage_ProgramData (uint64_t addr, const void *data, uint32_t size) {
-}
-
-int32_t ARM_Storage_Erase (uint64_t addr, uint32_t size) {
-}
-
-int32_t ARM_Storage_EraseAll (void) {
-}
-
-ARM_STORAGE_STATUS ARM_Storage_GetStatus (void) {
-}
-
-int32_t ARM_Storage_GetInfo (ARM_STORAGE_INFO *info) {
-}
-
-uint32_t ARM_Storage_ResolveAddress(uint64_t addr) {
-}
-
-int32_t ARM_Storage_GetNextBlock(const ARM_STORAGE_BLOCK* prev_block, ARM_STORAGE_BLOCK *next_block) {
-}
-
-int32_t ARM_Storage_GetBlock(uint64_t addr, ARM_STORAGE_BLOCK *block) {
-}
-// End Storage Interface
-
-ARM_DRIVER_STORAGE Driver_STORAGE = {
- ARM_Storage_GetVersion,
- ARM_Storage_GetCapabilities,
- ARM_Storage_Initialize,
- ARM_Storage_Uninitialize,
- ARM_Storage_PowerControl,
- ARM_Storage_ReadData,
- ARM_Storage_ProgramData,
- ARM_Storage_Erase,
- ARM_Storage_EraseAll,
- ARM_Storage_GetStatus,
- ARM_Storage_GetInfo,
- ARM_Storage_ResolveAddress,
- ARM_Storage_GetNextBlock,
- ARM_Storage_GetBlock
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USART.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USART.c
deleted file mode 100644
index 6270a4cd91..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USART.c
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_USART.h"
-
-#define ARM_USART_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION DriverVersion = {
- ARM_USART_API_VERSION,
- ARM_USART_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_USART_CAPABILITIES DriverCapabilities = {
- 1, /* supports UART (Asynchronous) mode */
- 0, /* supports Synchronous Master mode */
- 0, /* supports Synchronous Slave mode */
- 0, /* supports UART Single-wire mode */
- 0, /* supports UART IrDA mode */
- 0, /* supports UART Smart Card mode */
- 0, /* Smart Card Clock generator available */
- 0, /* RTS Flow Control available */
- 0, /* CTS Flow Control available */
- 0, /* Transmit completed event: \ref ARM_USART_EVENT_TX_COMPLETE */
- 0, /* Signal receive character timeout event: \ref ARM_USART_EVENT_RX_TIMEOUT */
- 0, /* RTS Line: 0=not available, 1=available */
- 0, /* CTS Line: 0=not available, 1=available */
- 0, /* DTR Line: 0=not available, 1=available */
- 0, /* DSR Line: 0=not available, 1=available */
- 0, /* DCD Line: 0=not available, 1=available */
- 0, /* RI Line: 0=not available, 1=available */
- 0, /* Signal CTS change event: \ref ARM_USART_EVENT_CTS */
- 0, /* Signal DSR change event: \ref ARM_USART_EVENT_DSR */
- 0, /* Signal DCD change event: \ref ARM_USART_EVENT_DCD */
- 0 /* Signal RI change event: \ref ARM_USART_EVENT_RI */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_USART_GetVersion(void)
-{
-}
-
-ARM_USART_CAPABILITIES ARM_USART_GetCapabilities(void)
-{
-}
-
-int32_t ARM_USART_Initialize(ARM_USART_SignalEvent_t cb_event)
-{
-}
-
-int32_t ARM_USART_Uninitialize(void)
-{
-}
-
-int32_t ARM_USART_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_USART_Send(const void *data, uint32_t num)
-{
-}
-
-int32_t ARM_USART_Receive(void *data, uint32_t num)
-{
-}
-
-int32_t ARM_USART_Transfer(const void *data_out, void *data_in, uint32_t num)
-{
-}
-
-uint32_t ARM_USART_GetTxCount(void)
-{
-}
-
-uint32_t ARM_USART_GetRxCount(void)
-{
-}
-
-int32_t ARM_USART_Control(uint32_t control, uint32_t arg)
-{
-}
-
-ARM_USART_STATUS ARM_USART_GetStatus(void)
-{
-}
-
-int32_t ARM_USART_SetModemControl(ARM_USART_MODEM_CONTROL control)
-{
-}
-
-ARM_USART_MODEM_STATUS ARM_USART_GetModemStatus(void)
-{
-}
-
-void ARM_USART_SignalEvent(uint32_t event)
-{
- // function body
-}
-
-// End USART Interface
-
-ARM_DRIVER_USART Driver_USART = {
- ARM_USART_GetVersion,
- ARM_USART_GetCapabilities,
- ARM_USART_Initialize,
- ARM_USART_Uninitialize,
- ARM_USART_PowerControl,
- ARM_USART_Send,
- ARM_USART_Receive,
- ARM_USART_Transfer,
- ARM_USART_GetTxCount,
- ARM_USART_GetRxCount,
- ARM_USART_Control,
- ARM_USART_GetStatus,
- ARM_USART_SetModemControl,
- ARM_USART_GetModemStatus
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBD.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBD.c
deleted file mode 100644
index effbdf7922..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBD.c
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_USBD.h"
-
-#define ARM_USBD_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION usbd_driver_version = {
- ARM_USBD_API_VERSION,
- ARM_USBD_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_USBD_CAPABILITIES usbd_driver_capabilities = {
- 0, /* vbus_detection */
- 0, /* event_vbus_on */
- 0 /* event_vbus_off */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_USBD_GetVersion(void)
-{
-}
-
-ARM_USBD_CAPABILITIES ARM_USBD_GetCapabilities(void)
-{
-}
-
-int32_t ARM_USBD_Initialize(ARM_USBD_SignalDeviceEvent_t cb_device_event,
- ARM_USBD_SignalEndpointEvent_t cb_endpoint_event)
-{
-}
-
-int32_t ARM_USBD_Uninitialize(void)
-{
-}
-
-int32_t ARM_USBD_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_USBD_DeviceConnect(void)
-{
-}
-
-int32_t ARM_USBD_DeviceDisconnect(void)
-{
-}
-
-ARM_USBD_STATE ARM_USBD_DeviceGetState(void)
-{
-}
-
-int32_t ARM_USBD_DeviceRemoteWakeup(void)
-{
-}
-
-int32_t ARM_USBD_DeviceSetAddress(uint8_t dev_addr)
-{
-}
-
-int32_t ARM_USBD_ReadSetupPacket(uint8_t *setup)
-{
-}
-
-int32_t ARM_USBD_EndpointConfigure(uint8_t ep_addr,
- uint8_t ep_type,
- uint16_t ep_max_packet_size)
-{
-}
-
-int32_t ARM_USBD_EndpointUnconfigure(uint8_t ep_addr)
-{
-}
-
-int32_t ARM_USBD_EndpointStall(uint8_t ep_addr, bool stall)
-{
-}
-
-int32_t ARM_USBD_EndpointTransfer(uint8_t ep_addr, uint8_t *data, uint32_t num)
-{
-}
-
-uint32_t ARM_USBD_EndpointTransferGetResult(uint8_t ep_addr)
-{
-}
-
-int32_t ARM_USBD_EndpointTransferAbort(uint8_t ep_addr)
-{
-}
-
-uint16_t ARM_USBD_GetFrameNumber(void)
-{
-}
-
-void ARM_USBD_SignalDeviceEvent(uint32_t event)
-{
- // function body
-}
-
-void ARM_USBD_SignalEndpointEvent(uint8_t ep_addr, uint32_t ep_event)
-{
- // function body
-}
-
-// End USBD Interface
-
-ARM_DRIVER_USBD Driver_USBD =
-{
- ARM_USBD_GetVersion,
- ARM_USBD_GetCapabilities,
- ARM_USBD_Initialize,
- ARM_USBD_Uninitialize,
- ARM_USBD_PowerControl,
- ARM_USBD_DeviceConnect,
- ARM_USBD_DeviceDisconnect,
- ARM_USBD_DeviceGetState,
- ARM_USBD_DeviceRemoteWakeup,
- ARM_USBD_DeviceSetAddress,
- ARM_USBD_ReadSetupPacket,
- ARM_USBD_EndpointConfigure,
- ARM_USBD_EndpointUnconfigure,
- ARM_USBD_EndpointStall,
- ARM_USBD_EndpointTransfer,
- ARM_USBD_EndpointTransferGetResult,
- ARM_USBD_EndpointTransferAbort,
- ARM_USBD_GetFrameNumber
-};
diff --git a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBH.c b/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBH.c
deleted file mode 100644
index 12074ed7ab..0000000000
--- a/bsp/imxrt/Libraries/MIMXRT1064/CMSIS/Driver/DriverTemplates/Driver_USBH.c
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright (c) 2013-2018 Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "Driver_USBH.h"
-
-/* USB Host Driver */
-
-#define ARM_USBH_DRV_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2, 0) /* driver version */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION usbh_driver_version = {
- ARM_USBH_API_VERSION,
- ARM_USBH_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_USBH_CAPABILITIES usbd_driver_capabilities = {
- 0x0001, /* Root HUB available Ports Mask */
- 0, /* Automatic SPLIT packet handling */
- 0, /* Signal Connect event */
- 0, /* Signal Disconnect event */
- 0 /* Signal Overcurrent event */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_USBH_GetVersion(void)
-{
-}
-
-ARM_USBH_CAPABILITIES ARM_USBH_GetCapabilities(void)
-{
-}
-
-int32_t ARM_USBH_Initialize(ARM_USBH_SignalPortEvent_t cb_port_event,
- ARM_USBH_SignalEndpointEvent_t cb_endpoint_event)
-{
-}
-
-int32_t ARM_USBH_Uninitialize(void)
-{
-}
-
-int32_t ARM_USBH_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_USBH_PortVbusOnOff(uint8_t port, bool vbus)
-{
-}
-
-int32_t ARM_USBH_PortReset(uint8_t port)
-{
-}
-
-int32_t ARM_USBH_PortSuspend(uint8_t port)
-{
-}
-
-int32_t ARM_USBH_PortResume(uint8_t port)
-{
-}
-
-ARM_USBH_PORT_STATE ARM_USBH_PortGetState(uint8_t port)
-{
-}
-
-ARM_USBH_EP_HANDLE ARM_USBH_EndpointCreate(uint8_t dev_addr,
- uint8_t dev_speed,
- uint8_t hub_addr,
- uint8_t hub_port,
- uint8_t ep_addr,
- uint8_t ep_type,
- uint16_t ep_max_packet_size,
- uint8_t ep_interval)
-{
-}
-
-int32_t ARM_USBH_EndpointModify(ARM_USBH_EP_HANDLE ep_hndl,
- uint8_t dev_addr,
- uint8_t dev_speed,
- uint8_t hub_addr,
- uint8_t hub_port,
- uint16_t ep_max_packet_size)
-{
-}
-
-int32_t ARM_USBH_EndpointDelete(ARM_USBH_EP_HANDLE ep_hndl)
-{
-}
-
-int32_t ARM_USBH_EndpointReset(ARM_USBH_EP_HANDLE ep_hndl)
-{
-}
-
-int32_t ARM_USBH_EndpointTransfer(ARM_USBH_EP_HANDLE ep_hndl,
- uint32_t packet,
- uint8_t *data,
- uint32_t num)
-{
-}
-
-uint32_t ARM_USBH_EndpointTransferGetResult(ARM_USBH_EP_HANDLE ep_hndl)
-{
-}
-
-int32_t ARM_USBH_EndpointTransferAbort(ARM_USBH_EP_HANDLE ep_hndl)
-{
-}
-
-uint16_t ARM_USBH_GetFrameNumber(void)
-{
-}
-
-void ARM_USBH_SignalPortEvent(uint8_t port, uint32_t event)
-{
- // function body
-}
-
-void ARM_USBH_SignalEndpointEvent(ARM_USBH_EP_HANDLE ep_hndl, uint32_t event)
-{
- // function body
-}
-
-/* USB Host HCI (OHCI/EHCI) Driver */
-
-/* Driver Version */
-static const ARM_DRIVER_VERSION usbh_hci_driver_version = {
- ARM_USBH_API_VERSION,
- ARM_USBH_DRV_VERSION
-};
-
-/* Driver Capabilities */
-static const ARM_USBH_HCI_CAPABILITIES usbh_hci_driver_capabilities = {
- 0x0001 /* Root HUB available Ports Mask */
-};
-
-//
-// Functions
-//
-
-ARM_DRIVER_VERSION ARM_USBH_HCI_GetVersion(void)
-{
-}
-
-ARM_USBH_HCI_CAPABILITIES ARM_USBH_HCI_GetCapabilities(void)
-{
-}
-
-int32_t ARM_USBH_HCI_Initialize(ARM_USBH_HCI_Interrupt_t cb_interrupt)
-{
-}
-
-int32_t ARM_USBH_HCI_Uninitialize(void)
-{
-}
-
-int32_t ARM_USBH_HCI_PowerControl(ARM_POWER_STATE state)
-{
- switch (state)
- {
- case ARM_POWER_OFF:
- break;
-
- case ARM_POWER_LOW:
- break;
-
- case ARM_POWER_FULL:
- break;
-
- default:
- return ARM_DRIVER_ERROR_UNSUPPORTED;
- }
-}
-
-int32_t ARM_USBH_HCI_PortVbusOnOff(uint8_t port, bool vbus)
-{
-}
-
-void ARM_USBH_HCI_Interrupt(void)
-{
- // function body
-}
-
-// End USBH Interface
-
-ARM_DRIVER_USBH_HCI Driver_USBH_HCI = {
- ARM_USBH_HCI_GetVersion,
- ARM_USBH_HCI_GetCapabilities,
- ARM_USBH_HCI_Initialize,
- ARM_USBH_HCI_Uninitialize,
- ARM_USBH_HCI_PowerControl,
- ARM_USBH_HCI_PortVbusOnOff
-};
diff --git a/bsp/imxrt/imxrt1064-nxp-evk/README.md b/bsp/imxrt/imxrt1064-nxp-evk/README.md
index 041c844696..434f13c651 100644
--- a/bsp/imxrt/imxrt1064-nxp-evk/README.md
+++ b/bsp/imxrt/imxrt1064-nxp-evk/README.md
@@ -14,8 +14,6 @@
## 开发板介绍
-【此处简单介绍一下开发板】
-
开发板外观如下图所示:
![board](figures/MIMXRT1064EVK-TOP.jpg)
@@ -87,15 +85,15 @@
#### 运行结果
-下载程序成功之后,系统会自动运行,【这里写开发板运行起来之后的现象,如:LED 闪烁等】。
+下载程序成功之后,系统会自动运行,LED会以1Hz的频率闪烁。
连接开发板对应串口到 PC , 在终端工具里打开相应的串口(115200-8-1-N),复位设备后,可以看到 RT-Thread 的输出信息:
```bash
\ | /
- RT - Thread Operating System
- / | \ 3.1.1 build Nov 19 2018
- 2006 - 2018 Copyright by rt-thread team
+ / | \ 4.0.2 build Jul 5 2019
+ 2006 - 2019 Copyright by rt-thread team
msh >
```
### 进阶使用
@@ -112,9 +110,6 @@ msh >
本章节更多详细的介绍请参考 [IMXRT 系列 BSP 外设驱动使用教程](../docs/IMXRT系列BSP外设驱动使用教程.md)。
-## 注意事项
-
--
## 联系人信息