Commit Graph

3035 Commits

Author SHA1 Message Date
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
Grissiom 752fe135cd TC: code cleanup 2013-12-18 22:21:31 +08:00
Grissiom b66c5ee074 TC: always print the test result despite the wait time 2013-12-18 22:20:10 +08:00
Grissiom a7c4d07fb7 TC: heap_realloc: check for realloc(ptr, 0) 2013-12-18 22:03:55 +08:00
Grissiom c6c6b5ef74 TC: semaphore_dynamic: code cleanup 2013-12-18 21:47:00 +08:00
Grissiom 4434c87a71 TC: release the sem in cleanup
The sem that has been created should be deleted. The sem that has been
inited should be detached.
2013-12-18 21:46:08 +08:00
Grissiom e9e8e3f3ca TC: do not use rt_sem_trytake to clean the sem
There can be a race condition that the sem has alread been detached
after we did the cleanup. Besides, there is a RT_IPC_CMD_RESET command
in rt_sem_control which is more clear in setting the sem values.
2013-12-18 20:52:55 +08:00
prife cb347f5af0 Merge pull request #207 from prife/master
update bsp/simulator
2013-12-08 04:59:18 -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
Bernard Xiong be2f628160 Merge pull request #205 from geniusgogo/sqlite
Sqlite
2013-11-30 03:36:56 -08:00
geniusgogo 9326719a12 move SQLiteLib/SConscript file to SQLite-3.8.1/SConscript 2013-11-30 15:00:24 +08:00
geniusgogo 06d3cf710e rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00
geniusgogo b3e70cbf40 modify the RTT is abbreviated error, change to be rtthread. 2013-11-30 15:00:21 +08:00
geniusgogo 6433eeae66 build env component removal 2013-11-30 15:00:20 +08:00
geniusgogo dd2a4cd49c port rtt config orig env 2013-11-30 15:00:19 +08:00
geniusgogo ab1429b044 orig config result tool 2013-11-30 15:00:18 +08:00
geniusgogo 2948bf55f7 fix the SQLite mutex free-fun cause a memory leak 2013-11-30 15:00:17 +08:00