Commit Graph

3001 Commits

Author SHA1 Message Date
bernard 6a624356e4 [Finsh] code cleanup 2014-01-04 06:02:33 +08:00
bernard 1f8a0668d2 [Finsh] Add features to execute module. 2014-01-03 08:01:24 +08:00
bernard bd8fc8b2f9 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-01-03 07:16:13 +08:00
bernard 8a56e181bd [Finsh] cleanup the code style 2014-01-03 07:15:25 +08:00
Bernard Xiong c1550361fa Merge pull request #225 from nongxiaoming/master
add the bsp for lpc407x/408x
2014-01-02 02:53:58 -08:00
nongxiaoming a043a74c7b add the bsp for lpc407x/408x 2014-01-02 18:30:13 +08:00
bernard b924104129 Add FINSH_USING_MSH_ONLY option 2014-01-01 23:14:45 +08:00
bernard 9993c9e60c Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-01-01 21:46:14 +08:00
bernard a5ba2a24f7 add file and path name auto completion for module shell 2014-01-01 21:45:09 +08:00
Bernard Xiong ec7fada97e [Drivers] Fix the block start issue in MTD Nand operators 2013-12-30 18:14:09 +08:00
bernard a93251ae2b Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-12-29 22:31:05 +08:00
bernard 42ae1c634d [Drivers] Add more debug utilities in MTD nand 2013-12-29 22:27:33 +08:00
Bernard Xiong 939176d13a Merge pull request #224 from grissiom/BBB
BBB: init timer on startup
2013-12-27 00:31:32 -08:00
Grissiom 9cdf989c59 BBB: init timer on startup
It could fix the problem encountered in
https://groups.google.com/forum/?hl=en#!topic/rt-thread-cnusers/tpqZOMsIp8I
2013-12-27 16:25:14 +08:00
Bernard Xiong 259baec238 Merge pull request #221 from grissiom/more-tc
TC: if TC is enabled, add the TC dir to CPPPATH
2013-12-23 20:12:24 -08:00
Grissiom e336a9807a TC: if TC is enabled, add the TC dir to CPPPATH
Some component that depend on TC would like to include the tc_comm.h.
2013-12-24 12:08:22 +08:00
Bernard Xiong 041a7e887b Update posix_types.h 2013-12-23 13:23:49 +08:00
Bernard Xiong 80ff88b2fc Merge pull request #220 from grissiom/more-tc
[RFC] More tc
2013-12-22 19:54:30 -08:00
Grissiom 21fe463168 TC: delay longer in tc_stop 2013-12-23 10:47:15 +08:00
Grissiom fddbd836b4 TC: re-implement the loop feature
We should not use the _tc_stat to determine whether we should loop the
TCs. Use an other variable and introduce tc_loop FinSh command.
2013-12-23 10:42:39 +08:00
Bernard Xiong 7d08284923 Merge pull request #219 from geniusgogo/SQLite_on_ARMCC
Sq lite on armcc
2013-12-22 06:04:10 -08:00
geniusgogo 4c463f27cb Merge branch 'master' into SQLite_on_ARMCC 2013-12-22 21:31:12 +08:00
geniusgogo 8b1b64567a Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-12-22 21:28:30 +08:00
geniusgogo 7442414a74 ARMCC complier is usable. 2013-12-22 21:26:21 +08:00
geniusgogo 26e0137f15 Moved the configuration options to the SRC directory 2013-12-22 21:22:47 +08:00
geniusgogo 30d6196c22 Moved the configuration options to the SRC directory 2013-12-22 21:11:58 +08:00
Bernard Xiong 99d56ba766 Merge pull request #218 from grissiom/more-tc
More tc
2013-12-21 04:12:41 -08:00
prife 95006bb503 Merge pull request #215 from prife/master
fix dfs_unmount bug
2013-12-21 04:06:25 -08:00
Grissiom f6bf69f233 TC: more tolerate for tick in TC thread 2013-12-21 13:18:46 +08:00
Grissiom f7b1421880 TC: expand TABs 2013-12-21 12:57:35 +08:00
Grissiom ac0e10bb83 TC: more tolerate on the timeout tick in semaphore_dynamic
With system that has RT_TICK_PER_SECOND is 1000, it's easy to get one
tick error.
2013-12-21 12:45:16 +08:00
Bernard Xiong 46f9280a9d Merge pull request #216 from grissiom/more-tc
More tc
2013-12-20 20:28:02 -08:00
Bernard Xiong 05d8045a24 Merge pull request #214 from grissiom/rtt-next2
Rtt next2
2013-12-20 20:27:38 -08:00
prife eac3b8d96c Merge pull request #217 from grissiom/fix-dfs
DFS: let mount fail on device open error
2013-12-20 20:16:58 -08:00
Grissiom 1289dff203 DFS: let mount fail on device open error 2013-12-21 12:15:31 +08:00
prife 26a31d662d dfs: make elmfatfs check secter size everytime
more infomation:
http://www.rt-thread.org/phpBB3/topic2965.html
2013-12-21 12:04:19 +08:00
Grissiom 5019b3ee14 TC: format code, expand TABs
No functional changes.
2013-12-21 11:59:22 +08:00
Grissiom 6b02886eb3 TC: print a summary after all the tests 2013-12-21 11:59:21 +08:00
prife 4f9dc273ec dfs: fix dfs_unmount bug
fix #211
2013-12-21 11:35:09 +08:00
Grissiom 04f432f47b kernel: let rt_thread_idle_excute loop until there is no dead thread
Out side world is difficult to tell whethere there is dead thread
remaining. If rt_thread_idle_excute only do one cleanup, it's hard to
finish cleanups outside the idle thread. So let is loop and do all the
cleanups in one call.
2013-12-21 11:31:40 +08:00
Grissiom 408ac34bc2 kernel: add rt_critical_level that return the lock count of scheduler
Out side world may be interested in whether the scheduler is locked or
not. Provide an API to tell that.
2013-12-21 11:27:26 +08:00
prife 27112267e9 dfs: rename varialbe name in dfs_filesystem_lookup
empty is confused in dfs_filesystem_lookup.
2013-12-21 10:58:52 +08:00
Bernard Xiong ca270a4667 Merge pull request #213 from grissiom/more-tc
More tc
2013-12-19 23:50:39 -08:00
Grissiom 9a679cc7d8 TC: fix the thread_delete
The tc thread should delay more time than tid2 in order to let it run
the test. The hard-coded "27" is not enough in some cases.
2013-12-20 10:52:51 +08:00
Grissiom bf640015e6 TC: clear the TC_STAT_RUNNING flag when tc forgot to do so
TCs are supposed to exit with the TC_STAT_RUNNING cleared. If it forgot
to do this, do it by ourselves.
2013-12-20 10:23:31 +08:00
prife 52db5cfbe0 Merge pull request #210 from prife/master
dfs: refine code
2013-12-19 07:44:28 -08:00
prife f4e8820bca dfs: refine more code
clean code with pointer rather than index
2013-12-19 13:58:30 +08:00
Bernard Xiong 0e8b23ff95 Merge pull request #212 from grissiom/fix-tc
Fix tc
2013-12-18 18:05:31 -08:00
prife 7fd6d17d5b dfs: refine code
decrease indentation to make cleaner code
fix mkfs bug when there is no mkfs implementation
2013-12-19 00:31:39 +08:00
Grissiom a51b5799f7 TC: fix the heap tests 2013-12-18 23:04:18 +08:00