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
geniusgogo
d246db603c
fix sqlite mutex/vfs/
2013-11-30 15:00:16 +08:00
geniusgogo
10aad53661
fix declarative referential integrity
2013-11-30 15:00:07 +08:00
geniusgogo
7e7f0fb5f5
add test/test10.c
2013-11-30 15:00:06 +08:00
geniusgogo
7d88b753d6
complete SQLite-3.8.1 porting, and auto generate porting code
2013-11-30 14:59:57 +08:00
geniusgogo
2315160531
add vfs/fs porting
2013-11-30 14:59:56 +08:00
geniusgogo
d47febdc65
port complete SQLite-3.8.1 to RT-Thread
2013-11-30 14:59:55 +08:00
geniusgogo
993374d860
add rtt memory management support
2013-11-30 14:59:54 +08:00
geniusgogo
bb71850863
add rtt mutex support
2013-11-30 14:59:53 +08:00
geniusgogo
e0a3ced7ea
add rtt complie macro SQLITE_OS_RTT
2013-11-30 14:59:52 +08:00
geniusgogo
a186d329a4
add SQLite-3.8.1 authority original source tree
2013-11-30 14:59:51 +08:00
geniusgogo
0347f8ab9c
add SQLite 3.8.1 amalgamation source code
2013-11-30 14:59:48 +08:00
Bernard Xiong
35d83be62f
Merge pull request #204 from aozima/pulls
...
fixed _sys_read()/_sys_write() issues.
2013-11-24 07:22:41 -08:00
aozima
e037d2e5f6
fixed _sys_read()/_sys_write() issues.
2013-11-24 23:11:17 +08:00
Bernard Xiong
6c58f80a1d
Merge pull request #201 from prife/master
...
finsh: fix finsh device setting
2013-11-18 16:13:19 -08:00
aozima
52d49c7dc6
Merge pull request #199 from bright-pan/master
...
It is a big patch for stm32f0x, see the fellow :
2013-11-18 06:44:33 -08:00
prife
b79b9be19f
finsh: fix finsh device setting
...
1. rt_console_get_device should be call to set shell device only when it is null, or it will make finsh_set_device useless.
2. RT_USING_CONSOLE can be disabled in bsp/rtconfig.h
2013-11-18 21:17:49 +08:00
Bernard Xiong
a2bd42c81a
Merge pull request #200 from grissiom/cortex-r4
...
Cortex r4
2013-11-16 21:24:18 -08:00
Grissiom
0c9b9ced31
cortex-r4: use byte to allocate the stack
...
Unit of "byte" is more intuitive than "long".
2013-11-17 12:49:08 +08:00
Grissiom
a8520ed383
cortex-r4: let svc mode reuse the stack of IRQ on startup
...
As the svc stack is the stack of threads, there is no need to allocate a
separate stack for the startup. Reuse the IRQ stack should be OK.
Tested on rm48 board.
2013-11-17 12:49:07 +08:00