Commit Graph

482 Commits

Author SHA1 Message Date
aozima 29a3ae4368 update sep4020: Modify the interrupt interface implementations. 2013-03-31 17:32:04 +08:00
aozima fbc1b05dd8 update mini2440: Modify the interrupt interface implementations. 2013-03-31 17:30:30 +08:00
Bernard Xiong 608074deaf update to interrupt description 2013-03-30 08:15:27 +08:00
Bernard Xiong bb72be94b2 code cleanup for interrupt description 2013-03-26 08:52:33 +08:00
weety 5639c5daed implement __rt_ffs for armv5 2013-03-24 16:03:23 +08:00
Bernard Xiong 1abaa0492d implement __rt_ffs in kernel service library 2013-03-23 11:27:29 +08:00
weety 7917cf09e7 remain the old handler to keep forward compatibility 2013-03-19 11:25:46 +08:00
weety 9678ee67e9 Modified the interrupt function comments 2013-03-19 11:25:33 +08:00
weety b21028474b Modify the interrupt interface implementations, changes in the part of the parameter definition. 2013-03-19 11:25:12 +08:00
aozima d80888a194 port stm32f0x to gcc. 2013-02-20 22:03:31 +08:00
Bernard Xiong 72782e9203 convert end of line 2013-01-08 05:05:02 -08:00
Ubuntu ecd66612cf remove lpc122x because there is a common cortex-m0 porting. 2013-01-04 06:03:03 -08:00
bernard.xiong@gmail.com 68fadd9edc Add exception hook function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2551 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 09:36:16 +00:00
dzzxzz@gmail.com 468ade5e98 fixed the coding style in libcpu/arm
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2518 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 06:59:14 +00:00
dzzxzz@gmail.com f6629a1e4c rename the file name using low case
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2514 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:50:42 +00:00
dzzxzz@gmail.com eab30ebbda fixed the fixed the gcc compiling error in ubuntu host OS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2512 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:34:04 +00:00
wuyangyong 5be0c53dd8 stack addr align to 8byte.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2509 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-23 07:40:31 +00:00
dzzxzz@gmail.com 2955dbfcda add LPC4330 BSP based on NGX xplorer development board
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2487 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17 08:21:29 +00:00
bernard.xiong 6ae9a5d95c revert wrongly commit.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2408 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 08:10:23 +00:00
bernard.xiong f78a50883b remove nuc1xx because there is a cortex-m0 branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2407 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 07:59:28 +00:00
bernard.xiong ec0cb881d8 remove lpc1100 because there is a cortex-m0 branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2406 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 07:56:40 +00:00
wuyangyong 056228cce6 fixed bug: store r8 - r11.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2258 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-22 15:53:54 +00:00
iamyhw@gmail.com 4455768b92 fixed s3c2440a context thread bug,patch contributor
:yuxun2k

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2192 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-28 14:04:20 +00:00
wuyangyong a9aa8d503e add libcpu/cortex-m0.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2142 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-31 17:41:58 +00:00
wuyangyong 04a79d24cf fix extern list_thread return type by arda.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2104 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-29 02:11:40 +00:00
bernard.xiong@gmail.com 090553f768 delete PK40X256VLQ100 branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2081 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 05:04:30 +00:00
luohui2320@gmail.com 8d4938ae70 delete libcpu/arm/at91sam926x/rt_list.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2008 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-23 15:07:21 +00:00
wuyangyong 38ba67a867 update libcpu cortex-m4.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1967 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 17:46:08 +00:00
wuyangyong 7906287cfe IAR not support VSTMFD and VLDMFD, use VSTMDB and VLDMIA.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1947 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 03:45:50 +00:00
dzzxzz@gmail.com 645260a1c9 fixed a compiling error while not defined RT_USING_FINSH
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1906 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-03 09:08:47 +00:00
wuyangyong aad32f8546 support context switch load/store FPU register.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1901 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 20:25:44 +00:00
wuyangyong 1097104c7f fixed stack align issues.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1900 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 20:21:46 +00:00
bernard.xiong@gmail.com 3df72cc21f update file header.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1891 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 04:08:12 +00:00
wuyangyong 701df33436 remove libcpu/arm/lm3s libcpu/arm/lpc176x , update bsp lm3s lpc176x.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1865 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 01:36:10 +00:00
dzzxzz d6892fb441 all FM3 cortex-m3 branches using /libcpu/arm/cortex-m3 instead of /libcpu/arm/fm3
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1861 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-22 00:46:34 +00:00
dzzxzz 8b64d24bd4 all STM32 cortex-m3 branches using /libcpu/arm/cortex-m3 instead of /libcpu/arm/stm32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1858 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 09:44:52 +00:00
dzzxzz 9c8398a10b fixed scons + IAR compiling error for stm32f107
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1855 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 07:20:51 +00:00
wuyangyong 2622f51496 add thumb mode porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1854 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 16:06:20 +00:00
wuyangyong f1b07348c2 update libcpu lpc2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1852 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 09:03:46 +00:00
wuyangyong c808894735 update libcpu lpc2148.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1850 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 08:45:01 +00:00
bernard.xiong@gmail.com 462cfdc3e0 add fatal event handler in ARM7TDMI.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1819 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29 10:17:51 +00:00
onelife.real ed9828226a *** EFM32 branch ***
1. Move file, "start_gcc.S", from "libcpu/arm/cortex-m3/" to "bsp/efm32/" 
2. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.2.2 
3. Upgrade EFM32 G2xx development kit drivers (EFM32_Gxxx_DK) to version 1.7.2 (from version 1.6.0) 
4. Modify the files ("drv_usart.c" and "drv_iic.c") according to the driver libraries upgrading 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1818 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29 09:15:10 +00:00
bernard.xiong e7eaf16bf4 fixed object name copy bug; update AT91SAM7S64 branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1787 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 04:06:12 +00:00
wuyangyong 8c54e1c47b update cortex-m3 libcpu
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1776 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-28 13:19:30 +00:00
wuyangyong 8e7398e010 update cortex-M4 libcpu
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1773 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-27 02:30:47 +00:00
bernard.xiong@gmail.com 3ac0b7b966 add STM32F40x porting (uncompleted)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1770 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-20 23:55:08 +00:00
wuyangyong 06e810dfe8 update lpc17xx libcpu
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1761 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:54:23 +00:00
dzzxzz 865c1d4df0 fix a spelling error
rt_thread_switch_interrput_flag -> rt_thread_switch_interrupt_flag

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1712 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19 04:40:50 +00:00
dzzxzz f7d1ca323b fixed a spelling error
rt_thread_switch_interrput_flag -> rt_thread_switch_interrupt_flag

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1704 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-09 07:30:39 +00:00
luohui2320@gmail.com da74af2347 AT91SAM9260 branch
1. Support Keil MDK development environment
2. Modify EMAC driver according to the changes of lwIP API in reversion 1668 and 1669

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1681 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 14:48:10 +00:00
magicoe@163.com a39d7f73ad 2011.08.07 Magicoe Added PK40X256VLQ100
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1666 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-07 04:26:49 +00:00
onelife.real 19e3ce5ee3 *** EFM32 branch ***
1. Add interrupt context check function (context_gcc.S)
2. Add lock (semaphore) for IIC, USART and Ethernet drivers to prevent simultaneously access
3. Add multiple channels support for scan mode of ADC driver
4. Modify miscellaneous drivers according to ADC driver changes
5. Add SWO output enable function (board.c)
6. Disable all interrupts in GPIO interrupt handler (hdl_interrupt.c)
7. Add two Ethernet utility functions (drv_ethernet.c)
8. Add accelerometer driver (analog output)
9. Add accelerometer demo (draft, application.c)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1654 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 02:47:37 +00:00
wuyangyong 5b063d3030 fix interrupt repeat bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1633 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 04:16:21 +00:00
bernard.xiong 1b9e80dc70 add thumb mode support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1629 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 05:44:38 +00:00
onelife.real ef6bbc34fa *** EFM32 branch ***
1. Add ENC28J60 Ethernet controller driver 
2. Add lwIP support (Please read "Readme.txt")
3. Add simple Http server demo application
4. Modify USART device write function to avoid sleep in ISR
5. Fix a bug in USART driver when using compiler optimization
6. Modify to make use the start-up code in libraries
7. Change the default build option for squeezing the executable file size
8. Modify source code alignment

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1622 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 07:13:20 +00:00
qiuyiuestc@gmail.com 4868f0f079 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1589 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-03 23:08:31 +00:00
wuyangyong 518bdc44b2 update lpc2148 startup_gcc.S
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1584 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-02 15:16:11 +00:00
dzzxzz 903ee8b425 FM3 support GCC compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1582 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-02 08:03:25 +00:00
dzzxzz 5a72253a71 update FM3
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1579 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 14:13:16 +00:00
luohui2320@gmail.com 21f8faf0f5 support gpio interrupt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1540 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-26 15:18:17 +00:00
luohui2320@gmail.com 1586a43f6c support gpio interrupt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1539 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-26 15:09:26 +00:00
onelife.real 69ad018bc0 *** EFM32 branch ***
1. Add SD card driver (SPI mode)
2. Add ELM ChaN FatFs support (Please read "Readme.txt")
   - Warning: FatFs is really FAT! (35KB)
3. Upgrade EFM32 libraries (CMSIS and efm32lib) to version 2.0.0
4. Merge all of the C source code in "libcpu\arm\cortex-m3\" into "cpuport.c"
5. Merge all of the assembly source code in "libcpu\arm\cortex-m3\" into "context_gcc.S" (except "start_gcc.S")

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1525 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-20 01:56:28 +00:00
qiuyiuestc@gmail.com 1eca19cb01 eliminate compile warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1524 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-19 02:47:51 +00:00
wuyangyong aa31ef7377 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1516 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-06-15 15:14:22 +00:00
dzzxzz 12d72dd67a update Fujitsu MB9BF506R project
add nandflash device driver
support RT-Thread DFS

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1515 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 08:48:11 +00:00
wuyangyong 1a734fe2f4 update lpc2148
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1514 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 04:02:11 +00:00
bernard.xiong@gmail.com ba62388fca update stm32 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1507 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 00:36:11 +00:00
bernard.xiong@gmail.com 39d549ed72 update stm32 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1506 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 00:30:35 +00:00
dzzxzz e8d7220682 update Fujitsu FM3 projects
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1487 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-11 04:31:00 +00:00
mbbill@gmail.com 0587549c43 start_gcc.s fix: disable interrupt in svc mode, add rw,bss init code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1481 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:52:44 +00:00
luohui2320@gmail.com b936b13ed2 fix rt_hw_interrupt_install bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1453 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-05 11:34:18 +00:00
bernard.xiong@gmail.com df69843bd3 change end of line to UNIX format.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1451 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04 13:31:42 +00:00
qiuyiuestc@gmail.com dd2df385e2 fix rt_hw_interrupt_install bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1447 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-03 11:32:08 +00:00
dzzxzz@gmail.com 0050c8b708 add new port for FUJITSU FSSDC-9B506-EVB v1.0
finsh are supported

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1419 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-19 09:45:26 +00:00
qiuyiuestc@gmail.com ee318bb0c1 fix micro define error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1380 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-18 01:16:58 +00:00
luohui2320@gmail.com c84fc53783 add at91sam926x porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1364 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-05 12:49:01 +00:00
bernard.xiong ced8915d64 fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1339 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-21 07:40:54 +00:00
bernard.xiong b5fbd46776 add GNU GCC support in LPC2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1333 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-17 09:14:38 +00:00
dzzxzz 6221cdfec6 fixed KEIL project of Fujitsu FM3 Easy Kit compiling error
avoid to include C:\Keil\ARM\RV31\INC\core_cm3.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1299 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-03 03:43:58 +00:00
bernard.xiong@gmail.com 91577f186e Add fm3 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1297 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-02 13:05:26 +00:00
onelife.real@gmail.com cabc797a2d *** EFM32 branch ***
1. Update the copyright information
 - 2009 => 2011
2. Add external oscillator configuration routine in "rt_hw_board_init()"
 - Before, it is set by default frequency, 32MHz
 - Now it can be set by user specified frequency
3. Add ADC and ACMP (analog comparator) drivers
4. Clarify the MCU and target board define in "rtconfig.py"

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1296 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-28 04:47:50 +00:00
dennis.zhang.os@gmail.com c217af8061 add sep4020.h (register address )
modify serial.c serial.h and clk.c (for compatibility with sep4020.h) 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1294 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-27 13:31:59 +00:00
onelife.real 314bcbd3ea *** EFM32 branch ***
- New branch for Energy Micro's MCUs (http://energymicro.com/).
 - Target board: FM32 Gecko Starter Kit (http://www.energymicro.com/tools)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1274 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-17 03:33:15 +00:00
bernard.xiong@gmail.com 6bcf028cc2 fix gcc compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1265 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-30 01:55:24 +00:00
bernard.xiong@gmail.com 981d15812b fix gcc compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1264 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-26 08:40:22 +00:00
magicoe@163.com eb5e940df5 added bsp/lpc122x & libcpu/arm/lpc122x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1234 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 06:23:40 +00:00
wuyangyong f18a82d59b fix pendsv priority set reverse bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1218 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-20 13:41:56 +00:00
wuyangyong 27ad56b8d2 port lpc176x for IAR
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-20 12:51:52 +00:00
mbbill 7cdd2849a7 Bugfix: redundant * before "old_handler" is removed.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1182 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-08 15:02:55 +00:00
bernard.xiong 6a6d49f52d remove RTC_DEBUG definition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1157 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 07:02:09 +00:00
wuyangyong 1e5518ee84 update lpc2148 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1148 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 18:20:11 +00:00
bernard.xiong 5a4d618832 rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1133 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 07:47:47 +00:00
wangjiyang 08668dc481 wangjiyang added bsp/evb4020 & modified libcpu/arm/sep4020
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1128 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-28 08:11:24 +00:00
wuyangyong c7f84202bc fix pendsv priority set by phoenix
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1126 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-28 07:07:41 +00:00
bernard.xiong@gmail.com b7e611c0a5 update RTC driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1094 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 14:50:45 +00:00
bernard.xiong e91e82d166 remove usr mode stack setting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1033 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-29 05:59:11 +00:00
bernard.xiong ad3d42106a Improve the Device File System of the POSIX compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1017 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 08:20:42 +00:00
qiuyiuestc 809f8c5fd3 fix MMU table overwrite issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1007 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-10 11:50:44 +00:00
qiuyiuestc 2ef68fcee8 clean up code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@940 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-24 00:51:03 +00:00
qiuyiuestc 160474c997 clean up code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@909 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:18:05 +00:00
bernard.xiong@gmail.com c2507af6bc add Nuvoton Cortex-M0 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@877 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-22 23:22:01 +00:00
bernard.xiong 7f5d09c929 fix compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@821 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-03 08:45:58 +00:00
qiuyiuestc b3207276bd small change
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@820 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-01 23:25:41 +00:00
qiuyiuestc fd12462d57 fix serial issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@801 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 00:50:35 +00:00
qiuyiuestc d9f797aac3 fix mmu issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@799 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 00:47:42 +00:00
zchongnari@gmail.com 69466590ff bug fixed for optimization
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@789 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-13 07:23:57 +00:00
zchongnari@gmail.com 360095ecb1 add sep4020 porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@776 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-26 03:47:03 +00:00
bernard.xiong 0df924ddaa fix the include file error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@759 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-04 07:46:48 +00:00
qiuyiuestc ea6e5155ef fix running fail problem using armcc O2 opinion
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@751 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-30 09:56:19 +00:00
bernard.xiong@gmail.com 3e8fb96c62 Remove duplicated file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@750 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 23:00:02 +00:00
qiuyiuestc 0c5f6cd9b0 change name from clock.c to system_clock.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@746 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 14:53:06 +00:00
qiuyiuestc b86a460114 remove warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@745 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 14:26:33 +00:00
bernard.xiong d39175daa9 update CM0 context switch code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@679 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-28 23:06:37 +00:00
bernard.xiong 99bfaf72d9 modify building script for components.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@642 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 22:16:50 +00:00
bernard.xiong 706fc1daba remove start_rvds.s
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@591 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-07 07:10:54 +00:00
bernard.xiong f727b165bc change filename for linux
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@588 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-07 06:17:47 +00:00
bernard.xiong 9294a611f5 add LPC11xx Cortex-M0 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@583 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-06 10:00:28 +00:00
bernard.xiong e8449b0f67 remove interrupt Tx and DMA Rx mode in USART.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@556 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-29 16:22:08 +00:00
qiuyiuestc 7606f6d952 [mini2440]fix list_date problem
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@535 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-24 13:37:20 +00:00
bernard.xiong 1886174d46 change file name for compiling under Linux
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@531 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-24 05:16:28 +00:00
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 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 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