Commit Graph

14050 Commits

Author SHA1 Message Date
snikolaj d246102f89 docs fixes half done 2022-08-19 11:14:26 -04:00
snikolaj b31a3e5210 grammar and wording fixes 2022-08-18 17:11:19 -04:00
Meco Man b04076d8aa [armlibc] solve the compiling error
report in #6300
2022-08-17 23:48:05 -04:00
Meco Man 89f40696ff [nxp][imxrt1170] format files 2022-08-17 23:47:54 -04:00
xjy198903 1ba47b7ca6
[nxp 1170] Update network (#6299)
* 增加千兆网络配置

* 适配最新1170SDK2.12版本

* 增加MAC层驱动配置
2022-08-17 09:41:31 -04:00
xjy198903 7cf703dde5
Update 1170 gpios (#6298)
* 增加1170可操作的gpio数

* 修改默认引脚配置

* 增加千兆网络引脚配置
2022-08-17 09:40:26 -04:00
MysticBoy a0c3dc4c5b
针对 TAMAGAWA 的 Smart-Abs 设备 TS5705N50添加 2.5M 波特率 (#6294)
* 针对 TAMAGAWA 的 Smart-Abs 设备 TS5705N50添加 2.5M 波特率
2022-08-17 04:30:17 -04:00
xjy198903 840f6b997c
[nxp][imxrt1170]Fix building problem (#6297) 2022-08-17 04:28:58 -04:00
woody 7d469384b5
将swm320和swm341整合进synwit (#6290)
* 将swm320和swm341整合进synwit
2022-08-16 12:43:24 -04:00
guozhanxin 74912a6bee [ci] Test with time slice off by default 2022-08-16 12:33:50 -04:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
guozhanxin f6ac38a19b [utestcases] add timeslice_test 2022-08-16 00:07:33 -04:00
blta 7750358bed [kernel/schedule] fix the time slice issue 2022-08-16 00:05:56 -04:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08:00
Meco Man c038e55d32 [armclang] 使用__clang__代替__CLANG_ARM
attach https://github.com/RT-Thread/rt-thread/pull/5451
2022-08-16 09:37:45 +08:00
Meco Man bd33d37bc4 该问题在Keil-MDK中没有一个太好的解决方案。本PR为权衡利弊之后得到的一套解决方案。Keil曾经提供了底层桩函数_sys_ensure,但是目前已经被废弃。因此唯一的解决方案就是每写完一句,就调用fsync去同步一次。
该问题在mbedos社区也进行过讨论,他们也面临和我们相同的两个问题:
1. Keil-MDK无有效的fflush解决方案,mbedos依然在使用淘汰的_sys_ensure桩函数。
2. Keil-MDK没有fileno函数,我方少部分软件包因此而无法使用Keil平台编译。
参考:https://github.com/ARMmbed/mbed-os/issues/1601

issue: https://github.com/RT-Thread/rt-thread/issues/4928


经过进一步测试发现,Keil-MDK中的fflush函数已经退化成服务于STDOUT的函数,Keil-MDK内部有一个buffer可以存放fputc(stdout) 发过来的数据,如果调用fflush,这些数据是可以flush出去的。但是如果是真正的文件数据,fflush函数并没有提供任何桩函数接口可以让文件flush数据出去。
2022-08-16 09:37:24 +08:00
Not Black Magic eb12619654
Fix BSP/imxrt/imxrt1060-nxp-evk: RTC Driver issue (#6283)
Fix BSP bug:
-Function naming conflict in drv_rtc.c, rename get/set_timestamp to imxrt_hp_get/set_timestamp, which conflicted with rtc.c/.h framework.
2022-08-15 09:34:01 -04:00
Sherman fde369f011
[[renesas/drivers] Fix error code issues 6183.Add hardware i2c driver. (#6279)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

* [renesas/drv_wdt.c] Fix error code issues
[renesas/drv_i2c.c] add hardware i2c driver

* [update] drv_wdt.c,drv_i2c.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-15 09:25:42 -04:00
xjy198903 eedb4e1981
[imxrt] 消除编译警告 2022-08-15 09:24:53 -04:00
xjy198903 6a225fff22
Update sdram (#6280)
增加1170系列SDRAM时钟配置
修复sdram中memheap自动初始化时机错误导致被assert的情况

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-15 03:34:49 -04:00
xjy198903 814b1abb08
增加双网口配置选项,增加phy8211F 驱动 (#6278)
* Update Kconfig

增加RT1170双路网络选项

* Update SConscript

增加RTL8211F驱动选项支持

* Update SConstruct

去掉外设目录

* Add files via upload

增加PHY芯片RTL8211F驱动

* Update drv_rtl8211f.c

* format code

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-14 23:21:27 -04:00
Meco Man ff310443b8 [nxp] move phy driver into drivers folder 2022-08-14 21:50:14 -04:00
Meco Man 4537d06afb [stm32] add missing void 2022-08-14 21:49:43 -04:00
Meco Man ef659661d4 [kservice] 增加换行符 2022-08-14 21:49:43 -04:00
Meco Man 53c6e7308c [simulator] exit()函数改为exit(1) 2022-08-14 21:49:43 -04:00
Meco Man 40fe10ba15 [nxp][link script] format issue
report in slack group
2022-08-14 21:49:16 -04:00
Man, Jianting (Meco) 10ac2b25f4 ci: restrict rt-thread organization 2022-08-14 13:00:37 -04:00
gbcwbz 84fe80fbf9 [DeviceDriver] Fix can infinite loop when can driver send error
- in _can_int_tx if can driver sendmsg do not return RT_EOK,
   it will repeat until sendmsg return RT_EOK
 - if error occur on can bus(wire broken or EMI), all threads that
   have lower priority will not be executed
 - we should let application layer to determine if resend is appropriate
   when send fail, besides in data link layer, can already implemented
   auto resend in hardware
2022-08-13 23:07:43 -04:00
Fan Yang 666af5e29d
[DeviceDriver] Add CANFD support and correct typos (#5912)
* Add CANFD support and correct typos

- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>

* update

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
woody 0189987d91
add synwit swm341 bsp (#6235)
华芯微特SWM341芯片的bsp支持包
* 修改dac.c函数名称错误
* delete swm320-lq100 bsp
* 修复sdio读写块的地址偏移问题
* add synwit swm341 bsp
* 修复gcc下启动文件错误
* 为测试用例添加说明
2022-08-13 22:29:05 -04:00
Martin e4d6dd88c9 [libcpu][arm] fix rt_hw_cpu_dcache_ops clean invalid bug
clean_invalid must be set at the same time, and call
clean_invalid, or call clean/invalid
2022-08-13 22:12:17 -04:00
Meco Man 5c7655663c [imxrt] fix gpio interrupt bug in drv_gpio.c
report in #4184
2022-08-13 22:08:31 -04:00
Man, Jianting (Meco) 8db14a3f5b
[imxrt1170] update enet (#6244)
Co-authored-by: xinyi.gao <xinyi.gao@nxp.com>
2022-08-13 22:06:38 -04:00
Meco Man a0cfdbdaad [sfud] keep macros in order attach #6255 2022-08-13 22:04:46 -04:00
Meco Man f290ff8754 [simulator][rtconfig.py] fix the problem of path cannot be find and cause failure
Some users' computer cannot find the path of VS and will cause failure. Just skip this step.
2022-08-13 22:04:11 -04:00
Man, Jianting (Meco) 0ac8f72037
[lvgl] remove suareline studio specific support for imxrt1060 (#6261)
* [lvgl] PKG_USING_LV_MUSIC_DEMO defaults by yes

* [lvgl] remove specific suppport for imxrt1060
https://github.com/lvgl/lvgl/pull/3566
2022-08-13 22:02:41 -04:00
Meco Man 656f0e3d23 [imxrt1060] fix a tiny problme
this is report in slack group:
- I had to do a small fix in board/linker_scripts/link.lds file.
line 81, should be:
ivt_begin = ORIGIN(m_boot_data) + LENGTH(m_boot_data);
(add a space between ivt_begin and "=“).

- For unknown reason I had to set DEMO_PANEL_RK043FN66HS as default in imxrt1060-nxp-evk/board/Kconfig
Leaving the DEMO_PANEL_RK043FN02H was not working even after selecting RK043FN66HS in menuconfig. The result was touch not working without this change as a wrong driver was being pick.
2022-08-13 21:56:04 -04:00
Sherman e7f64fe07f
[renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md (#6227)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-13 20:53:51 -04:00
tfx2001 218cdbce4e add assert for serial v2 2022-08-13 17:04:08 -04:00
xjy198903 405e0da093
[NXP]升级RT1170-EVK开发板SDK2.12版本(#6264) 2022-08-13 03:22:12 -04:00
Meco Man b7572303f0 [sfud] 同步上游 2022-08-11 23:14:19 -04:00
chinky 448843ffd8 [bsp]stm32l475-atk-pandora update readme, .gitignore 2022-08-11 22:19:45 -04:00
chinky 4c74eb1add [SFUD]support NM25Q128EVB 2022-08-11 22:19:45 -04:00
tfx2001 21ee452661 [libcpu][arm] fix armclang error when enable LTO 2022-08-11 08:35:42 -04:00
Meco Man 1f134b8dc4 [docs] update env document
append some information about menuconfig -s
2022-08-10 21:11:28 -04:00
aozima f50fbb03e2 [tools] remove .sconsign.dblite when scons clean.
fixed py2 <==> py3 ValueError : unsupported pickle protocol: x
2022-08-10 11:39:52 -04:00
Rbb666 9a8249bbba
【BSP】CY8CKIT-062S2-43012 (#6237)
英飞凌 CY8CKIT-062S2-43012 BSP
2022-08-09 12:36:36 -04:00
qipingqiu 38154c4656
add hwtimer device (#6230) 2022-08-09 12:18:48 -04:00
emuzit 77067f8729
ch569w-evt : add pwm driver, and spi_xfer bug fix (#6240)
add PWM driver, output checked with logic analyzer
spi_xfer() bug fix for cs_pin and message looping
uart pin_mode init moved to uart driver
2022-08-09 12:18:20 -04:00
Meco Man 8cd7ee268f [gd32] 修复串口引脚定义错误的问题
https://club.rt-thread.org/ask/question/32d3a440402902f7.html
2022-08-08 10:11:46 -04:00