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
Bright Pan
9691c659c8
It is a big patch for stm32f0x, see the fellow :
...
1. fix heap management for stm32f0xx(SRAM=8k)
2. add USART1, USART2 driver for stm32f051R8
3. fix finsh support for stm32f0x
4. fix board components initial for stm32f0x and open debug msg
5. add led driver(pc9) and test thread for stm32f0discovery board
6. add init thread for stm32f0x do components initial
7. add rcc initial for stm32f0x in rt_hw_board_init()
8. add print rcc freq information function
the console output example is:
SYSCLK_Frequency is 48000000HZ
PCLK_Frequency is 48000000HZ
HCLK_Frequency is 48000000HZ
CECCLK_Frequency is 32786HZ
ADCCLK_Frequency is 14000000HZ
USART1CLK_Frequency is 48000000HZ
I2C1CLK_Frequency is 8000000HZ
SystemCoreClock is 48000000HZ
initialize rti_start:0 done
\ | /
- RT - Thread Operating System
/ | \ 1.2.0 build Nov 15 2013
2006 - 2013 Copyright by rt-thread team
do components intialization.
initialize rti_board_end:0 done
initialize rt_hw_led_init:32768 done
initialize finsh_system_init:0 done
finsh>>
2013-11-15 14:05:30 +08:00
Bernard Xiong
394657979d
Merge pull request #194 from grissiom/eol-issue
...
freemodbus: fix eol
2013-11-06 16:43:44 -08:00
Grissiom
61ffa2c438
freemodbus: fix eol
...
On Windows platform, please set `autocrlf = true` and on Linux, please
set `autocrlf = input`.
2013-11-06 21:47:49 +08:00
Bernard Xiong
fd28151768
Merge pull request #192 from armink/master
...
net: add freemodbus master and slave v1.6.0
2013-11-05 22:47:58 -08:00
armink
615579ccf1
add SConscript for freemodbus
...
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 14:16:24 +08:00
armink
b280a940c4
add modbus master to freemodbus
...
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 09:34:24 +08:00
aozima
56cb5752d4
Merge pull request #189 from bright-pan/master
...
Fix hardfault bug for gcc port
2013-11-04 04:22:51 -08:00
Bright Pan
06987e72e5
Fix hardfault bug for gcc port
...
for 2013-02-20 aozima commmit "port for gcc", but the commit is
not tested,and the kernel is breakdown in context_gcc.S, the file
is a copy from cortex-m3,but not port for cortex-m0, so i complete
this port for aozima, test it in stm32f0discovery board ,
and it works fine.
2013-11-04 16:10:11 +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
Bernard Xiong
fac2bb2288
Merge pull request #187 from grissiom/serial-fix
...
Revert "serial: set the errno if and only if in thread context"
2013-10-25 18:11:24 -07:00
Grissiom
6bb2c0f2ea
Revert "serial: set the errno if and only if in thread context"
...
This reverts commit 07bd09fc0f
.
The validation of the context is done with in `rt_set_errno`. So it's
safe to call it here.
2013-10-25 21:23:15 +08:00
Bernard Xiong
166531168d
Merge pull request #186 from grissiom/serial-fix
...
Serial fix
2013-10-25 05:40:45 -07:00
Grissiom
400b96d2d9
k60: add rt_interrupt_{enter,leave} in IRQHandler
2013-10-25 20:32:48 +08:00