Commit Graph

770 Commits

Author SHA1 Message Date
dzzxzz bf4de2f204 delete the non-necessary IAR project files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1873 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:56:59 +00:00
wuyangyong 16f3be93a9 fixed scons + gcc compiling error for lm3s8962 and lm3s9b96.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1872 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:35:17 +00:00
wuyangyong 696d7f6fa0 fixed scons + gcc compiling error for lm4f232.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1871 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:31:47 +00:00
wuyangyong b498aa0da6 use new srcremove.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1870 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:27:46 +00:00
wuyangyong 646c1443db update Stellaris Peripheral Driver Library to r8264.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1869 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:20:26 +00:00
wuyangyong 186a9f609b update Stellaris Peripheral Driver Library to r8264.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1867 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:59:07 +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
fengzi.rtt a97a690e18 fixed scons + keil compiling error for lm4f232
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1864 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-22 08:16:27 +00:00
dzzxzz 91c7cf4c9f refine FM3 IAR project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1862 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-22 01:11:58 +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
luohui2320@gmail.com 70a7964f2c update rtconfig.h
supporting multi-thread to access the fat file system
setting RT_LWIP_TCP_WND to 8k for improving the throughput

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1860 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 15:12:11 +00:00
dzzxzz 3a05e09c5c delete the re-defined macro
#define RT_LWIP_DNS

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1859 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 10:07:04 +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 d92e980905 fixed scons + keil compiling error for fm3/mb9bf500r
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1856 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 07:45:27 +00:00
wuyangyong dd47ccd6ca update bsp lpc2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1853 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 09:11:13 +00:00
wuyangyong cd49d73535 update bsp lpc2148.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1851 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 08:44:36 +00:00
nongli1031@gmail.com ae73bd59bc modify format
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1844 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-18 05:13:10 +00:00
nongli1031@gmail.com 08f25161d9 porting for microblaze. nl1031
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1843 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-17 04:14:22 +00:00
onelife.real 43ece86f11 *** EFM32 branch ***
Add missing folder

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1842 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-16 03:14:53 +00:00
onelife.real 3c3b3697ad *** EFM32 branch ***
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.3.0 (from version 2.2.2) 
2. Add EFM32GG-DK3750 development kit support (driver version 1.2.1) 
3. Add giant gecko (EFM32GG) support
4. Add LEUART module driver (max 9600bsp)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1839 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-16 01:05:50 +00:00
bernard.xiong@gmail.com 7dc3ec9b75 update SrcRemove function in building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1831 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-10 13:15:22 +00:00
chaos.proton@gmail.com fe3b233de4 set DMA_Configuration.DMA_BufferSize to 1
DMA_Init asserts DMA_BufferSize >=1.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1822 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-01 10:00:20 +00:00
chaos.proton@gmail.com 48d4e00ee8 clear DMA1_FLAG_TC2 in usart3 initialization
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1821 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-01 09:50:58 +00:00
fengzi.rtt@gmail.com 6cf91f04f6 fix 1732, move"#endif" to line 103 from line 106 in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1820 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-30 09:21:27 +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
fengzi.rtt@gmail.com 1b3411abde git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1817 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-11-29 08:06:46 +00:00
wuyangyong bff77ee86b update rtc driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1811 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 05:58:21 +00:00
wuyangyong 88f891066d update rtc driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1808 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26 09:52:52 +00:00
wuyangyong fbd0b064c4 update stm32f107 ethernet driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1804 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25 06:55:20 +00:00
wuyangyong 7eaac75bcb update stm32f107 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1803 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25 06:37:32 +00:00
yungchi@cs.nctu.edu.tw 336a94a15e Add SPI FRAM driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1796 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-20 18:47:31 +00:00
yungchi@cs.nctu.edu.tw 1dd92a391d Update eeprom driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1795 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-20 18:44:10 +00:00
chaos.proton@gmail.com 3efb7d5cda remove the unused key.c and rt_hw_key_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1794 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-17 11:28:27 +00:00
chaos.proton@gmail.com 22a9d6f309 revert commit 1791
That commit broke bsp/stm3210x. The cause is that we calls rtgui_system_init in rtgui_startup. But the calibration starts before rtgui_startup and rtgui_system_init. This lead to crash.

One way to deal with it is move rtgui_system_init out of rtgui_startup and call it manually. But it will affect other bsps. So just revert the "bad" commit.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1793 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-16 03:12:04 +00:00
chaos.proton@gmail.com 4e8d6639f0 bsp/stm32f10x: calibrate touch screen before starting GUI
If we do not calibrate the touch screen, GUI is unusable. This patch use a semaphore to block GUI thread until calibration finish.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1791 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 09:33:18 +00:00
chaos.proton@gmail.com 065c3fb834 fix typo in last commit...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1790 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 09:19:41 +00:00
chaos.proton@gmail.com 93104fb4fc bsp/stm32f10x/touch: return early when lost the position
Check whether finger is still on the screen. If not, we couldn't determine where the user has touched. It's better to return early rather than give garbage values.

A more sensitive solution might be caculate the position once the interrupt occured. But it's not anti-shake friendly.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1789 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 07:52:20 +00:00
chaos.proton@gmail.com 44b91706e2 bsp/stm32f10x/touch.c: better naming
Rename flag to touched_down.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1788 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 07:41:42 +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 04ab961b6f update lpc1788 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1786 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:35:28 +00:00
wuyangyong 3763021cd5 add applications (bsp lpc1788)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1785 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:28:43 +00:00
wuyangyong d246a71b91 update lpc1788 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1784 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:25:23 +00:00
chaos.proton@gmail.com f344f00278 bsp/stm32f10x/touch.c: normalize the calibrated touch position
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1783 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02 12:14:57 +00:00
chaos.proton@gmail.com e803640027 avoid divided by zero error
The old code only checks touch->max_x > touch->min_x but not touch->max_x == touch->min_x. Thus may lead to divided by zero error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1782 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02 08:58:34 +00:00
chaos.proton@gmail.com 9de3512c8a fix ads7843 data fetching
The old code forgot to drop the MSB in the very first byte retrieved from ads7843 after a control byte. This will lead to data corruption especially in 16-Clocks per conversion mode.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1781 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02 08:17:40 +00:00
wuyangyong b1531d316d update update stm32f40x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1775 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-27 02:40:15 +00:00
wuyangyong a5f688d282 update stm32f40x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1774 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-27 02:31:34 +00:00
luohui2320@gmail.com b488c4fa0a update rtconfig.py for AT91SAM9260, when using Keil MDK compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1772 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-23 09:54:20 +00:00
luohui2320@gmail.com 49ddb7e0f5 Add SDIO stack support, current only support SDSC and SDHC card
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1771 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-23 09:46:20 +00:00
bernard.xiong@gmail.com 09e826e09a add STM32F40x porting (uncompleted)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1769 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-20 23:38:20 +00:00
wuyangyong 3d9e766c86 update lpc176x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1766 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 15:07:45 +00:00
wuyangyong 2d98e4990e add lpc178x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1765 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 09:18:11 +00:00
wuyangyong 01a17f4f38 update lpc178x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1764 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 05:43:51 +00:00
wuyangyong 5de50e1422 update lpc178x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1763 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 18:04:20 +00:00
wuyangyong 53ae9bf2e1 update lpc176x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1762 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:54:59 +00:00
wuyangyong eb3ae3e3ca update LPC176X CMSIS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1760 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:39:35 +00:00
wuyangyong eb0af4e41e add lpc1788
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1759 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:15:32 +00:00
wuyangyong f9a41a9686 add sdram driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1754 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 05:06:46 +00:00
wuyangyong c17931ad60 update enc28j60 driver. thank jeames:http://www.ourdev.cn/bbs/bbs_content.jsp?bbs_sn=4974037
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1753 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 02:57:51 +00:00
wuyangyong 91806b0420 update lm3s9b9x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1751 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 02:33:54 +00:00
wuyangyong 402102457a update lm3s9b9x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1750 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 02:13:45 +00:00
bernard.xiong@gmail.com 1785791733 Change source code to UNIX end of line
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1743 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 13:23:20 +00:00
dzzxzz 0d2624313a fixed a potential issue in m16c porting:
the variable rt_thread_switch_interrupt_flag was treated as a word in interrupts.asm
but it wad defined as a byte in cpuport.c
rt_uint8_t rt_thread_switch_interrupt_flag;

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1741 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-07 03:04:15 +00:00
dzzxzz e97c87d6a0 fixed a compile error while using scons+iar for m16c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1740 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-07 03:00:12 +00:00
wuyangyong 1e712ebcdc update stm32f207 SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1735 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 06:32:07 +00:00
wuyangyong 85d57f4bee update stm32f10x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1734 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 06:13:05 +00:00
wuyangyong 9358c96e56 update stm32f107 project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1733 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 04:27:02 +00:00
qiuyiuestc@gmail.com 1d2203fce0 add rt_module_system_init in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1732 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-28 04:11:12 +00:00
wuyangyong fef0997a37 update stm32 uart driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1727 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 17:15:22 +00:00
wuyangyong 10e4847880 update stm32f107 eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1726 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 06:07:33 +00:00
wuyangyong 86b62f9026 update stm32f107 eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1725 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 03:24:39 +00:00
wuyangyong 3c0f80f2f7 update stm32 project and remove 107 eth driver from 10x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1724 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 02:51:53 +00:00
dzzxzz 2ab9a1602e fixed compiling error in lpc122x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1721 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 05:23:46 +00:00
dzzxzz 9f053f46e3 fixed compiling error in stm32f20x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1720 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 04:55:00 +00:00
yungchi@cs.nctu.edu.tw 6f6903688b add header notes
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1717 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 09:48:45 +00:00
yungchi@cs.nctu.edu.tw a5cec9ca65 Create a driver diectory
Add I2C driver and a 24LC024H i2c eeprom usage example
Now only support I2C1, not yet fully support I2C2

****GPIO Config****
I2C1 SDA -> PB8
I2C1 SCL -> PB9

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1716 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 07:50:43 +00:00
yungchi@cs.nctu.edu.tw c883902d0b git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1711 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-09-18 18:02:54 +00:00
yungchi@cs.nctu.edu.tw 210f0b879a 1. Port SD Card Driver
2. Supported RTC Clock

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1710 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-18 18:00:23 +00:00
wuyangyong 2d3028d9cf update pic32ethernet
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1709 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-16 12:24:57 +00:00
qiuyiuestc@gmail.com d0765423a2 add readme document
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1706 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-11 01:30:44 +00:00
dzzxzz 46a823ed91 improve NEC V850 porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1705 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-09 10:08:52 +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
bernard.xiong@gmail.com 6c98ecd729 fixed sys tick issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1702 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-07 15:31:18 +00:00
wuyangyong a722f6ff01 update PIC32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1700 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-06 15:52:43 +00:00
wuyangyong 0f50919f30 update PIC32 example project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1698 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 15:20:56 +00:00
dzzxzz e8a462b5c7 optimize porting for M16C
void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to);

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1688 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:25:54 +00:00
dzzxzz 61d969f1b9 merge stack.c and interrupt.c into cpuport.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1687 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:05:21 +00:00
wuyangyong cf52e57490 update pic32ethernet
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1684 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 05:38:34 +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
onelife.real 1f1c6fb47e *** EFM32 branch ***
1. Add the missing file, "mma7455l.h"
2. Modify Ethernet DEMO according to the changes of lwIP API in reversion 1668 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1680 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 04:36:33 +00:00
dzzxzz a97d7d29a2 fix scons+iar compile error in Fujistu FM3 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1679 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 02:31:35 +00:00
onelife.real 11488d143a *** EFM32 branch ***
1. Change the usage of the second parameter of Read and Write functions in IIC driver 
   - to "Slave address" from (seldom used) "Offset" 
2. Add a timer for IIC driver to prevent from forever waiting
3. Add digital (IIC) interface support for accelerometer driver (Freescale MMA7455L)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1678 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 00:59:24 +00:00
dzzxzz c834d7cdbd add display controller driver for LS1B demo board
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1672 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-17 05:43:30 +00:00
dzzxzz 922b40f614 add Loongson 1B porting
based on LS1G DEMO BOARD V1.1

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1667 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-08 09:24:44 +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 aa24c176e7 *** EFM32 branch ***
Modify IIC and USART drivers to avoid compiling error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 07:24:09 +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 a8410acdaa add stm32f2xx eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1649 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 17:06:41 +00:00
wuyangyong aeff05a873 remove old eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1648 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 17:06:29 +00:00
qiuyiuestc@gmail.com 9eed24e9de fix compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1647 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 15:29:13 +00:00
wuyangyong 446dafebad update touch.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1645 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-20 03:17:18 +00:00
andrade.manoel@gmail.com ea6e56e063 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1641 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:57:41 +00:00
andrade.manoel@gmail.com 4ed98f2d63 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1640 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:55:13 +00:00
andrade.manoel@gmail.com eaeaa71ab7 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1639 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:51:17 +00:00
wuyangyong ef90978b16 update calibration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1635 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 06:01:58 +00:00
wuyangyong 71f793e3e9 update mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1634 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 05:57:07 +00:00
bernard.xiong a30661ebc5 remove the unnecessary variable.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1630 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 05:45:43 +00:00
luohui2320@gmail.com ce5eddd0a5 initialize lwip and emac driver in the process context
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1625 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-11 14:33:55 +00:00
onelife.real 30d072eee8 *** EFM32 branch ***
1. Solve the problem mentioned in revision 1623 (runtime error) 
   - Cause: In the EFM32 demo application, some TCP/IP functions are called in non-task context (e.g. "tcp_new()"). And after revision 1621, those functions will trigger the scheduler ("rt_schedule()") which seems to be triggered only in task context. 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1624 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-11 06:16:26 +00:00
onelife.real 2156e22b3c *** EFM32 branch ***
1. Remove "RT_USING_NETUTILS" defined in "rtconfig.h" to avoid compiling error
   - Warning: Due to the memory limitation, running lwIP on Gecko devices (EFM32G) is not properly tested.
   - Warning: To test lwIP, please revert the file, "components\net\lwip\src\arch\sys_arch.c", to revision 1620. There is a runtime error when working with the latest revision of that file. This error is currently under evaluation.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1623 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 08:24:33 +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 3bc0dd4a82 fix svc stack size
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1615 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 14:48:24 +00:00
luohui2320@gmail.com 355246ba48 fix svc stack size
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1614 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 14:29:53 +00:00
Kyle.Hu.GZ@gmail.com 93b6b755bd Added scons scripts.
Rename and updated libcpu/avr32/uc3/exception.x (with .irp macro) to exception_gcc.S (without .irp macro) for better compatibility.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1613 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 10:22:15 +00:00
wuyangyong 958e18b520 add ili9325 lcd driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1612 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 08:18:58 +00:00
wuyangyong 8109f9d59c revert stm32_rom.sct
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1611 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 07:52:55 +00:00
wuyangyong b5f7c6cb44 update lcd driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1610 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 07:39:49 +00:00
dzzxzz 2224aa4de1 upload iar project files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1608 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 07:12:31 +00:00
dzzxzz 939a247aaa upload iar project files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1607 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 06:42:49 +00:00
bernard.xiong f1e3700a93 update project file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1605 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 06:29:18 +00:00
bernard.xiong cbf5ef8fa8 update project files.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1604 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 06:22:56 +00:00
dzzxzz 8381e13d1c stm32f107 branch support scons+iar compile
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1603 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 06:22:50 +00:00
bernard.xiong f2634a78ab git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1602 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-04 06:09:14 +00:00
bernard.xiong 80e7e82333 remove interrupt priority group setting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1601 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 06:00:52 +00:00
dzzxzz bf7943c94b stm32f10x branch support scons+iar compile
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1600 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 05:50:17 +00:00
Kyle.Hu.GZ@gmail.com 93e50cd8aa AVR32 branch update for AVR32 Studio 2.6 with Atmel Software Framework included.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1594 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 02:38:23 +00:00
qiuyiuestc@gmail.com 82e62b69ce update project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1590 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 23:15:43 +00:00
qiuyiuestc@gmail.com b0b50a009c update lm3s8962 project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1588 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 23:03:22 +00:00
luohui2320@gmail.com e5f52327ff support DBGU,UART0~UART3
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1587 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 15:16:06 +00:00
wuyangyong dd2a4924ae rename _system_tack_size to _system_stack_size
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1586 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 13:28:27 +00:00
wuyangyong a2470120e4 update stm32f10x gcc ld script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1585 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 13:21:32 +00:00
wuyangyong b4bc59f918 update lpc2148
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1583 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-02 15:13:39 +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
boksic@126.com d5acd9ac98 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1581 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-02 07:26:49 +00:00
wuyangyong f02f51d2e3 update lpc2148 SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1580 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 14:18:31 +00:00
bernard.xiong@gmail.com db88367667 add IAR compiler support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1578 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 13:55:49 +00:00
qiuyiuestc@gmail.com e710b83f15 use GetCurrentDir() as include path
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1577 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 13:50:54 +00:00
qiuyiuestc@gmail.com d836736bf3 use GetCurrentDir() as include path
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1576 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 13:50:16 +00:00
bernard.xiong@gmail.com 1d20e11c84 fix GNU GCC ld script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1575 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 13:29:32 +00:00
qiuyiuestc@gmail.com f0c20eb020 update SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1574 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 13:19:01 +00:00
wuyangyong 07b16c0664 update en28j60 driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1572 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 12:36:16 +00:00
wuyangyong b850320773 update en28j60 driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1571 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 12:20:50 +00:00
bernard.xiong@gmail.com 04c19da4ab add files.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1570 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 12:05:11 +00:00
bernard.xiong 4102a54d08 add file system feature.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1569 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 10:48:29 +00:00
bernard.xiong 95cb66f269 add SPI SD card driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1568 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 08:40:22 +00:00
bernard.xiong 78c9ad6377 update building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1565 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 07:47:57 +00:00
bernard.xiong 7c02e21139 use GetCurrentDir() as include path.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1564 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 05:40:55 +00:00
bernard.xiong@gmail.com 3bec3d7caf add library for STM32F2xx.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1561 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-30 23:25:17 +00:00
bernard.xiong@gmail.com b4ae6c402e add return value in rtgui_key_rx function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1560 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-30 22:55:43 +00:00
bernard.xiong@gmail.com 08240e3b8b import STM32F2xx branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1559 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-30 14:15:08 +00:00