Commit Graph

36 Commits

Author SHA1 Message Date
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
tangyuxin 015418fa9b [bsp][simulator] 支持自动初始化及用户 main 入口 2021-04-01 17:01:14 +08:00
David Lin 622e8cb0ca
Fixed typo 'rthread' in help infomation
rthread -> rtthread
2020-03-06 21:46:21 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
armink 60e32cb61e [bsp/simulator] Fix project generate configuration. 2019-07-19 16:14:02 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
Bernard Xiong 7e45f059dc [BSP] Update simualtor bsp for Win32/MSVC 2015-09-30 16:26:40 +08:00
prife 712d9428ed simulator: disable RTGUI in rtconfig.h
clean code in SConstruct and application.c, disable RTGUI in rtconfig.h
by default.
2013-12-08 20:39:19 +08:00
prife 0701b57eaa Merge pull request #188 from prife/master
simulatr: print error messages when RTT_RTGUI is invalid
2013-10-28 07:59:35 -07:00
prife a12892af31 simulatr: print error messages when RTT_RTGUI is invalid 2013-10-26 14:00:24 +08:00
prife 3a33906ab1 simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +08:00
prife 5641360b49 simulator: add createdef.py to generate def file for VS
Now we can get rid off Mingw to create def file. To create def file, one
should run:

    scons --def

in the bsp/simulator.
2013-10-14 22:53:59 +08:00
Grissiom 35cac170fa simulator: add clang-analyze tool support
When CROSS_TOOL or 'RTT_CC' env is setted to 'clang-analyze', it will
use Clang to check the codes.
2013-09-07 15:15:48 +08: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 842d129f03 simulator: assign the x86 32bit version in Enverionment, or the 64bit version will be built with vs2010 in win7 64bit 2013-03-01 22:43:33 +08:00
prife 1ab15ba0a6 app module of simlator: simpliy command of building, now use `scons --def` to create rtthread.def which can used by msvc 2013-02-27 02:27:19 +08:00
prife a07b4a4396 app module of simlator: rename librtthread.a to rtthread.lib after post-building 2013-02-27 02:04:43 +08:00
prife a64ec10e68 app module support for simlator, first version 2013-02-27 00:37:57 +08:00
prife 242574a36f mingw support for simulator: rtgui 2013-02-26 17:51:21 +08:00
prife 9ccdf4172e basic mingw support for simulator: kernel and finsh 2013-02-26 16:03:08 +08:00
Grissiom 94a727a4fe link with libm.so
This fix the compiling error:

    /usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: build/components/rtgui/common/dc.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'
    /usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: note: 'sin@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
    /lib64/libm.so.6: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
2013-01-24 12:52:42 +08:00
prife fbbc4c8d18 merge bsp/simlinux into bsp/simulator 2013-01-22 16:57:47 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
rogerz.zhang@gmail.com d573786d52 fix memory access error in list_tc() under bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 08:11:38 +00:00
goprife@gmail.com 7c82d6e304 revert RTGUI path in SConstruct, update applications/platform.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2462 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01 07:08:48 +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 67e2506750 update files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2440 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 14:05:39 +00:00
chaos.proton@gmail.com 57154e90bf bsp/simulator: make RTT_RTGUI compatible with previous definition
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2424 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-18 08:17:25 +00:00
goprife@gmail.com 14709082a5 fix the link bug in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2423 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-17 05:18:06 +00:00
goprife@gmail.com cabee09a32 lib_path should be list no string in bsp/simulator/SConstruct
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2418 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 06:42:28 +00:00
goprife@gmail.com 50d69f69f6 update simulator/SConstruct
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2417 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 04:28:24 +00:00
goprife@gmail.com 3112b09c8f add sdl driver for simulator; update scripts in simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2415 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-15 16:31:51 +00:00
goprife@gmail.com 8cdbed763d add template.vcproj for bsp/simulator; modify SConstruct for auto-generation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2396 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07 05:32:29 +00:00
goprife@gmail.com c3b741d010 add simulator bsp for win32, which can be compiled by visual studio (2005 or newer version)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2357 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 04:33:52 +00:00