Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
逆着光、寻觅
rt-thread
提交
9c2f2e85
R
rt-thread
项目概览
逆着光、寻觅
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9c2f2e85
编写于
10月 21, 2018
作者:
B
Bernard Xiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BSP][IMXRT] change license to Apache license v2.0
上级
beff9104
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
71 addition
and
218 deletion
+71
-218
bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c
+8
-0
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h
+8
-9
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c
+2
-16
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c
+4
-18
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h
+4
-18
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c
+2
-15
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c
+2
-16
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h
+2
-6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c
+2
-9
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h
+3
-9
bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c
bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c
+2
-6
未找到文件。
bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c
浏览文件 @
9c2f2e85
/*
* File : drv_cache.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c
浏览文件 @
9c2f2e85
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h
浏览文件 @
9c2f2e85
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __DRV_CODEC_H__
#define __DRV_CODEC_H__
...
...
@@ -58,7 +66,6 @@
#define ADC_OVERRUN_IRQ_EN 1
#define ADC_FIFO_FLUSH 0
/*DAC_MIXER_CTRL: 0x20*/
#define DAC_AG_R_EN 31
/* dac right enable bit */
#define DAC_AG_L_EN 30
/* dac left enable bit */
...
...
@@ -154,8 +161,6 @@
#define ADDA_PR_RDAT 0
/* 时钟配置相关寄存器 */
#define R6_REG_CCU_BASE 0x01c20000
#define R6_REG_PLL_AUDIO_CTRL (R6_REG_CCU_BASE + 0x008)
#define R6_REG_BUS_CLK_GATING_0 (R6_REG_CCU_BASE + 0x060)
...
...
@@ -166,7 +171,6 @@
#define R6_REG_BUS_SOFT_RST_1 (R6_REG_CCU_BASE + 0x02C4)
#define R6_REG_BUS_SOFT_RST_2 (R6_REG_CCU_BASE + 0x02D0)
/* GPIO配置相关寄存器 */
#define R6_REG_PIO_BASE 0x01c20800
#define R6_REG_PD_CFG0 (R6_REG_PIO_BASE + (3 * 0x24 + 0X00))
#define R6_REG_PD_CFG1 (R6_REG_PIO_BASE + (3 * 0x24 + 0X04))
...
...
@@ -178,8 +182,6 @@
#define R6_REG_PD_PUL0 (R6_REG_PIO_BASE + (3 * 0x24 + 0X1c))
#define R6_REG_PD_PUL1 (R6_REG_PIO_BASE + (3 * 0x24 + 0X20))
/* AUDIO配置相关寄存器 */
#define R6_REG_AC_BASE 0x01c23c00
#define R6_REG_AC_DAC_DPC (R6_REG_AC_BASE + 0x00)
#define R6_REG_AC_DAC_FIFOC (R6_REG_AC_BASE + 0x04)
...
...
@@ -192,7 +194,6 @@
#define R6_REG_ADC_MIXER_CTRL (R6_REG_AC_BASE + 0x24)
#define R6_REG_AC_DAC_CNT (R6_REG_AC_BASE + 0x40)
/* DMA配置相关寄存器 */
#define R6_REG_NDMA_0_BASE (0x01c02000 + 0x100 + 0 * 0x20)
#define R6_REG_DMA_INT_CTRL (0x01c02000 + 0x00)
...
...
@@ -202,8 +203,6 @@
#define REG_NDMA_SRC_ADR (0x4)
#define REG_NDMA_DES_ADR (0x8)
#define REG_NDMA_BYTE_CNT (0xc)
// #define REG_NDMA_PAR (0x300 + 0x1c)
#define NDMA_CFG_SRC_DRQ_IR_RX (0x00 << 0)
#define NDMA_CFG_SRC_DRQ_NONE (0x01 << 0)
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c
浏览文件 @
9c2f2e85
/*
* File : application.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c
浏览文件 @
9c2f2e85
/*
* File : application.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c
浏览文件 @
9c2f2e85
/*
* File : drv_ft5406.c
* FT5406 touch driver
* COPYRIGHT (C) 2006 - 2017, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c
浏览文件 @
9c2f2e85
/*
* File : drv_hwtimer.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2017, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-04-17 WangBing the first version.
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h
浏览文件 @
9c2f2e85
/*
* File : drv_hwtimer.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2017, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-04-17 WangBing the first version.
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c
浏览文件 @
9c2f2e85
/*
* File : drv_i2c.c
* COPYRIGHT (C) 2006 - 2017, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h
浏览文件 @
9c2f2e85
/*
* File : drv_i2c.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c
浏览文件 @
9c2f2e85
/*
* File : drv_lcd.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h
浏览文件 @
9c2f2e85
/*
* File : drv_lcd2.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c
浏览文件 @
9c2f2e85
/*
* File : drv_pcf8574.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h
浏览文件 @
9c2f2e85
/*
* File : drv_pcf8574.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c
浏览文件 @
9c2f2e85
/*
* File : drv_pin.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h
浏览文件 @
9c2f2e85
/*
* File : drv_pin.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c
浏览文件 @
9c2f2e85
/*
* File : drv_rtc.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h
浏览文件 @
9c2f2e85
/*
* File : drv_rtc.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c
浏览文件 @
9c2f2e85
/*
* File : syscall_write.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c
浏览文件 @
9c2f2e85
/*
* File : board.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009 RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c
浏览文件 @
9c2f2e85
/*
* File : drv_spi_bus.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h
浏览文件 @
9c2f2e85
/*
* File : drv_spi_bus.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c
浏览文件 @
9c2f2e85
/*
* File : drv_spi_flash.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h
浏览文件 @
9c2f2e85
/*
* File : drv_spi_flash.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c
浏览文件 @
9c2f2e85
/*
* File : drv_uart.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
@@ -30,11 +26,8 @@
!defined(RT_USING_UART5) && !defined(RT_USING_UART6) && \
!defined(RT_USING_UART7) && !defined(RT_USING_UART8)
#error "Please define at least one UARTx"
#endif
#include <rtdevice.h>
/* imxrt uart driver */
...
...
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h
浏览文件 @
9c2f2e85
/*
* File : drv_uart.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
@@ -15,8 +11,6 @@
#ifndef __DRV_UART_H__
#define __DRV_UART_H__
#include <rthw.h>
#include <rtthread.h>
int
imxrt_hw_uart_init
(
void
);
#endif
bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c
浏览文件 @
9c2f2e85
/*
* File : drv_usbc.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009 RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录