Commit Graph

607 Commits

Author SHA1 Message Date
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
wuyangyong 9358c96e56 update stm32f107 project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1733 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 04:27:02 +00:00
qiuyiuestc@gmail.com 1d2203fce0 add rt_module_system_init in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1732 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-28 04:11:12 +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 10e4847880 update stm32f107 eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1726 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 06:07:33 +00:00
wuyangyong 86b62f9026 update stm32f107 eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1725 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 03:24:39 +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
dzzxzz 2ab9a1602e fixed compiling error in lpc122x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1721 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 05:23:46 +00:00
dzzxzz 9f053f46e3 fixed compiling error in stm32f20x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1720 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 04:55:00 +00:00
yungchi@cs.nctu.edu.tw 6f6903688b add header notes
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1717 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 09:48:45 +00:00
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
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
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@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
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 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
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
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
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
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
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
onelife.real aa24c176e7 *** EFM32 branch ***
Modify IIC and USART drivers to avoid compiling error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 07:24:09 +00:00
onelife.real 19e3ce5ee3 *** EFM32 branch ***
1. Add interrupt context check function (context_gcc.S)
2. Add lock (semaphore) for IIC, USART and Ethernet drivers to prevent simultaneously access
3. Add multiple channels support for scan mode of ADC driver
4. Modify miscellaneous drivers according to ADC driver changes
5. Add SWO output enable function (board.c)
6. Disable all interrupts in GPIO interrupt handler (hdl_interrupt.c)
7. Add two Ethernet utility functions (drv_ethernet.c)
8. Add accelerometer driver (analog output)
9. Add accelerometer demo (draft, application.c)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1654 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 02:47:37 +00:00
wuyangyong a8410acdaa add stm32f2xx eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1649 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 17:06:41 +00:00
wuyangyong aeff05a873 remove old eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1648 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 17:06:29 +00:00
qiuyiuestc@gmail.com 9eed24e9de fix compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1647 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 15:29:13 +00:00
wuyangyong 446dafebad update touch.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1645 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-20 03:17:18 +00:00
andrade.manoel@gmail.com ea6e56e063 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1641 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:57:41 +00:00
andrade.manoel@gmail.com 4ed98f2d63 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1640 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:55:13 +00:00
andrade.manoel@gmail.com eaeaa71ab7 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1639 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:51:17 +00:00
wuyangyong ef90978b16 update calibration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1635 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 06:01:58 +00:00
wuyangyong 71f793e3e9 update mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1634 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 05:57:07 +00:00
bernard.xiong a30661ebc5 remove the unnecessary variable.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1630 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 05:45:43 +00:00
luohui2320@gmail.com ce5eddd0a5 initialize lwip and emac driver in the process context
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1625 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-11 14:33:55 +00:00
onelife.real 30d072eee8 *** EFM32 branch ***
1. Solve the problem mentioned in revision 1623 (runtime error) 
   - Cause: In the EFM32 demo application, some TCP/IP functions are called in non-task context (e.g. "tcp_new()"). And after revision 1621, those functions will trigger the scheduler ("rt_schedule()") which seems to be triggered only in task context. 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1624 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-11 06:16:26 +00:00
onelife.real 2156e22b3c *** EFM32 branch ***
1. Remove "RT_USING_NETUTILS" defined in "rtconfig.h" to avoid compiling error
   - Warning: Due to the memory limitation, running lwIP on Gecko devices (EFM32G) is not properly tested.
   - Warning: To test lwIP, please revert the file, "components\net\lwip\src\arch\sys_arch.c", to revision 1620. There is a runtime error when working with the latest revision of that file. This error is currently under evaluation.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1623 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 08:24:33 +00:00
onelife.real ef6bbc34fa *** EFM32 branch ***
1. Add ENC28J60 Ethernet controller driver 
2. Add lwIP support (Please read "Readme.txt")
3. Add simple Http server demo application
4. Modify USART device write function to avoid sleep in ISR
5. Fix a bug in USART driver when using compiler optimization
6. Modify to make use the start-up code in libraries
7. Change the default build option for squeezing the executable file size
8. Modify source code alignment

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1622 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 07:13:20 +00:00
qiuyiuestc@gmail.com 3bc0dd4a82 fix svc stack size
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1615 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 14:48:24 +00:00
luohui2320@gmail.com 355246ba48 fix svc stack size
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1614 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 14:29:53 +00:00