Commit Graph

24 Commits

Author SHA1 Message Date
Meco Man ce16945cba [kernel][version] 采用新的版本宏定义
版本控制规范: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
```
2022-09-07 10:11:45 -04:00
Man, Jianting (Meco) fb3f835089
[libc] remove strdup from rtthread.h (#6026)
add __STDC_LIMIT_MACROS macro in Keil
add RT_USING_LIBC in simulator
add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
2022-06-04 17:02:35 +08:00
xiangxistu 2f9f39764d
[add] winsock implement on windows simulator. (#6010)
* [add] winsock implement on windows simulator.
2022-05-31 11:50:17 +08:00
Meco Man 569facb12d [simulator] 增加RTC配置项(默认开启) 2022-05-19 09:43:20 +08:00
Meco Man 19abf927d2 [simulator] avoid conflicts between winsock.h and sys/time.h 2022-05-16 10:02:22 +08:00
Meco Man 3cacdf6ddb [simulator] upgrade SDL2.0 to 2.0.20 2022-04-13 22:37:59 +08:00
Man, Jianting (Meco) c318dfa964
improve libc time and MSVC simulator (#5775)
- [libc] 解决由于类unix操作系统发展历史原因fcntl.h定义的标志位在不同编译器中定义不同的问题
- [simulator] 部分宏定义转为全局宏定义以确保vs内置文件可以正确配置
- [simulator] 取消自欺欺人式的警告消除处理方式
- [libc][time] 优化time相关结构体在不同编译器下的包含
2022-04-07 14:24:11 +08:00
Meco Man 8565fe2448 [simulator] 消除vs下的警告 2022-01-08 15:46:52 +08:00
Meco Man e72eb1ae95 [simulator][win32] add lvgl driver 2021-12-16 01:12:24 -05:00
Meco Man 7d57f6b175 [bsp][simulator] 增加_CRT_DECLARE_NONSTDC_NAMES=0全局宏定义,防止vs内置stdc与libc定义冲突,如dev_t等 2021-09-25 00:24:55 -04:00
yangjie 9c784f9c1f [bsp][simulator]delete tap_netif.c 2021-04-26 14:57:26 +08:00
Bernard Xiong 8b36b57a11 [UIEngine] move UI engine as a package 2018-03-03 16:34:01 +08:00
yangfasheng 0415298ceb 更新替换 SDL; 2018-01-19 13:38:43 +08:00
bernard eb1daff7d4 [BSP] Fix the simulator build for Win32. 2017-12-13 20:38:56 +08:00
prife a12892af31 simulatr: print error messages when RTT_RTGUI is invalid 2013-10-26 14:00:24 +08:00
bernard d092105f3a Add tap netif driver 2013-10-10 00:41:36 +09:00
Grissiom c6e81b58d9 simulator: move SDL setting staff into drivers/SConstruct
This could not only make a cleaner SConstruct, but could also benefit
RTGUI building.
2013-09-06 21:49:53 +08:00
prife 8846ac8c40 simulator: update to support simulator for linux 2013-07-22 23:02:03 +08:00
prife 70611580dc simulator: move {dfs_win32.c,moudule_win32.} from drives/ 2013-03-15 16:54:23 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
goprife@gmail.com 2bae33a381 change nand_sim.c to nanddrv_file.c; add SDL.dll to bsp/simulator; clean code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2532 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 07:21:13 +00:00
goprife@gmail.com 4ee9c0dc0f update SCons script in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2460 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01 06:59:37 +00:00
goprife@gmail.com 13d2e4a5ac update bsp/simulator/SConscript to auto remove drivers according to rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2420 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 07:15:03 +00:00
goprife@gmail.com 6e242e0529 rebuild the directory organization of simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2389 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 05:52:14 +00:00