Commit Graph

654 Commits

Author SHA1 Message Date
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