RT-Thread / rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS).
https://www.rt-thread.io
Apache License 2.0
10.49k stars 5.02k forks source link

v4.1.0 特性征集与讨论 | v4.1.0 discussion #5342

Closed Guozhanxin closed 2 years ago

Guozhanxin commented 2 years ago

v4.0.4 已经发布了,所以我们开始筹备下个版本的发布了,下个版本按计划是一个次版本的更新,将会包含更多的新特性。

如果您也有一些功能想法或对当前计划的看法,请发表评论。

v4.0.4 has been released, so we have started to prepare for the release of the next version. The next version is planned to be a minor version update and will contain more new features.

please comment if you also have some features ideas in mind or share your opinion about the planned features.

Features

BSP

Package

LVGL https://github.com/lvgl/lvgl/issues/2790

Exquisite

Others

mysterywolf commented 2 years ago

仓库代码尽量压缩C99的使用需求,如无特殊需求使用CFLAGS或者LOCAL_CFLAGS, 而非CCFLAGS,不要讲C++和C的配置项默认混在一起。 部分编译器如(Keil-MDK),针对C++和C的配置要求不一样,混在一起配置可能会出问题。

thewon86 commented 2 years ago

为啥不是计划放弃旧版本语法,向新规范靠拢?

mysterywolf commented 2 years ago

为啥不是计划放弃旧版本语法,向新规范靠拢?

因为不同编译器对新版本语法的支持情况并不相同,因此不适合强制工程直接使用C++11或者C99,用户有需求可以通过sconscript自行定义LOCAL_CCFLAG LOCAL_CFLAG LOCAL_CXXFLAG 参见:https://github.com/mysterywolf/RTduino/blob/master/core/SConscript

mysterywolf commented 2 years ago

libc

mysterywolf commented 2 years ago

版本控制规范:https://semver.org/

mysterywolf commented 2 years ago
  • [ ] 支持64位时间戳,以解决千年虫问题

    • [ ] 驱动支持64位时间戳,即使libc还末支持64位
    • [ ] libc支持64位的方案,不同的编译器现在支持的情况不同,可以考虑自己单独维护1套time相关的功能

2038

2038的问题 看起来不只是time32改time64这么简单 其他结构体也需要从long改成longlong https://github.com/RT-Thread/rt-thread/pull/5775#discussion_r843435505

mysterywolf commented 2 years ago

https://club.rt-thread.org/ask/question/435318.html