Commit Graph

674 Commits

Author SHA1 Message Date
onelife.real 3f0b614ad3 *** EFM32 branch ***
Fix the bug in USART write, which is introduced by changing SPI write format

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1884 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 09:46:38 +00:00
onelife.real 10ec208306 *** EFM32 branch ***
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib): version 2.3.0 -> 2.3.2
2. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.1 -> 1.2.2
3. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.2 -> 1.7.3
4. Add LCD driver (SSD2119) and DEMO
5. Change SPI write format
6. Modify SD card driver due to SPI write format changed
7. Modify building scripts

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1883 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 07:44:29 +00:00
fengzi.rtt 8634deeb73 BSP_LM3S8962: move"#endif" to line 103 from line 106 in startup.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1881 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 04:53:32 +00:00
fengzi.rtt f8afab609a update lm4f232 startup files for PDL r8246.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1874 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 07:22:36 +00:00
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