Commit Graph

619 Commits

Author SHA1 Message Date
qiuyiuestc dd7cbec8d9 [mini2440]rtc clean up
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@518 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-19 17:44:24 +00:00
bernard.xiong b4bcc7b50d fix the return value issue in serial read.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@515 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-19 08:32:26 +00:00
gary.li.wenchao.4 4081527e47 fixed rx_buffer[] initialization for rt_serial_init()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@514 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-19 07:19:30 +00:00
gary.li.wenchao.4 d1fe6cff06 add functions such as GregorianDay and rt_rtc_time_to_tm
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@513 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-18 13:26:42 +00:00
bernard.xiong 8da1163675 fix GCC compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@511 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-18 09:20:04 +00:00
gary.li.wenchao.4 3c6a9775a2 remove clk_init and sdram_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@505 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-18 02:48:12 +00:00
gary.li.wenchao.4 237b400982 added lowlevel_init.S for startup code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-16 13:44:03 +00:00
gary.li.wenchao.4 e9e205a29c modified start_gcc.s, and added lowlevel_init.S to initialize sdram.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@493 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-16 13:42:05 +00:00
bernard.xiong eb685b372d add lpc17xx porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@466 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-08 23:12:08 +00:00
gary.li.wenchao.4 af58caab7c Modified start_gcc.s for mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@451 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-26 07:59:14 +00:00
gary.li.wenchao.4 ddb4e2e00c move to bsp/mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@421 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-19 00:25:17 +00:00
gary.li.wenchao.4 6370ac5f79 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@414 bbd45198-f89e-11dd-88c7-29a3b14d5316 2010-02-16 15:19:52 +00:00
gary.li.wenchao.4 b2fa3b4783 Print Calendar for mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@404 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-11 07:23:55 +00:00
gary.li.wenchao.4 66b8805283 Modified macro of RTC_ENABLE and RTC_DISABLE
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@403 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-11 02:53:43 +00:00
gary.li.wenchao.4 43907c8b79 Fixed head file of rtc.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@400 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-10 08:25:45 +00:00
qiuyiuestc da603729c9 [mini2440]add start_gcc.s for gcc version
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@385 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-07 14:48:16 +00:00
gary.li.wenchao.4 72afd7d85b Added nand_read.c for start_rvds.s
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@384 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-07 09:51:27 +00:00
gary.li.wenchao.4 e8a1b81d6d Modified start_rvds.s
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-07 09:50:39 +00:00
qiuyiuestc ef970b36a2 support gcc for mini2440 platform(not finished)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@359 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-01 15:16:05 +00:00
gary.li.wenchao.4 ce10330d80 config.inc is the configuration file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@296 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-12 13:36:55 +00:00
qiuyiuestc 6c267dc5cd update rtc driver
add webserver support

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@295 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-10 15:15:27 +00:00
aganhx@gmail.com 0d6cd9bf51 update bank4 for DM9000 (RW_NCNB)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@292 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-08 14:34:13 +00:00
fengzi.rtt 6b77e031db fix UART ISR function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@286 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-05 05:03:37 +00:00
qiuyiuestc 5d45949ec5 prepare for RT-Thread/LM3S 0.3.0 version
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@274 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-02 16:38:50 +00:00
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 2f55ad6e89 move more options to rtconfig.py
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@120 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-22 09:44:08 +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 9a7ae65085 move include path options to each component.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@113 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-20 09:18:45 +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
ssslady 4e399f6e90 fix bug in rt_hw_context_swicth
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@97 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-14 08:52:06 +00:00
ssslady 8d64046091 mix bug for datatype
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@93 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-14 05:24:30 +00:00
ssslady d555252323 修改类型定义,统一使用rt_*_t
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@80 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-09 04:16:19 +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 1d74273319 import lm3s, lpc2148/lpc2478, x86/qemu, AT91SAM7S/7X, s3c44b0, STM32F103ZE bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@3 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-02 23:17:11 +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