Commit Graph

89 Commits

Author SHA1 Message Date
WangQiang 10fb49318c 修改了一些文件头的copyright信息和Change Log 2020-10-14 10:27:17 +08:00
WangQiang 2b5ec59a19 修改了README文件 2020-10-12 19:40:17 +08:00
WangQiang d911dc9267 1. 去掉了多余的测试打印信息
2. 恢复了1052的BSP的初始配置
2020-10-12 19:17:01 +08:00
WangQiang 3b07c8d593 修改了imxrt1052-nxp-evk的BSP的以太网相关配置,用于适配PHY模型 2020-10-12 19:17:00 +08:00
WangQiang 502378cf93 1. 抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本
2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。
3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建
4. 修改了KEIL环境的SCT文件,用于实现以太网功能
2020-10-12 19:17:00 +08:00
WangQiang d6ff0fc0c3 增加了imxrt1064-nxp-evk的BSP的以太网功能 2020-10-12 19:16:59 +08:00
Bernard Xiong 36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
Cathy Li c73d0a7466 Update BSP README with EN Version. 2020-09-09 18:22:26 +08:00
Bernard Xiong bd6171b6ac
Merge pull request #3853 from xfwangqiang/gcc-fix
[BSP][imxrt]fixed ethernet driver bug for imxrt
2020-09-04 09:34:55 +08:00
WangQiang 8da824c51b fixed SConstruct file spell error in imxrt1064-nxp-evk 2020-09-03 15:59:33 +08:00
WangQiang 5f2bfe16f5 fixed ethernet driver bug for imxrt 2020-08-27 11:43:53 +08:00
WangQiang 49b86c6a21 fixed gcc assembly option and objcopy option in rtconfig.py for imxrt1052-nxp-evk 2020-08-06 18:03:15 +08:00
WangQiang 24ebc3dc5b fixed gcc assembly option in rtconfig.py for imxrt1064-nxp-evk 2020-07-30 11:57:12 +08:00
WangQiang 574ace9146 修复了imxrt下imxrt1052-atk-commander, imxrt1052-fire-pro, imxrt1052-nxp-evk等BSP的scons --dist失败的问题 2020-06-15 17:01:59 +08:00
WangQiang 6da9c939fa 优化了sdk_dist.py中的dist_do_building函数,不会影响其他BSP的调用 2020-06-15 11:44:35 +08:00
WangQiang 094d0b4fe3 修复了imxrt1064-nxp-evk的BSP使用scons --dist生成的工程目录中没有libraries的问题 2020-06-12 16:15:40 +08:00
nongxiaoming 3ded26a700 [bsp][imxrt] fix the gpio drivers warning,'int_mode' may be used uninitialized. 2020-06-06 17:20:36 +08:00
tyustli eb0e373cf6 [bsp][imxrt] fix docs and templates err 2020-06-05 18:04:54 +08:00
tyustli b8c13d494c remote host config 2019-12-27 12:57:55 +08:00
tyustli 00fa2e2d78 solve gcc build err 2019-12-26 14:10:06 +08:00
Bernard Xiong 5ef1bfc878 [bsp] Remove unnecessary files. 2019-12-21 07:25:12 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
Bernard Xiong 076addc9ea
Merge pull request #3006 from jiezhi320/master
fix bug when use HWTIMER_MODE_PERIOD
2019-09-29 16:54:08 +08:00
chenyong 74793a53fd [bsp] update project configure file for finsh component change
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-26 15:40:13 +08:00
armink 5c68b748d7 [bsp/imxrt] Remove the use of device user data on uart driver. 2019-09-21 13:55:16 +08:00
Gavin Liu 943f83d58f imxrt:enet: Support imxrt ethernet interface
1. Add "drv_eth.c" for all imxrt platforms.
2. Add ksz8081 phy driver for imxrt1052-nxp-evk board.
3. Disable the LED demo in main.c file if enable the ENET
   and ksz8081 phy, because the PINs of LED and ksz8081
   reset are from the same GPIO.
4. Update the relevant Kconfig and Sconscript files.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:21:42 +08:00
Gavin Liu 5cabac6d9c imxrt:app: Support ramfs for imxrt1052-nxp-evk
Add ramfs (8MB size) support for imxrt1052-nxp-evk board.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
Gavin Liu 57630ae4bd imxrt:sdram: Add sdram support for imxrt1052-nxp-evk
1. Add sdram item in bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig
2. Add sdram configuration header file for imxrt1052-nxp-evk
3. Update the sdram space assignment for memheap

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
Gavin Liu 259e9e4fc6 imxrt:board: Add LPUART3 item for imxrt1052-nxp-evk
Add LPUART3 item in imxrt1052-nxp-evk Kconfig file to support
Arduino UART interface.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
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