Commit Graph

14651 Commits

Author SHA1 Message Date
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
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
Meco Man a4b8762d85 [sfud] sync commit
db9a1746df
2022-12-11 01:35:45 -05:00
Yaochenger 49486f98d1
[bsp][core-v-mcu]规范代码格式 添加英文readme_EN (#6718)
Co-authored-by: 1516081466@qq.com <ws051000>
2022-12-10 14:39:26 -05:00
linshire 8f9198eb99
对接了rthw.h的接口,修复了不能编译的问题 (#6722) 2022-12-10 23:04:26 +08:00
Shell e991be9c51
[smart][risc-v/libcpu] port rv64 cpu code (#6704)
* [risc-v/libcpu] porting Smart & RTOS
* [fix] rv64 plic
* [risc-v/rv64] remove macro in rtdef
2022-12-10 22:16:42 +08:00
liYony 190eda6ab0 [bug] fix tim bug 2022-12-09 23:19:18 -05:00
andrew li 4bbfc5fcb8 add nrf5340 bsp,add uarte and gpio drv for 5340 2022-12-09 07:55:11 -05:00
guozhanxin b5d77bbf37 [rtsmart] fix uart can't input after userapp exited at rv64 platform. 2022-12-09 07:54:29 -05:00
Rbb666 e6f38ec9dc Corrections psoc6-cy8ckit-062S2-43012 figures 2022-12-09 17:34:38 +08:00
vandoul 2380c32a71
修复bsp/renesas/libraries/drv_spi.c中event定义错误 (#6712)
* fix usage of rt_event for drv_spi.c in renesas's libraries.
2022-12-09 10:14:19 +08:00
Yaochenger 9d8da76543
[bsp] add core-v-mcu bsp (#6705)
* add core-v-mcu bsp

* 规范bsp格式 添加readme

* 修改readme

Co-authored-by: 1516081466@qq.com <ws051000>
2022-12-08 15:01:37 -05:00