Commit Graph

1561 Commits

Author SHA1 Message Date
yungchi@cs.nctu.edu.tw a5cec9ca65 Create a driver diectory
Add I2C driver and a 24LC024H i2c eeprom usage example
Now only support I2C1, not yet fully support I2C2

****GPIO Config****
I2C1 SDA -> PB8
I2C1 SCL -> PB9

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1716 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 07:50:43 +00:00
dzzxzz c0f80bdf9a cleanup kernel code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1715 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 03:56:42 +00:00
mbbill@gmail.com fea7d02bfd update lwip1.4 for old drivers compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1714 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19 14:14:31 +00:00
dzzxzz 405678552d cleanup code in ipc.c and idle.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1713 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19 07:15:31 +00:00
dzzxzz 865c1d4df0 fix a spelling error
rt_thread_switch_interrput_flag -> rt_thread_switch_interrupt_flag

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1712 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19 04:40:50 +00:00
yungchi@cs.nctu.edu.tw c883902d0b git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1711 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-09-18 18:02:54 +00:00
yungchi@cs.nctu.edu.tw 210f0b879a 1. Port SD Card Driver
2. Supported RTC Clock

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1710 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-18 18:00:23 +00:00
wuyangyong 2d3028d9cf update pic32ethernet
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1709 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-16 12:24:57 +00:00
bernard.xiong@gmail.com e7003777e0 cleanup ipc code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1707 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-11 03:35:12 +00:00
qiuyiuestc@gmail.com d0765423a2 add readme document
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1706 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-11 01:30:44 +00:00
dzzxzz 46a823ed91 improve NEC V850 porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1705 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-09 10:08:52 +00:00
dzzxzz f7d1ca323b fixed a spelling error
rt_thread_switch_interrput_flag -> rt_thread_switch_interrupt_flag

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1704 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-09 07:30:39 +00:00
bernard.xiong 9fce2db27e fixed the scheduling issue in rt_thread_startup; changed the end of line to UNIX style.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1703 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-08 02:17:18 +00:00
bernard.xiong@gmail.com 6c98ecd729 fixed sys tick issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1702 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-07 15:31:18 +00:00
bernard.xiong 5aaa2b190c do a scheduling when start a thread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1701 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-07 06:07:15 +00:00
wuyangyong a722f6ff01 update PIC32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1700 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-06 15:52:43 +00:00
wuyangyong 34d2f9de38 fix spelling errors
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1699 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-06 15:50:38 +00:00
wuyangyong 0f50919f30 update PIC32 example project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1698 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 15:20:56 +00:00
wuyangyong 40ad880bdd merge all of C source code into cpuport.c. (PIC32)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1697 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 15:17:57 +00:00
wuyangyong ce9d476787 add exceptions.c for pic32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1696 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 15:06:31 +00:00
wuyangyong 0a3eeb9f0a fix context bug(flag not clean)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1695 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 15:06:14 +00:00
bernard.xiong@gmail.com 446db862dd fixed allocate node failed issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1694 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 11:17:22 +00:00
bernard.xiong@gmail.com 2fe93c9224 fixed lwip accept issue, if this connection has been deleted; added list_tcps function in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1693 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-04 08:29:14 +00:00
wuyangyong 694a78f154 add const for fsymtab and vsymtab
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1692 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-02 10:54:01 +00:00
dzzxzz 55a2684e56 improve the renesas M16C porting
it can be worked in NORMAL or SIMPLE calling convention
and in all the optimize level(none, low, medium, high)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1691 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-02 06:56:22 +00:00
bernard.xiong b69ec549ec add reporter.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1690 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 09:33:03 +00:00
bernard.xiong ed87391097 fixed rt_thread_exit issue if the current thread has been preempted.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1689 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 09:26:45 +00:00
dzzxzz e8a462b5c7 optimize porting for M16C
void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to);

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1688 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:25:54 +00:00
dzzxzz 61d969f1b9 merge stack.c and interrupt.c into cpuport.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1687 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:05:21 +00:00
bernard.xiong@gmail.com a4efc927e2 remove errno in minilibc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1686 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 06:24:05 +00:00
bernard.xiong@gmail.com 445f8de91d move assert.h to RT_USING_NEWLIB
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1685 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 06:21:01 +00:00
wuyangyong cf52e57490 update pic32ethernet
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1684 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 05:38:34 +00:00
dzzxzz c41b9c2950 fix a compile warning
Warning[w6]: Type conflict for external/entry "list", in module symbol against external/entry in module cmd; function return types are different; different basic types 


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1683 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-29 03:31:39 +00:00
bernard.xiong@gmail.com 472cc9334a add errno implementation in RT-Thread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1682 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-28 15:57:10 +00:00
luohui2320@gmail.com da74af2347 AT91SAM9260 branch
1. Support Keil MDK development environment
2. Modify EMAC driver according to the changes of lwIP API in reversion 1668 and 1669

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1681 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 14:48:10 +00:00
onelife.real 1f1c6fb47e *** EFM32 branch ***
1. Add the missing file, "mma7455l.h"
2. Modify Ethernet DEMO according to the changes of lwIP API in reversion 1668 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1680 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 04:36:33 +00:00
dzzxzz a97d7d29a2 fix scons+iar compile error in Fujistu FM3 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1679 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 02:31:35 +00:00
onelife.real 11488d143a *** EFM32 branch ***
1. Change the usage of the second parameter of Read and Write functions in IIC driver 
   - to "Slave address" from (seldom used) "Offset" 
2. Add a timer for IIC driver to prevent from forever waiting
3. Add digital (IIC) interface support for accelerometer driver (Freescale MMA7455L)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1678 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 00:59:24 +00:00
mbbill@gmail.com da55b1857f add static to function declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1677 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-22 13:49:46 +00:00
iamyhw@gmail.com 2f0f2068b9 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1676 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-08-22 03:44:57 +00:00
iamyhw@gmail.com 825a978c75 dc_hw draw_point cross check.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1675 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-22 03:31:29 +00:00
bernard.xiong@gmail.com 3dcb78d3e0 optimize netio code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1674 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-20 14:34:05 +00:00
bernard.xiong e1e75c4572 fixed Chinese font issue; fixed keyboard event handler issue in list widgets.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1673 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-17 08:23:59 +00:00
dzzxzz c834d7cdbd add display controller driver for LS1B demo board
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1672 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-17 05:43:30 +00:00
bernard.xiong 2e6e01550e fixed hz font derefer issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1671 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-16 08:19:57 +00:00
qiuyiuestc@gmail.com a8f51bf63a fix compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1670 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-15 14:05:41 +00:00
bernard.xiong@gmail.com 2bc131f3a9 add eth_device_linkchange function on ethnet interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1669 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-14 12:56:30 +00:00
bernard.xiong 5a825fd81a use tcpip_init_done_callback to initialize lwip stack.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1668 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-11 10:05:37 +00:00
dzzxzz 922b40f614 add Loongson 1B porting
based on LS1G DEMO BOARD V1.1

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1667 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-08 09:24:44 +00:00
magicoe@163.com a39d7f73ad 2011.08.07 Magicoe Added PK40X256VLQ100
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1666 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-07 04:26:49 +00:00