Commit Graph

3124 Commits

Author SHA1 Message Date
Bernard Xiong c7ee7f9858 Merge pull request #352 from grissiom/fix-tools-srcremove-st
tools: fix SrcRemove on empty src
2014-10-08 22:10:25 +08:00
Grissiom 4d2972a85f tools: fix SrcRemove on empty src
If the src is empty list, it will crash at:

    IndexError: list index out of range:
      File "/home/xxx/src/SConstruct", line 39:
        objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True)
      ...
      File "/home/xxx/src/drivers/SConscript", line 12:
        SrcRemove(src, src_need_remove)
      File "/home/rt-thread-stable/tools/building.py", line 496:
        if type(src[0]) == type('str'):

Commit d33df46f19 in master.
2014-10-08 18:04:08 +08:00
Bernard Xiong 8b8d69f66e Merge pull request #350 from grissiom/fix-tools-stable
tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
2014-10-08 13:31:59 +08:00
Grissiom 84dcd2c313 tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
The order of them are important while the uniqueness has nothing to do
with the compiling.

commit 2c5eea4c21 in upstream.
2014-10-08 12:22:58 +08:00
Bernard Xiong 80b66ae25e Merge pull request #317 from grissiom/fix-mempool-st
[stable] kernel: mempool: fix race condition in rt_mp_alloc
2014-08-20 10:34:37 +08:00
Grissiom 7354a9fb78 kernel: mempool: fix race condition in rt_mp_alloc
When thread wake up from waiting for memory, there is a chance that
there is no memory available in high pressure. So use a loop to check
again. Otherwise, there will be a NULL reference.

Commit b8bf6bef76 from master.
2014-08-20 10:26:06 +08:00
Bernard Xiong d57e880444 Update rtconfig.h 2014-08-01 16:14:29 +08:00
Bernard Xiong f6c8e39167 Merge pull request #309 from BernardXiong/stable-v1.2.x
prepare RT-Thread 1.2.2 release
2014-08-01 13:38:38 +08:00
bernard ea598b9ac8 [DFS] fix copy command issue. 2014-08-01 13:25:58 +08:00
bernard 8336654059 [newlib] Remove compiling warning. 2014-08-01 13:25:37 +08:00
bernard 277325c39e [pthreads] fix pthread_cond_init issue when attr is NULL. 2014-08-01 13:25:15 +08:00
bernard fe2047ba11 [Kernel] fix spell wrong in comments. 2014-08-01 13:24:48 +08:00
bernard a2e074e02b [building] fix command too long issue under win32. 2014-08-01 13:24:20 +08:00
bernard 5ccf1d4452 [libcpu] fix spell wrong. 2014-08-01 13:23:53 +08:00
bernard 4e96775e89 [bsp] Fix serial 3 issue in beaglebone. 2014-07-24 08:32:35 +08:00
bernard 7c2c3ddc34 [BSP] fix UART3 issue in STM32F40x. 2014-07-20 16:53:49 +08:00
Bernard Xiong 350b1080ea Merge pull request #303 from BernardXiong/stable-v1.2.x
Merge 2.0.0 modification to prepare v1.2.2 release.
2014-07-19 06:46:39 +08:00
bernard 50e7ae7e87 Merge 2.0.0 modification to prepare v1.2.2 release. 2014-07-19 06:43:53 +08:00
Bernard Xiong 61712bbd13 Merge pull request #267 from grissiom/stable-v1.2.x-fix-mempool
[mempool] reset the thread->error before suspending thread
2014-04-16 11:53:48 +08:00
Grissiom 3ea936e80c [mempool] reset the thread->error before suspending thread
Time out result and other errors is recorded in thread->error. Dirty
error will screw up the error handling code after the thread has been
wake up.
2014-04-16 11:02:36 +08:00
bernard b2f35dcf3f Merge remote-tracking branch 'origin/master' into stable-v1.2.x 2014-04-08 15:49:16 +08:00
bernard 412d548f9c [BSP] Remove rt_device_init_all() function invoking. 2014-04-05 23:56:29 +08:00
bernard 54326fcb82 [BSP] Remove rt_device_init_all() function invoking. 2014-04-05 23:53:23 +08:00
bernard db900ce5c0 [BSP] Remove rt_device_init_all() function invoking. 2014-04-05 23:50:24 +08:00
bernard 95f4228da1 [BSP] Remove rt_device_init_all() function invoking. 2014-04-05 23:45:13 +08:00
bernard f07bb06437 [BSP] Remove the components initialization management. 2014-04-05 23:40:18 +08:00
bernard 625c8f2126 [BSP] Remove the components initialization management. 2014-04-05 23:33:00 +08:00
bernard 6d20d222b8 [BSP] Remove the components initialization management. 2014-04-05 23:08:17 +08:00
Bernard Xiong 2c55f26f00 Merge pull request #252 from nongxiaoming/rb4088-1.2.x
update the led driver.
2014-04-03 18:07:02 +08:00
xiaonong 5f26d0e1f8 update the led driver. 2014-04-03 12:12:17 +08:00
bernard ed2d2b0d70 Merge master branch to stable v1.2.x branch. 2014-04-02 13:54:25 +08:00
Bernard Xiong 40b7eba446 [Kernel] Change the version number to 2.0.0. 2014-03-29 14:59:02 +08:00
Bernard Xiong 17ef8ff63e [Kernel] change version number to 1.2.1. 2014-03-29 14:55:36 +08:00
Bernard Xiong a82ad3e380 Merge pull request #250 from grissiom/msh-next
[msh] don't complain on empty command
2014-03-29 14:50:04 +08:00
Grissiom 0979328fb1 [msh] don't complain on empty command
Just branch out and no complain on command length == 0;
2014-03-29 11:33:20 +08:00
bernard 7d2b7199d8 Add PNG_ABORT for libpng; Add format field in tjpgd; 2014-03-29 08:45:26 +08:00
Bernard Xiong 96d9fd8715 Merge pull request #249 from grissiom/msh-next
Msh next
2014-03-27 22:49:43 +08:00
Grissiom c44f32e513 [msh] cd to path when possible
When DFS_USING_WORKDIR is enabled, msh will try to chdir if the command
is not found. For example, if there is folder named "SD", and there is
no `SD` command and `SD.mo` module, typing "SD" in msh will cd to the
folder.

In more detail, the execution order right now is:

1. built-in command
2. module
3. cd to path

If you have a folder named "ps", you have to run `cd ps` to change the
working dir.
2014-03-27 16:41:26 +08:00
Grissiom f9659283c0 [msh] try to complete module path
Msh can execute module directly. So try to auto-complete the path when
user press TAB. There is a chance that the path is a module.
2014-03-27 15:09:53 +08:00
bernard de16b800a4 [scons] fix the BSP_ROOT issue in ua.py. 2014-03-25 10:04:48 +08:00
bernard 74ee48a3da Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-03-24 14:51:22 +08:00
bernard 6289a1aa25 Add UA building script. 2014-03-24 14:50:47 +08:00
prife 2427f2a87e Merge pull request #246 from nongxiaoming/master
modify the pixel format to RGB565 in sdl_fb.c
2014-03-23 16:32:10 +08:00
nongxiaoming c20ec19a96 modify the pixel format to RGB565 in sdl_fb.c 2014-03-12 16:36:39 +08:00
bernard 04b5a46179 [Finsh] fix the shell prompt issue. 2014-03-12 16:25:59 +08:00
bernard 444b928d22 Add more command to msh for module. 2014-03-12 08:47:10 +08:00
bernard 09bb7393b2 [Pthreads] fix compiling warning 2014-03-11 16:05:14 +08:00
bernard 33a5abbbf8 [Finsh] Use msh as prompt when current mode is msh mode. 2014-03-11 15:54:21 +08:00
bernard dbcb4a1ccf [Kernel] declare more APIs in module 2014-03-11 15:44:35 +08:00
bernard 898e0d2f3f [Kernel] stop thread timer when suspend a thread 2014-03-11 14:19:24 +08:00