xjy198903
58769e67c6
修复imxrt1170网络驱动问题 ( #6342 )
...
1、修复ksz8081.c编译错误;
2、修复rt1170网络驱动问题
2022-08-29 15:47:58 -04:00
YuQi
b11cb41ae7
tms320f28379d fix init ( #6343 )
...
解决 tms320f28379d bsp 启动的问题。主要改动如下。
修正context.s中汇编代码错误。在旧版的代码中,操作数为32位而汇编命令却使用了针对16位数据的命令MOV,导致程序在某些情况无法正常启动线程。
由于C28x的平台下,SP只支持16bit寻址,所以用于线程空间存放的heap以及ebss段都需要放在低16位的空间,针对这个问题修改了CMD文件。此外还增加基于CMD文件基于RAM的支持,方便调试。
新增rtdef.h中RT_SECTION,RT_USED,ALIGN和RT_WEAK的定义。旧版bsp中这些定义为空,导致INIT_EXPORT注册的函数失效。
修改程序启动代码,在程序入口直接调用原生启动代码
以上改动在LAUNCHXL-F28379D 通过了测试。
2022-08-29 15:35:23 -04:00
Man, Jianting (Meco)
7d58cf1644
change version number to v5.0.0 ( #6291 )
2022-08-28 23:28:30 +08:00
洩氏诹诹子
3c4b835ed6
fix typo
2022-08-27 22:22:35 -04:00
liYang~
ef8ae7963c
[drv_usart]完善ch32的串口驱动。 ( #6336 )
2022-08-27 00:34:27 -04:00
winfenggao
ae66e67dee
bug:
...
UART_FLAG_TC 不能在中断里CLEAR;
因为函数 static int stm32_putc(struct rt_serial_device *serial, char c)里发送完成后
while 循环等这个标志退出,中断服务函数CLEAR后,此处进入死循环
2022-08-25 10:25:34 -04:00
liYang~
c67cbdb30c
[drv_gpio]为ch32完善gpio驱动 ( #6334 )
...
* 修改Kconfig的不足
* update gpio driver
* formatting code
2022-08-25 10:24:53 -04:00
Meco Man
4fa40bcee5
[stm32l4-pandora] 整理文件系统
...
增加ROMFS,FATFS和未来的LittleFS将挂载在ROMFS上
初步增加littlefs文件系统,尚未完全实现一键化配置
2022-08-24 22:40:11 -04:00
Man, Jianting (Meco)
5f474ed26c
[scons] 使用target=mdk5 和 iar时,打印IDE版本号 ( #6315 )
...
* [scons] 使用target=mdk5 和 iar时,打印IDE版本号
* 移除对keil iar生成功能的检查
1.这些工程是否可以生成是BSP可选项,不是每个BSP都支持
2.CI环境中并没有安转IAR和Keil环境,导致直接获取IDE版本失败
* MDKProject函数重命名为MDK2Project
2022-08-24 22:39:21 -04:00
Meco Man
43ede1859a
[kernel] 优化内置线程命名
...
main线程栈指定对齐字节数
2022-08-25 10:11:35 +08:00
Yunjie Gu
d49ac097ab
[kernel] 修复 rt_memset 使其 word size independent.
...
For compatibility with 16bit addressing 32bit CPU (e.g. TI C28x).
2022-08-24 17:12:11 -04:00
emuzit
a38b39ac25
ch569w-evt: add usbhs device mode driver ( #6330 )
...
ch569w-evt: add usbhs device mode driver
* usbd driver tested with cdc_vcom, internal loopback
(can't run both MSH & usbd due to 16KB RAM limitation)
* reduce usrstack & main thread stack size for usbd test
* ch56x_uart.c : iron out UART0_PIN_ALT assignment
2022-08-24 07:59:37 -04:00
liYang~
9cfb864068
[bsp]添加ch32v307vct6 ( #6331 )
2022-08-23 21:51:35 -04:00
liYang~
0ff905ce43
[bsp]添加ch32v307需要的库文件 ( #6329 )
...
* add ch32v307 lib
* fix scons
2022-08-23 02:13:33 -04:00
liyangyang
d887d6eb19
fix scons
2022-08-22 23:39:39 -04:00
liyangyang
9b750eba84
libcpu 支持 ch32v3系列单片机
2022-08-22 23:39:39 -04:00
Man, Jianting (Meco)
a02ab79fd5
Merge pull request #6326 from OpenPowerware/master
...
[bsp][tms320f28379d] libc compatible
2022-08-22 16:47:32 -04:00
Yunjie Gu
db4bc4a525
libc compatible
2022-08-22 21:07:22 +01:00
supperthomas
f602d199d3
[bsp/maxium/max3660]Update README.md ( #6323 )
...
* Update README.md
* rename as max32660-evsys
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-22 13:44:25 -04:00
Man, Jianting (Meco)
955b8d9ae3
[bsp] update esp32 Kconfig ( #6218 )
2022-08-22 13:40:27 -04:00
Meco Man
ecd9cd32b7
[keil.py] 修复生成Keil4/5工程文件时,头文件路径重复的问题
2022-08-22 12:11:05 -04:00
xiangxistu
aab2428d41
[update] changelog for RT-Thread_v4.1.1 ( #6321 )
...
Co-authored-by: liuxianliang <liuxianliang@rt-thread.com>
2022-08-21 22:22:57 -04:00
Meco Man
97a5e4ca19
[rtduino] remove libraries dependencies
2022-08-22 09:45:45 +08:00
Meco Man
2f7c294d97
[stm32f407-explorer][fs] 优化文件系统选项配置
2022-08-22 09:45:01 +08:00
Meco Man
10695d6a90
[fal] PKG_USING_FAL -> RT_USING_FAL
2022-08-22 09:42:35 +08:00
Yunjie Gu
b43f0e7205
[bsp][tms320f28379d] Fix compile ti ( #6254 )
...
* compile_ok
Issues fixed:
(1) update .config: select FINSH_USING_SYMTAB
(2) add rt_size_t in rtconfig_project.h
(3) fix finsh problems of using sym table
(4) update .project to include ipc source codes.
Todo list:
(1) automate the build source selection of ccs and reconcile it with scons
* change compiler
* msh can run now
the key step is to swap the order of rt_interrupt_nest -- and RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,()) in irq.c. This is an improvised solution and an issue has been raised.
* Update 2837x_FLASH_lnk_cpu1.cmd
The original one is also fine. Just to make it more rigorous since FSymTab is in data section.
* update readme.md
Complier selection and maintainer update.
Co-authored-by: YuQi <qiyu_sjtu@163.com>
2022-08-20 13:16:41 -04:00
chenbin
5b8a3678f0
[n32g45x] bsp 完善can驱动中断处理 ( #6313 )
...
* 完善can驱动中断处理
优化can波特率采样率,采样点在75%以上
增加新的can驱动宏定义支持,避免编译错误
* Update drv_can.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-20 12:21:51 -04:00
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