Commit Graph

209 Commits

Author SHA1 Message Date
Gavin Liu 9791c31c1b imxrt:uart: Add PINs init for each uart port
Add PINs init function based on the selected UART port.

In general, user should configure all necessary PINs based on
the specific imxrt board in:
    bsp/imxrt/xxxx/board/MCUX_Config/pin_mux.c
There is a convenient GUI tool named MCUXpresso Config Tools,
it's free and can be obtained from NXP offical website. Open
the file:
    bsp/imxrt/imxrt1052-nxp-evk/board/MCUX_Config/MCUX_Config.mex
with MCUXpresso Config Tools, set the necessary PINs (or clocks)
and generate the new code of pin_mux.c (or clock_config.c), the
project can get right configurations based on specific imxrt
board.

But, there is no relation between RT-Thread Kconfig and MCUXpresso
Config Tools. User selects one driver in RT-Thread menuconfig, then
the ping_mux.c should be udpated by MCUXpresso Config Tools to set
the right PIN configurations for the selected driver. It's clear
but a little complex.

We add the PIN init functions for some drivers in the board.c file,
1. It's convenient to usr a driver in RT-Thread. Just select the
   driver, then the code will include all necessary parts, and the
   driver can work well.
2. User can also configure the PINs with MCUXpresso Config Tools.
3. The drivers in bsp/imxrt/libraries/drivers are common for all
   imxrt boards. They may have different PIN configurations based
   on different hardware design. So we put the PIN init functions
   in each board.c file following each different imxrt board.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
yangjie 1ef33e66cd [bsp][Kconfig]在bsp的Kconfig中select组件初始化与user main的选项 2019-09-11 12:06:43 +08:00
LinJieqiang d16d78c53e fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE" 2019-09-05 08:33:12 +08:00
tyustli 51d1ec80a4 fix docs link err 2019-09-03 11:41:22 +08:00
tyustli 3730df2411 1、[bsp] [imxrt] rename docs imxrt -> i.MX RT
2、[bsp] [stm32] fix drv_can assert bug
2019-08-27 15:35:58 +08:00
jiezhi320 383429e3b9
fix bug when use HWTIMER_MODE_PERIOD 2019-08-25 20:58:11 +08:00
SummerGift 641628fd14 change Libraries->libraries 2019-08-11 18:14:44 +08:00
yaomo718 8ee8328ab0 修正了dist命令对imxrt系列bsp包的支持,修改前的dist命令生成的工程缺少了Libraries。 2019-07-19 01:15:06 +08:00
Bernard Xiong 6483abbcdf
Merge pull request #2786 from xfwangqiang/master
[BSP][NXP]MIMXRT1064-EVK
2019-07-06 21:48:14 +08:00
wangqiang bd55bf7d47 1. 删除了多余的文件
2. 修改README.md中错误的描述
2019-07-05 21:07:12 +08:00
wangqiang f31aa18299 1. 修改了MIMXRT1064EVK-TOP.jpg的位置
2. 去掉了一些不用的文件
3. 修复了board下SConscript脚本中不合理的地方
2019-07-05 15:03:08 +08:00
wangqiang 3a78439066 去掉了多余的宏定义 2019-07-05 13:50:43 +08:00
wangqiang d93fdb1ea8 Board.c增加了DMA初始化相关设置 2019-07-05 13:49:03 +08:00
wangqiang 09d18dccf6 去掉DSP_Lib,暂时不用 2019-07-05 13:39:22 +08:00
misonyo a1a3cf5f32 [bsp/imxrt]add can driver 2019-06-28 14:02:20 +08:00
wangqiang 68374821d5 修改了BSP包中不合理的地方和不符合RTThread规范的地方 2019-06-23 12:01:01 +08:00
wangqiang 8e2900833e 删除了一些不用的文件 2019-06-17 19:04:19 +08:00
wangqiang 1bb146f18d 测试了imxrt1064-nxp-evk 2019-06-17 18:53:34 +08:00
wangqiang dcae59536c 增加了imxrt1064-nxp-evk的BSP 2019-06-17 18:04:50 +08:00
misonyo 745c3ca843 [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
misonyo 0f33da3f0e [libcpu/cortex-m7]add cache driver 2019-04-27 17:35:46 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
tyustli ea8509717e delete C++ support for gcc in the rtconfig.py file 2019-03-26 15:41:06 +08:00
Bernard Xiong 656d20362b
Merge pull request #2449 from qgyhd1234/checksum
[components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和
2019-03-14 20:23:36 +08:00
zylx 9818ee2d29 [components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和 2019-03-14 16:39:50 +08:00
jicheng0622 ea867b623f Delete redundant blank lines 2019-03-12 11:47:39 +08:00
jicheng0622 48ca812dbc Change license, update Readme and fixed some compability issues 2019-03-11 22:55:07 +08:00
jicheng0622 82cc9a9eae Add RT1021-EVK BSP Support For RTThread By JiCheng 2019-03-11 13:10:36 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
BalanceTWK e7c5fa13f5 Use astyle to format the drv_pin.c 2019-01-27 21:36:07 +08:00
BalanceTWK 70738c3711 [BSP] Fixed imxrt1050 gpio driver | 修复 imxrt1050 gpio 驱动 2019-01-27 21:22:02 +08:00
tangyuxin ed725350a9 [tools] 修复命令行使用 iar 工具链,库文件链接不上的问题 2019-01-19 15:16:14 +08:00
Bernard Xiong d97300701f
Merge pull request #2229 from misonyo/kconfig
fix Kconfig syntax error
2019-01-19 13:00:01 +08:00
misonyo 69cd16e136 [all BSP]fix kconfig file syntax error 2019-01-16 23:23:38 +08:00
BalanceTWK a9cb5151c8 [bsp][imxrt] 添加RTC依赖选项 RT_USING_LIBC | add RTC dependency options RT_USING_LIBC 2019-01-04 21:40:14 +08:00
guozhanxin 6e06b31244 [bsp][imxrt] change lisense 2019-01-02 09:54:06 +08:00
guozhanxin 669cb83993 [bsp][imxrt]更新工程 2018-12-29 21:26:45 +08:00
guozhanxin 44f25b0e34 [bsp][imxrt] 拆分 flexspi.c/h 驱动,区分 flash 大小 2018-12-29 21:12:05 +08:00
guozhanxin 1d35defcb8 [bsp][imxrt] add 'fal' 'easyflash' port files 2018-12-29 19:38:40 +08:00
guozhanxin 06c21e7bf1 [bsp][imxrt] add flexspi driver 2018-12-29 16:06:52 +08:00
chenchaoqun@rt-thread.com 87b407ff18 【修改】.config 中RT_SERIAL_USING_DMA选项 2018-12-17 09:53:44 +08:00
chenchaoqun@rt-thread.com bb8e89e851 【串口】宏定义对应增加 2018-12-17 09:38:53 +08:00
armink 83b7b763b7 The dbg_log API is DISCARDED. Change all dbg_log to LOG_X. 2018-11-02 10:20:30 +08:00
yangfasheng 3d374b3c0d add touch driver;
update lcd driver;

Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2018-10-31 09:58:37 +08:00
guozhanxin 2ed55f75db [bsp][imxrt]更新 ArchMix 的 README 2018-10-26 16:29:48 +08:00
guozhanxin 84c30bab5f 删除选择 flash 的选项 2018-10-26 16:03:55 +08:00
misonyo a454393994 [BSP][all NXP]change license to Apache-2.0 2018-10-22 11:02:50 +08:00
Bernard Xiong 9c2f2e855b [BSP][IMXRT] change license to Apache license v2.0 2018-10-21 14:45:29 +08:00
guozhanxin 7ea038373d [BSP] Add standalone i.MXRT 1050 Arch Mix BSP. 2018-10-10 09:28:40 +08:00
guozhanxin 5d4e4ae390 [bsp][imxrt] Remove SeeedStudio network dependencies 2018-10-10 09:19:55 +08:00
Bernard Xiong b9e7cf7fa3 [BSP] Enable memory pool for i.MXRT1050-EVK. 2018-09-22 22:22:18 +08:00
Bernard Xiong 8293138408 [BSP] Update building script for gcc in i.MXRT/i.MXRT1050-EVK 2018-09-22 11:57:48 +08:00
Bernard Xiong 1f8836c1db [BSP] Update project file for i.MXRT/i.MXRT1050-EVK. 2018-09-22 11:37:32 +08:00
Bernard Xiong 9d538371e6 [BSP] Add i.MXRT libraires. 2018-09-20 23:18:14 +08:00
Bernard Xiong 00d7d6f537 [BSP] Add standalone i.MXRT 1050 EVK BSP. 2018-09-20 23:10:27 +08:00
Bernard Xiong 87fcdf96bc [BSP] Add CMSIS files for i.MXRT 2018-09-20 23:08:32 +08:00
tanek liang 348a6f506a [bsp] rename bsp: imxrt --> imxrt1052-evk 2017-10-28 10:04:39 +08:00
tanek liang bb07f393b2 [bsp] add enet and lwip for i.mx rt 1052 2017-10-28 09:41:14 +08:00
tanek liang e93d581e50 [bsp] add i.mx rt 1052 support 2017-10-26 18:12:48 +08:00