Commit Graph

1733 Commits

Author SHA1 Message Date
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 f8bbcf9aef if --target is set, adjust CROSS_TOOL and PLATFORM automatically
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1792 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-09 02:42:48 +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
chaos.proton@gmail.com 4f62f6e568 fix typo in examples/gui/demo_workbench.c
use RT_USING_FINSH micro to decide whether to compile FINSH functions or not.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1780 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-01 01:52:04 +00:00
bernard.xiong@gmail.com 6aa93f460a fixed file name with Chinese encoding issue, which is merged from chaos.proton@gmail.com.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1779 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30 00:44:18 +00:00
bernard.xiong@gmail.com 7b6f018f73 change the end of line to UNIX style.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1778 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30 00:38:44 +00:00
bernard.xiong@gmail.com cc66f2dee6 clean up comments from chaos.proton@gmail.com.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1777 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30 00:37:15 +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 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
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
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 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
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
yungchi@cs.nctu.edu.tw cba5eb60f8 use DFS_STATUS_EINVAL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 15:49:55 +00:00
yungchi@cs.nctu.edu.tw f66dafe7a6 fix lseek underflow problem
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1767 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 11:33:30 +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 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
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
qiuyiuestc@gmail.com 1e06bb2726 fix compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1755 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 13:17:54 +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
qiuyiuestc@gmail.com 6ab04c6746 fix armcc compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1749 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-10 23:14:54 +00:00
bernard.xiong@gmail.com 50b5e18dce fixed newlib building script error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1748 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-10 12:45:38 +00:00
wuyangyong 7af3914228 add calculate_speed_print for device_test
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1747 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-09 16:14:45 +00:00
bernard.xiong@gmail.com b2f9217686 change to UNIX end of line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1746 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:50:08 +00:00
bernard.xiong@gmail.com 9278fe2a8c change to UNIX end of line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1745 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:46:07 +00:00
bernard.xiong@gmail.com 947ec32efe fixed statfs issue in elmfs porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1744 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 13:25:21 +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
bernard.xiong@gmail.com 73a117039f add newlib compiler depend
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1742 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 13:02:22 +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