Commit Graph

224 Commits

Author SHA1 Message Date
xinyigao 7416f62c06
update rt1170n menuconfig (#6085)
* updata rt1170 menuconfig
2022-06-22 09:33:14 +08:00
Meco Man c9878aacd2 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Meco Man 83b3aadaa3 [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
Meco Man 50f041f5c2 [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 2022-06-09 07:01:59 +08:00
xinyigao 53be4393aa
add rt1170/rt1020 bsp (#5927)
* add rt1170 bsp
* add rt1020 bsp
2022-05-19 14:06:35 +08:00
Ting Liu 880fc2f59a [imxrt 1060] support touchpad
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2022-05-19 14:03:20 +08:00
Ting Liu ea6999a700 [imxrt 1060]: support keil armclang compiler
Test with Keil MDK 5.36, Compiler V6.16

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2022-05-13 15:37:57 +08:00
Meco Man a0bfbe8d90 [imxrt1060]support NXP GUiGuider 2022-05-13 14:12:15 +08:00
Meco Man 3344e38dd5 [imaxrt 1060] 优化LVGL文件结构 2022-05-12 10:10:11 +08:00
Meco Man c14dbe8a2e [lvgl] beautify code 2022-05-10 10:12:45 +08:00
Meco Man e037b7684e prepare to support squareline studio 2022-05-09 09:56:27 +08:00
Meco Man 907ee070dd [imxrt1060] exchange On-chip Peripheral Drivers and Onboard Peripheral Drivers menu in Kconfig 2022-05-09 09:56:27 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
Rbb666 a003cbe705
rt1052 添加 RT-Thread Studio 工程 (#5838)
* rt1052 添加 RT-Thread Studio 工程
2022-04-19 11:04:44 +08:00
guo 201bd8871d
Revert "优化build输出" (#5747) 2022-03-30 16:59:20 +08:00
guozhanxin 1b6031954a [bsp/imxrt] improve build output. 2022-03-30 01:21:59 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
guozhanxin 8763d8b776 [bsp/imxrt] fix compile warnings. 2022-03-29 16:33:36 +08:00
guo 3b1445d49c
[bsp][imxrt1060]fix gcc can't runing issue. (#5667) 2022-03-14 22:54:12 +08:00
Man, Jianting (Meco) 59079fe91f
update documentation (#5674) 2022-03-14 21:18:14 +08:00
Rbb666 d53ff73615
add README_zh.md、led blink (#5666) 2022-03-11 18:26:56 +08:00
Rbb666 e484ff5942
添加 imxrt1060-evk BSP (#5657)
* 添加 imxrt1060-evk BSP

* add LVGL

* add README.md

* Delete irrelevant files

* Modify the optimization level to O1

* Organize documents

* Source code formatting
2022-03-11 12:13:56 +08:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
guo e665bacf89
Merge pull request #5567 from mysterywolf/nxp
#5564 format codes
2022-01-26 12:51:53 +08:00
Meco Man 77b8db800c [imxrt] format codes 2022-01-25 23:24:09 -05:00
LeeChunHei 3000140bfd
爲imxrt系列添加usb host驅動 (#4377)
* adding fsl_os_abstraction porting

* port usbh to imxrt

Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-01-26 11:49:22 +08:00
WBI\nxf44444 8b0f50b7e2 Update i2c driver, add read ACK and BUS status check 2022-01-26 01:43:05 +08:00
WBI\nxf44444 3be35fecae Update i2c driver, add read ACK and BUS status check 2022-01-26 00:54:03 +08:00
LeeChunHei cd72ef6ecb
add pulse encoder porting to imxrt1052 (#4372) 2022-01-24 14:22:48 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08:00
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Meco Man a1cc3d43e7 modify time.h to sys/time.h 2021-11-23 22:38:00 -05:00
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
liukangcc 4bf6975467 [imxrt1050xxx] update imxrt template to support scons --dist 2021-10-11 17:09:13 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
Bernard Xiong 2967da3cdf
Merge pull request #4878 from xfwangqiang/imxrt1064
[BSP][IMXRT]fixed lcd driver and scons script
2021-07-31 08:30:09 +08:00
Meco Man 6635e59b59 [imxrt] 补充NXP官方移植文档 2021-07-27 04:28:45 +08:00
wangqiang 178e1db288 修复了drv_lcd.c中frame_buffer的段分配在GCC编译器情况下的错误
修复了构建脚本未编译库文件fsl_elcd.c的问题
2021-07-20 17:37:24 +08:00
wangqiang fefaac854c 完善i2c,uart,LCD的kconfig,修复了I2C的imxrt_i2c_mst_xfer函数读取数据前会多进行一次写地址的操作 2021-05-28 14:20:49 +08:00
guozhanxin 7ab2cae3fa [bsp]add seeed Arch_Mix bsp 2021-05-07 17:42:49 +08:00
wangqiang 9d8e5c0e06 修复board/Kconfig的错误 2021-05-03 09:28:03 +08:00
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +08:00
LeeChunHei b4cbfca550 change to use SConscript to enable clear bss in startup.s 2021-02-24 12:04:08 +08:00
LeeChunHei 8ef1fa192a fix no clear bss with gcc and the wrong logic in SConscript 2021-02-23 11:45:27 +08:00
Bernard Xiong 4426af03f8
Revert "添加imxrt的pulse encoder和usb host驅動" 2021-02-23 09:44:27 +08:00
Bernard Xiong d9c3459e11
Merge pull request #4295 from LeeChunHei/test_branch
添加imxrt的pulse encoder和usb host驅動
2021-02-23 09:41:27 +08:00
Bernard Xiong 6d3847b6bd
Merge pull request #4335 from LeeChunHei/qtimer_port
爲RT1052移植QTMR的PWM
2021-02-23 09:41:03 +08:00
Bernard Xiong 5a53b08fb9
Merge pull request #4336 from LeeChunHei/spi_test
對imxrt的SPI傳輸改用非阻塞API
2021-02-23 09:40:17 +08:00
LeeChunHei 6f0b8a5b78 change the wrong syntax 2021-02-22 22:26:00 +08:00
LeeChunHei 4c32843d73 add minus sign for all RT_ERROR code 2021-02-22 22:23:10 +08:00
LeeChunHei a40bf3b11d adding option for using blocking spi transfer 2021-02-22 22:17:07 +08:00
Bernard Xiong 7d72bdf303
Merge pull request #4314 from mysterywolf/mktime1
[bug][localtime]解决底层驱动格林威治时间与当地时间混乱使用的问题
2021-02-15 09:26:52 +08:00
LeeChunHei 7e5034c67d change to use non blocking api and use semaphore to sync the transfer 2021-02-14 12:15:20 +08:00
LeeChunHei b51c6339f0 finish testing 2021-02-13 18:50:58 +08:00
LeeChunHei fa5c8e1502 modifly to use multi usb(not tested) 2021-02-13 18:50:47 +08:00
LeeChunHei 75a4efc406 Add pulse encoder and usb host to imxrt (not tested) 2021-02-13 18:50:37 +08:00
LeeChunHei 7c151557c3 Add pulse encoder and usb host to imxrt (not tested) 2021-02-13 18:50:19 +08:00
LeeChunHei 18ff046e7f change to correct username 2021-02-13 18:42:51 +08:00
liruncong 6df5634b52 [bsp]SECTION=>RT_SECTION(与catch2中SECTION冲突) 2021-02-09 23:25:56 +08:00
Meco Man 86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
Bernard Xiong a18714b04a
Merge pull request #4236 from Jedcheen/master
fix imxrt uart2 wrong configure
2021-01-17 16:14:35 +08:00
Jedcheen 9fb1520d0e
fix imxrt uart2 wrong configure 2021-01-13 11:31:03 +08:00
WBI\nxf44444 2e15ec26ba modify drv_sdio.c 2021-01-06 16:16:04 +08:00
WBI\nxf44444 77fd2c4342 add license info header&remove the unnecessary code. 2021-01-04 15:22:50 +08:00
yangjie eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
David Lin ef08c04224
Update drv_can.h 2020-11-23 15:18:03 +08:00
yangjie11 91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
WBI\nxf44444 361a2aa587 audio_kconfig 2020-11-17 12:49:27 +08:00
WBI\nxf44444 d5d627f59b audio_kconfig 2020-11-17 11:53:18 +08:00
WBI\nxf44444 073e2f7800 audio_kconfig 2020-11-17 11:50:15 +08:00
WBI\nxf44444 bfdbcd30f4 audio_kconfig 2020-11-17 11:26:28 +08:00
WBI\nxf44444 8087a90118 audio_kconfig 2020-11-17 11:09:46 +08:00
WBI\nxf44444 c0c1b54ad8 add copyright 2020-10-26 16:37:37 +08:00
WBI\nxf44444 3a6b776e6d add audio 2020-10-26 15:51:03 +08:00
WBI\nxf44444 102976e89f note 2020-10-26 14:58:46 +08:00
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