Commit Graph

439 Commits

Author SHA1 Message Date
mbbill 54453a0748 FIX: Revert thread.c and rtthread.h to previous version.
FIX: Abort handler will suspend current thread instead of terminate it.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@260 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 08:13:45 +00:00
mbbill 8a590215b6 FIX: If abort happened in irq mode, halt system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@259 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 07:48:10 +00:00
mbbill 79ca654e13 ADD: Add abort handler, it will terminate current thread by default.
ADD: Merged svc, abort and irq mode stack.
ADD: Changed MDK project to new format.
FIX: Removed the "static" qualifier of rt_thread_exit().
FIX: Change AT91SAM7X.h to the standard header(AT91SAM7X256.h) of RealView MDK. (not all of them are changed, e.g. sd.c)
FIX: Moved some board-dependent files to bsp.


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@257 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 07:17:58 +00:00
mbbill f64d2241d0 Bug fix (USR mode stack removed).
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@252 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-28 14:37:56 +00:00
qiuyiuestc 4de2f13fcd support GCC compiler for LM3S platform
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@236 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-26 14:47:27 +00:00
qiuyiuestc 017d2b7662 support GCC compiler for LM3S platform
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@235 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-26 12:40:15 +00:00
qiuyiuestc 6d9100da2e support GCC compiler for LM3S platform
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@233 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-26 10:10:50 +00:00
bernard.xiong 51e2d91378 add license and copyright info
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-25 12:18:53 +00:00
gouqingsong@gmail.com 6cd35a87c3 modify mini2440/board.c serial device
modify s3c24x0/clock.c clock initialization

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@225 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-25 10:38:56 +00:00
bernard.xiong bcb37f6d17 update gcc/iar assemble files according to armcc version.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@218 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-23 01:44:52 +00:00
bernard.xiong 31d281e979 enter svc mode instead enter user mode in startup assemble file; change mmu file for Keil MDK.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-19 06:28:22 +00:00
bernard.xiong 80be36d818 fix some embedded assemble issues.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@212 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-18 08:25:55 +00:00
bernard.xiong 9d94c39032 update debug project file and MMU file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@210 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-18 06:13:44 +00:00
bernard.xiong 822b1c164b update mini2440 bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@207 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-18 05:26:16 +00:00
bernard.xiong 7b33e38723 update mini2440 bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@206 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-18 05:25:41 +00:00
bernard.xiong 7ae254abf8 add the s3c2440 code from old s3c2410 port.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@196 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-11 09:42:01 +00:00
bernard.xiong 729a0f4516 update lm3s context switch code according to stm32 context switch code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-07 05:09:54 +00:00
bernard.xiong 6db90b15af fix the cortex-m3 context switch bug when interrupt preempts pendsv exception; add RT_LWIP_ETH_PAD_SIZE option; fix device activate flag set issue in init function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@193 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-06 23:50:17 +00:00
bernard.xiong 6a0d160604 when fault occurs, the registers dump shall be output firstly.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@186 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-01 15:28:44 +00:00
qiuyiuestc 2cac413f95 File system and net for LM3S platform are available.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@181 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-29 14:35:37 +00:00
bernard.xiong 37b29e879e fix the serial Tx interrupt clean issue @ reported by softwind.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@169 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-18 07:47:29 +00:00
bernard.xiong a7c36ff98c fix rt_serial_read bug when there is no data in the buffer. -- found by freescale@stmsky.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@129 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-24 23:07:55 +00:00
bernard.xiong f5bcb86743 add stack space definitions in GCC startup code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@126 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-23 06:14:57 +00:00
bernard.xiong 55263df881 fix the cm3 assemble function issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@121 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-22 23:51:48 +00:00
bernard.xiong 9ba0621463 update on scons script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@118 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-21 23:50:25 +00:00
bernard.xiong 0be4d1d5dd add STM32 gcc version. apply scons build system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@99 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-14 09:49:02 +00:00
bernard.xiong cfed152238 add STM32 CL device support in IAR startup assemble file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@55 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-29 13:19:55 +00:00
bernard.xiong 6a26038b16 modify for STM32 FW library 3.1.0.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@52 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-28 00:00:23 +00:00
bernard.xiong 8e76594241 convert dos endline to unix endline; cleanup schedule code for STM32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@49 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-20 23:43:51 +00:00
bernard.xiong 04234d1821 fix context switch bug because interrupt preemptive occurs during context switch procedure.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@48 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-18 13:10:14 +00:00
wuyangyong 65c9d0245d add stm32 cl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@33 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-03 04:27:37 +00:00
wuyangyong eec8402f63 add net_radio_sch; chage bsp/stm32 CAN --> CAN1
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@30 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-02 12:02:23 +00:00
bernard.xiong 3e58b1940f fix the returned value of rt_serial_getc function which is reported by macroz.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@24 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-20 05:45:18 +00:00
wuyangyong 9eed317daf trunk\libcpu\arm\stm32\context_rvds.S add NOP in line 186
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@21 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-15 16:07:55 +00:00
wuyangyong e3daae01d5 trunk\libcpu\arm\stm32\fault_rvds.S add ENDP and END on the end of file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@20 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-15 15:51:12 +00:00
bernard.xiong 6a6715551e fix the serial initialization issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@16 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-03 14:00:58 +00:00
bernard.xiong 53919ba500 update lpc2478 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@10 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-29 23:39:12 +00:00
bernard.xiong 99922cdf19 import lm3s, lpc2148/lpc2478, x86/qemu, AT91SAM7S/7X, s3c44b0, STM32F103ZE bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@4 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-02 23:18:14 +00:00
bernard.xiong bda4730a94 import RT-Thread RTOS 0.3.x to Google SVN
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-02 22:48:23 +00:00