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
goprife@gmail.com
819fd97ff8
add source remove method
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1816 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29 03:49:14 +00:00
chaos.proton@gmail.com
b38a97572c
rtgui/widgets/notebook: get rect only when needed
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1815 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 08:01:15 +00:00
chaos.proton@gmail.com
0803e79b53
rtgui/widgets/notebook: move the bar drawing code into one place
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1814 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 07:20:14 +00:00
chaos.proton@gmail.com
09f2dc4137
example/gui: add notebook demo
...
There is notebook demo but somehow the workbench didn't show it...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1813 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 07:17:17 +00:00
chaos.proton@gmail.com
41c6c37bc7
rtgui/widgets/notebook.c: use RTGUI_NOTEBOOK_TAB_WIDTH instead of magic number
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1812 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 06:47:15 +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
chaos.proton@gmail.com
a4cff858f6
suppress mdk4.21 eol warning
...
Suppress the warning "Lines ending with an invalid line end have been detected in file ...\rtgui_object.h" by convert the whole file to unix eol.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1810 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 02:10:25 +00:00
wuyangyong
29dc6a03e0
add rtgui_event_timer_t define
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1809 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-27 09:35:52 +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
chaos.proton@gmail.com
e834b94805
rtgui_system: always detach ack_mb in rtgui_thread_send_sync
...
The old code won't detach ack_mb if error occurs. Fix it.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1807 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26 03:04:47 +00:00
chaos.proton@gmail.com
92d8465224
rtgui_system: code cleanup
...
Use rtgui_*_t instead of struct rtgui_*
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1806 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26 03:03:27 +00:00
wuyangyong
47a560b173
fixed result uninitialized issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1805 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25 07:29:11 +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
chaos.proton@gmail.com
fad2648157
components/rtgui_win: check the return value of overlapFunc
...
overlapFunc will return RTGUI_REGION_STATUS_FAILURE in some
circumstance(OOM etc), check it and return error if any thing goes
wrong. It prevents garbage values crashing the system.
Please ignore the eol diff noise.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1802 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-23 19:00:08 +00:00
bernard.xiong@gmail.com
3d21a83821
fixed rename issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1798 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22 22:32:56 +00:00
bernard.xiong@gmail.com
8b091fc74a
add drivers directory.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1797 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22 22:28:51 +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
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