Bernard Xiong
8a71ae75ad
[BSP][smart] fix link script for smart in vexpress-a9 ( #6764 )
2022-12-29 15:18:36 +08:00
Wayne
0d1c709fa5
Sync upstream ( #6793 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-12-29 15:15:13 +08:00
Yaochenger
882a0af94e
[libcpu][riscv] 添加宏用于区别是否开启FPU,更新ch32v208v-r0 ->ch32v208w-r0,更新注释
2022-12-28 18:47:39 -05:00
supperthomas
bc767aa2d8
[tool] Add the codespace container of rt-thread
2022-12-28 18:23:47 +08:00
打盹的消防车
525417085b
[bsp] add air32f103 ( #6785 )
2022-12-27 19:44:20 -05:00
Yaochenger
b77241935c
[bsp][ch32v208]添加ch32v208BSP,合并libcpu/riscv 中ch系列的port文件 ( #6780 )
...
【1】添加ch32v208-r0 bsp
【2】合并libcpu/riscv 下ch系列mcu的port文件
2022-12-27 13:24:02 -05:00
hg0720
59f10fd704
[bsp][ch32v307]适配RT-duino框架 ( #6669 )
...
为ch32v307适配rt-duino,支持pwm、gpio、uart、iic,暂不支持 spi。
已在ch32v307评估板测试。
测试内容包括串口打印、呼吸灯、AHT10温湿度读取等。
2022-12-27 02:45:20 -05:00
Meco Man
b1763e6903
[sensor] add setting power/accuracy/fetch data mode commands
2022-12-26 02:10:30 -05:00
Meco Man
3a7ee55780
[sensor] 优化control参数检查和sensor list命令
2022-12-26 02:10:30 -05:00
Meco Man
20a6f14e89
use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE
2022-12-26 02:10:30 -05:00
Meco Man
2570fab0e1
[sensor] add sensor list command
2022-12-26 02:10:30 -05:00
Meco Man
d2bab6d7ad
[sensor] add LSC chip vendor
2022-12-26 02:10:30 -05:00
Meco Man
d3c77d907f
[sensor] set power and accuracy as the hightest level
2022-12-26 02:10:30 -05:00
Meco Man
40a24806f9
[stm32][pandora] add ap3216c sensor support
2022-12-26 02:10:30 -05:00
Meco Man
8971545d8e
[sensor] improve commands
2022-12-26 02:10:30 -05:00
Meco Man
a2676b0544
[kernel] RT_NAME_MAX set the range from 1
...
RT_NAME_MAX为0是nano中使用,完整版中不支持const name
2022-12-26 01:35:14 -05:00
bernard
1f092da9e0
fix compiling warning.
2022-12-26 14:24:26 +08:00
bernard
401ad16449
[bsp][smart] fix virt64 aarch64 link script for smart.
2022-12-26 14:24:26 +08:00
wdfk-prog
fa7c1db768
[stm32][spic]修改SPI TX DMA中断优先级
...
* 原先中断优先级不生效
2022-12-24 15:12:30 -05:00
wdfk-prog
f4c08cfe36
修改printf格式“%-*.s”为“%-*.*s
2022-12-22 22:51:24 -05:00
wdfk-prog
db6ee55379
[STM32][common]更新rt_hw_us_delay函数,以支持设置更高延时
...
* 未判断设置延时数是否会溢出
2022-12-22 21:18:29 -05:00
Man, Jianting (Meco)
262392a69c
[sensor] draft new sensor-hal framework ( #6746 )
...
* [sensor] new sensor framework
针对老版本sensor框架的诸多不合理设计进行重构
之前的PR中已经重构了浮点数相关的问题
本次PR主要围绕sensor的整体架构予以重构,对过于理想化的参数和模式予以删除
* [sensor] 增加can modbus总线类型
* [stm32l745] 完善sensor对接
* [sensor] fix the onchip ID print
2022-12-21 21:24:51 -05:00
linshire
c930b4f623
[ch32]对接了rt_hw_context_switch_interrupt接口 ( #6749 )
...
* 对接了rt_hw_context_switch_interruptC(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thread_t to_thread)接口
* Update libcpu/risc-v/ch32v1/cpuport.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-22 09:34:36 +08:00
Zxy
f4323f2049
[stm32f1] 对于RTC-Alarm进行添加STM32F1宏控制 ( #6765 )
...
并确认并列出已经在什么情况或板卡上进行了测试。
And confirm in which case or board has been tested. -->
STM32F103ZET6
为什么提交这份PR (why to submit this PR)
使用STM32F103ZET6的RTC的Alarm功能出现问题,按照原本的驱动代码编译会报错。
你的解决方案是什么 (what is your solution)
修改底层驱动drv_rtc.c文件,将报错的几个结构体给注释掉即可。
在什么测试环境下测试通过 (what is the test environment)
rtstudio下对STM32F103ZET6进行测试并且成功运行Alarm功能
2022-12-21 20:33:54 -05:00
螺丝松掉的人
eec9d4f595
[arduino][stm32f427-robomaster-a] : 对接RTduino ( #6767 )
...
* [arduino][stm32f427-robomaster-a] : 对接RTduino
* Update README.md
* Update pins_arduino.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-21 18:16:31 -05:00
Man, Jianting (Meco)
061af7b092
[kenel] add static name for rt_object ( #6422 )
...
增加静态object 名字,用户可以根据内存实际使用情况决定使用动态还是静态。适用于资源极度受限的情况下使用。该功能在RT-Thread完整版本中不常用,主要用于RT-Thread Nano,以缩减对内存的占用。由于没有动态拼接支持,在静态名字下,空闲线程的名字在多核时将命名成相同的名字。
2022-12-20 22:36:32 -05:00
ANDREW LI-Nordic
91cdcea900
[bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340 ( #6754 )
...
* add nrf5340 bsp,add uarte and gpio drv for 5340
* [bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340
Co-authored-by: andrew li <andrew.li@nordicsemi.no>
2022-12-20 20:11:27 -05:00
Shell
e8504c7cf1
[smart/aarch64] code sync ( #6750 )
...
* [smart/aarch64] sync aarch64
2022-12-20 17:49:37 +08:00
Stanley Lwin
f0ef8ada33
[bsp] [stm32F401] Enable PA11 for TIM1_CH4 ( #6756 )
2022-12-20 01:20:20 -05:00
螺丝松掉的人
ba2d7ba4c0
[arduino][stm32f407-robomaster-c] 对接RTduino ( #6759 )
2022-12-20 00:59:54 -05:00
Yaochenger
8ade08799b
[bsp][core-v-mcu]在驱动中添加rtconfig.h,以兼容原工程基于FreeRTOS的驱动
2022-12-19 18:25:04 -05:00
梁生
2f214d03c0
[fal] fal_rtt.c消除函数strtol()隐含声明的警告
2022-12-19 18:15:40 -05:00
Man, Jianting (Meco)
8c7e0b71ce
[tool] 增加scons --dist --project-path=xxxx命令 ( #6713 )
...
* [tools] 所有dist都打zip包
* 完善scons --dist/dist-ide --project-name --project-path命令
2022-12-19 01:12:08 -05:00
Yaochenger
0df51b8aa9
[components][libc] 在rv32下编译时cstring.c中的strtok_r函数与libc.a中的strtok_r重定义,添加rt_weak
2022-12-18 23:38:41 -05:00
Yaochenger
b256411736
更新readme
2022-12-18 23:37:54 -05:00
sbb
961b020bc2
documention里的一处小问题 ( #6748 )
...
* Update thread-comm.md
* Update documentation/thread-comm/thread-comm.md
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-16 23:51:09 -05:00
guo
68ca9f07a6
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 ( #6740 )
...
* [dfs] sync cromfs
* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration
* [format] fix some format issue.
2022-12-16 18:38:28 +08:00
Yaochenger
3ea5166376
[bsp][core-v-mcu]修改后兼容原有CLI,兼容原有FreeRTOS函数接口 ( #6747 )
...
* [bsp][core-v-mcu]兼容原有FreeRTOS函数接口,兼容CLI
2022-12-16 17:56:13 +08:00
wdfk-prog
0a6ffce446
[STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数 ( #6745 )
...
* [STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数
* 规范代码格式
2022-12-16 02:10:42 -05:00
褚仕成
4246275e6e
add "\n" to cat
2022-12-15 11:34:00 -05:00
joechenchen
ee632c21a8
fix:三字节读命令0x03,四字节读命令0x13,当命令为0x03需要加上0x10
2022-12-15 01:08:21 -05:00
wdfk-prog
63e7633246
[STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动 ( #6741 )
...
* [STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动
* H7下SPI时钟不再为外设总线时钟频率
* H7下DMA驱动需要进行CacheLine对齐
2022-12-15 01:05:56 -05:00
杨熙
012aa0e0d0
[bsp][lpc55sxx] add support for LPC55S16 ( #6743 )
...
* [bsp][lpc55sxx] add support for LPC55S16
* [bsp][lpc55s16] formating LPC55S16 driver
2022-12-14 23:34:08 -05:00
guo
0bc01ad0d9
[dfs] sync cromfs ( #6739 )
2022-12-14 22:28:34 +08:00
guozhanxin
e2bdd8a184
[libcpu] fix cpp11 error
2022-12-14 11:04:00 +08:00
tangzz98
89c3bf5f92
ESP32_C3: Improve Readme, fix compile errors/warnings
2022-12-13 11:50:29 +08:00
Meco Man
9860b168b8
[sensor] 增加新传感器类型和单位
2022-12-12 22:44:07 -05:00
Bernard Xiong
2aa600e01b
[components] fix compiling warning ( #6733 )
2022-12-13 09:44:45 +08:00
bernard
aa0c8b4a93
[components] fix format issue
2022-12-12 20:24:10 -05:00
Man, Jianting (Meco)
8b5a501831
[sensor][cmd] add sensor_get_type/vender/unit_name functions ( #6727 )
...
* [sensor][cmd] add sensor_get_type/vender/unit_name functions
* rename sensor folder
2022-12-11 22:45:04 -05:00