| Age | Commit message (Collapse) | Author |
|
|
|
|
|
版本控制规范:https://semver.org/
目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突
```c
/* RT-Thread version information */
#define RT_VERSION 4L /**< major version number */
#define RT_SUBVERSION 1L /**< minor version number */
#define RT_REVISION 1L /**< revise version number */
```
参考ESP32:
```c
/** Major version number (X.x.x) */
#define ESP_ARDUINO_VERSION_MAJOR 2
/** Minor version number (x.X.x) */
#define ESP_ARDUINO_VERSION_MINOR 0
/** Patch version number (x.x.X) */
#define ESP_ARDUINO_VERSION_PATCH 3
```
建议改成:
```c
/* Major version number (X.x.x) */
#define RT_VERSION_MAJOR 4
/* Minor version number (x.X.x) */
#define RT_VERSION_MINOR 2
/* Patch version number (x.x.X) */
#define RT_VERSION_PATCH 0
```
|
|
|
|
* [pwm]Improve the code
* 将与bsp无关的代码移植到框架部分
* 添加注释
|
|
修复 rt_spi_sendrecv16 api 对最高有效位(MSB or LSB)的处理不当造成的一些问题。
https://github.com/stm32duino/Arduino_Core_STM32/blob/main/libraries/SPI/src/SPI.cpp#L273
|
|
report in #6300
|
|
* 针对 TAMAGAWA 的 Smart-Abs 设备 TS5705N50添加 2.5M 波特率
|
|
|
|
|
|
弊之后得到的一套解决方案。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数据出去。
|
|
- 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
|
|
* 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 <[email protected]>
* update
Signed-off-by: Fan YANG <[email protected]>
Co-authored-by: Meco Man <[email protected]>
|
|
|
|
|
|
|
|
|
|
attach #6229
|
|
* [fix] the risk for function exit() when open pthread support.
* [update] modify annotation from "user data" to "pthread_data".
|
|
|
|
|
|
* [kernel][timer] fixed bug serial_v2 驱动问题,导致所有写入都使用阻塞方式写入
|
|
* Fix some compilation warning
* 补充修正一些数据类型的使用错误
Co-authored-by: Meco Man <[email protected]>
|
|
|
|
|
|
* Fix the bug of complementary output
|
|
|
|
module is enabled,which may cause the compilation failure.
|
|
|
|
|
|
|
|
* [compoenets][driver][usb] fix usbhost hid issues.
1.Set idle function should receive an empty package.
2.Fix uinst_t reference error in hid enable function.
|
|
|
|
|
|
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
|
|
* initial commit for list cmd
|
|
This reverts commit 6a05ddf63d1202456a37e970e5a9ab58370ed093.
|
|
|
|
�径功能没有的问题
|
|
* [fix] use atomic operation to protect pthread conditional variable.
|
|
|
|
* [enhancement]Add string information for error
* Update src/kservice.c
* Update src/kservice.c
Co-authored-by: Man, Jianting (Meco) <[email protected]>
* remove %m
Signed-off-by: a1012112796 <[email protected]>
Co-authored-by: Meco Man <[email protected]>
|
|
|
|
|
|
* [rtc] use gmtime_r to replace gmtime
|
|
rt_spi_sendrecv8()存在可能未初始化值返回的情况
|
|
|
|
* implement extension standard C functions
|
|
|
|
|