Commit Graph

74 Commits

Author SHA1 Message Date
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
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 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 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 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 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
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 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
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 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 311e669569 fix GNU ld script issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1556 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-30 13:29:04 +00:00
wuyangyong de1f2b6b84 update stm32f10x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1534 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-23 15:24:10 +00:00
wuyangyong a8f412bca6 update stm32f10x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1517 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 15:21:44 +00:00
wuyangyong dc1079981b update STM32F10x_StdPeriph_Lib_V3.5.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1511 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 02:16:25 +00:00
wuyangyong c283975160 move stm3210 to stm32f10x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1509 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 02:14:23 +00:00