Commit Graph

15484 Commits

Author SHA1 Message Date
sheltonyu 41ab3f7535 fixed usb/usart drivers 2023-11-17 04:26:40 -05:00
BetMul 241e7ff083
[bsp] [ESP32_C3]add hwtimer support for ESP32C3 (#8263) 2023-11-17 16:11:37 +08:00
Rbb666 ad2ba4ffa5 [bsp][renesas]添加fal配置文件,修改flash驱动 2023-11-16 17:43:00 +08:00
guozhanxin c9a63df925 [fix] sal build error. 2023-11-16 16:25:37 +08:00
kk 1b59c20203
[bsp/renesas] update drv_sci_spi.c 修复 ci 报错 (#8261) 2023-11-16 14:46:43 +08:00
Raman 0e82e13cc3
AT32UC3A: Implement initial BSP support for SimpleMachines' Mizar32-B (#8186) 2023-11-16 14:04:21 +08:00
CoderNotCute 4ac9754f5b fix:fix wch startup risks.
1: If IAP has set mstatus to other value, using csrs will not change old value of mstatus in IAP. It should using csrw instead.
2: Reduce the flash size of undefined irq functions.
2023-11-16 14:02:17 +08:00
guozhanxin 3143289486 [libc] update ctime.c compatible with old drivers 2023-11-16 13:09:32 +08:00
guozhanxin 35e773d46a [bsp] ra8 update rasc configuration.xml 2023-11-16 13:08:59 +08:00
guozhanxin 75378a4a40 [bsp] ra8 add adc、dac、pwm、spi、rw007 configs 2023-11-16 13:08:59 +08:00
Supper Thomas 24074dd7e3 [github] Add PR check action 2023-11-15 08:00:33 -05:00
kk 58cd8e026c
[drivers/rtc] 修复 alarm.c 少写分号 (#8256) 2023-11-15 19:24:26 +08:00
wangqinglin b80a455b34
FINSH: 优化MSH宏定义 (#8251) 2023-11-15 13:54:22 +08:00
guozhanxin 0b1a49ed66 [tools/gcc.py]fix scons error. 2023-11-14 09:45:05 -05:00
梁生 7a56058c61
[bsp][hc32]优化can驱动和pwm驱动 (#8217)
**为什么提交这份PR (why to submit this PR)**
1. hc32驱动函数和rtt函数声明之间的参数类型不一致,在mdk编译时产生警告。
2. hc32的can设备,在注册时就把can中断使能了。导致can设备在打开前,就会产生中断。
3. hc32的pwm驱动,不支持PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令,导致rt_pwm_set_pulse()函数返回失败。
**你的解决方案是什么 (what is your solution)**
1. 修改hc32驱动函数参数类型和声明一致。
2. 注册can设备时主动禁止can中断,因为打开设备时会主动打开中断。
3. 修改pwm驱动,增加PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令支持。
2023-11-14 09:18:32 -05:00
guo 6d7e393ce9
[fal] Add blocks mechanism to fal. (#8252) 2023-11-13 22:49:16 +08:00
xqyjlj 3aa19af301
🐞 fix(src/idle.c): fix thread exit (#8239) 2023-11-13 22:46:48 +08:00
geniusgogo 9acebb07dc
fix rt_channel lock. (#8244) 2023-11-10 21:37:07 +08:00
Meco Man 589641258e [debug] rename RT_DEBUGING_INIT as RT_DEBUGING_AUTO_INIT 2023-11-10 05:24:33 -05:00
xiao-mang 48f53e9150
add blockdev's flush fops for opening file with O_SYNC (#8232) 2023-11-10 17:50:20 +08:00
BetMul a0b6e14f01
ESP32C3 add program ways in Linux (#8237) 2023-11-10 17:49:45 +08:00
sheltonyu ed357aa014
[bsp/at32] 1.add support at32f402/405 series, 2.update emac/rtc/qspi/usb drivers (#8245) 2023-11-09 16:38:19 +08:00
geniusgogo df0d8b4230
fix aarch64 backtrace print 2023-11-08 06:11:10 -05:00
Xiang.Lin da55491608
[libc][picolibc] improve gcc picolibc support 2023-11-08 02:09:09 -05:00
1ridic 063c8f7bec [bsp][pico] Add spi pin selection 2023-11-06 23:27:14 -05:00
heyuanjie87 0acac2dde9
[kservice] 修正backtrace命令转换无符号数不正常的问题 2023-11-06 23:25:13 -05:00
zhkag 246945a74c add bsp/x86 ci 2023-11-06 06:23:09 -05:00
zhkag 0f2e586613 修复 bsp/x86 scons --pyconfig-silent 报错 2023-11-06 06:23:09 -05:00
zhkag 3db4b3e4ae 修复 bsp/x86 编译问题 2023-11-06 06:23:09 -05:00
xqyjlj fa9b496b2a
feat: fix pid recycling (#8225) 2023-11-06 13:22:27 +08:00
yanghuang b51a3420b0 [kernel] 解决rt_slist_for_each_entry宏不能正常遍历slist链表中元素的问题
因rt_slist_for_each_entry宏不能正常调用,在实际开发中去循环再调用rt_slist_entry很不简洁,所以修改了rt_slist_for_each_entry宏中关于链表next的判空处理。目前相关代码在GD32系统的MCU上均能正常工作,相关应用也在生产产品中经过验证。
2023-11-06 10:03:04 +08:00
Meco Man bb8667e13b
[rtdef] add comment for RT_USING_LIBC_ISO_ONLY (#8229) 2023-11-06 09:53:02 +08:00
xqyjlj 5ad6a6f2c5
🐞 fix: fix taskset (#8211) 2023-11-02 23:12:44 +08:00
xqyjlj f806d6edd1
🐞 fix(lwip/port/sys_arch): fix spinlock`s deadlock (#8208) 2023-11-02 23:11:56 +08:00
Shell c2036e769a
[smart] fixup of lwp recycling and mm varea (#8206)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2023-11-02 20:23:11 +08:00
xqyjlj 1b6f0e88a3
🐞 fix: fix d1s smart build (#8212) 2023-11-02 20:16:02 +08:00
xqyjlj 27aac584a5
feat(dfs_v2/cromfs): add cromfs mmap (#8218) 2023-11-02 20:12:20 +08:00
1ridic f95eaad8e6 [bps][duo] set RT_USING_SYSTEM_WORKQUEUE by default 2023-11-01 12:02:53 -04:00
shu-qian c7e0a96f6f
[libc] add comments to the cstdlib.c (#8209)
Co-authored-by: sq <1838545301@qq.com>
2023-11-01 05:31:57 -04:00
Yuqiang Wang ebc9582c07
[bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
kk 1d3fc71c79
[libc] [ctime] fix rt_timespec_to_tick fun internal data overflow (#8198) 2023-10-31 08:59:01 -04:00
Z8MAN8 a64ccaa295 [bsp][pico] add hwtimer driver 2023-10-31 08:58:09 -04:00
Rbb666 7ace7d0a78 [libcpu][renesas]add cortex-m85 && ek-ra8m1 adapt 2023-10-31 15:09:17 +08:00
kk 7066761510
[dfs][mqueue]Ensure that dev is initialized before mqueue (#8197) 2023-10-30 23:12:42 +08:00
Shicheng Chu e78cfdf64b
[kernel][scheduler]Modify the timing of clearing RT_THREAD_STAT_YIELD… (#8142) 2023-10-30 23:11:40 +08:00
tangzz98 acc66c5479
实现MPU抽象层 (#8080)
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离
- 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-30 08:24:55 -04:00
Shicheng Chu 1554888c0b
[bsp][pico]: add pwm driver (#8178)
Co-authored-by: Meco Man <920369182@qq.com>
2023-10-29 13:17:25 -04:00
sp-cai de779b1804 使 rtconfig.py 支持 EXEC_PATH 路径展开 2023-10-29 13:15:28 -04:00
yby 6f48cb79d1
[bsp] Fixed bug of msp432e401y bsp chip model error after mdk5 open. (#8193) 2023-10-29 13:15:05 -04:00
蒙蒙plus 32ec9e32ec [bsp/air32f103]:修复外部中断无效 2023-10-29 13:13:59 -04:00