Commit Graph

165 Commits

Author SHA1 Message Date
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 5b063d3030 fix interrupt repeat bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1633 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 04:16:21 +00:00
bernard.xiong 1b9e80dc70 add thumb mode support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1629 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 05:44:38 +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
Kyle.Hu.GZ@gmail.com 93b6b755bd Added scons scripts.
Rename and updated libcpu/avr32/uc3/exception.x (with .irp macro) to exception_gcc.S (without .irp macro) for better compatibility.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1613 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 10:22:15 +00:00
Kyle.Hu.GZ@gmail.com 93e50cd8aa AVR32 branch update for AVR32 Studio 2.6 with Atmel Software Framework included.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1594 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 02:38:23 +00:00
qiuyiuestc@gmail.com 4868f0f079 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1589 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-03 23:08:31 +00:00
wuyangyong 518bdc44b2 update lpc2148 startup_gcc.S
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1584 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-02 15:16:11 +00:00
dzzxzz 903ee8b425 FM3 support GCC compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1582 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-02 08:03:25 +00:00
dzzxzz 5a72253a71 update FM3
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1579 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 14:13:16 +00:00
luohui2320@gmail.com 21f8faf0f5 support gpio interrupt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1540 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-26 15:18:17 +00:00
luohui2320@gmail.com 1586a43f6c support gpio interrupt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1539 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-26 15:09:26 +00:00
onelife.real 69ad018bc0 *** EFM32 branch ***
1. Add SD card driver (SPI mode)
2. Add ELM ChaN FatFs support (Please read "Readme.txt")
   - Warning: FatFs is really FAT! (35KB)
3. Upgrade EFM32 libraries (CMSIS and efm32lib) to version 2.0.0
4. Merge all of the C source code in "libcpu\arm\cortex-m3\" into "cpuport.c"
5. Merge all of the assembly source code in "libcpu\arm\cortex-m3\" into "context_gcc.S" (except "start_gcc.S")

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1525 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-20 01:56:28 +00:00
qiuyiuestc@gmail.com 1eca19cb01 eliminate compile warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1524 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-19 02:47:51 +00:00
wuyangyong aa31ef7377 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1516 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-06-15 15:14:22 +00:00
dzzxzz 12d72dd67a update Fujitsu MB9BF506R project
add nandflash device driver
support RT-Thread DFS

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1515 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 08:48:11 +00:00
wuyangyong 1a734fe2f4 update lpc2148
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1514 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 04:02:11 +00:00
bernard.xiong@gmail.com ba62388fca update stm32 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1507 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 00:36:11 +00:00
bernard.xiong@gmail.com 39d549ed72 update stm32 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1506 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 00:30:35 +00:00
dzzxzz e8d7220682 update Fujitsu FM3 projects
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1487 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-11 04:31:00 +00:00
mbbill@gmail.com 0587549c43 start_gcc.s fix: disable interrupt in svc mode, add rw,bss init code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1481 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:52:44 +00:00
wuyangyong 782bdd479a update pic32 port
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1478 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:51:02 +00:00
luohui2320@gmail.com b936b13ed2 fix rt_hw_interrupt_install bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1453 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-05 11:34:18 +00:00
bernard.xiong@gmail.com df69843bd3 change end of line to UNIX format.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1451 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04 13:31:42 +00:00
qiuyiuestc@gmail.com dd2df385e2 fix rt_hw_interrupt_install bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1447 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-03 11:32:08 +00:00
wuyangyong 2f70bf9573 add pic32 port
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1432 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-24 02:23:54 +00:00
dzzxzz@gmail.com 0050c8b708 add new port for FUJITSU FSSDC-9B506-EVB v1.0
finsh are supported

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1419 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-19 09:45:26 +00:00
wuyangyong c98fd0226f fix Nios II rt_hw_context_switch_interrupt bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1396 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-06 15:25:31 +00:00
qiuyiuestc@gmail.com ee318bb0c1 fix micro define error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1380 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-18 01:16:58 +00:00
luohui2320@gmail.com c84fc53783 add at91sam926x porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1364 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-05 12:49:01 +00:00
bernard.xiong ced8915d64 fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1339 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-21 07:40:54 +00:00
bernard.xiong b5fbd46776 add GNU GCC support in LPC2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1333 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-17 09:14:38 +00:00
dzzxzz 6221cdfec6 fixed KEIL project of Fujitsu FM3 Easy Kit compiling error
avoid to include C:\Keil\ARM\RV31\INC\core_cm3.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1299 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-03 03:43:58 +00:00
bernard.xiong@gmail.com 91577f186e Add fm3 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1297 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-02 13:05:26 +00:00
onelife.real@gmail.com cabc797a2d *** EFM32 branch ***
1. Update the copyright information
 - 2009 => 2011
2. Add external oscillator configuration routine in "rt_hw_board_init()"
 - Before, it is set by default frequency, 32MHz
 - Now it can be set by user specified frequency
3. Add ADC and ACMP (analog comparator) drivers
4. Clarify the MCU and target board define in "rtconfig.py"

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1296 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-28 04:47:50 +00:00
dennis.zhang.os@gmail.com c217af8061 add sep4020.h (register address )
modify serial.c serial.h and clk.c (for compatibility with sep4020.h) 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1294 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-27 13:31:59 +00:00
wuyangyong 664a1345cf update Nios II
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1281 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-19 19:25:05 +00:00
onelife.real 314bcbd3ea *** EFM32 branch ***
- New branch for Energy Micro's MCUs (http://energymicro.com/).
 - Target board: FM32 Gecko Starter Kit (http://www.energymicro.com/tools)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1274 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-17 03:33:15 +00:00
wuyangyong d128ba9169 add nios
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1273 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-16 15:49:53 +00:00
dzzxzz fac560d432 add context_iar.S for SCONS
actually context_iar.S is the same as context_iar.asm
but context_iar.S is used for SCONS, and context_iar.asm is used for IAR

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1272 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-16 13:47:44 +00:00
dzzxzz 29db3e3295 get ready for SCONS
change the m16c assembly extension from s34 to asm
move the m16c porting files to m16c62p directory


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1270 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-16 13:29:09 +00:00
bernard.xiong@gmail.com 6bcf028cc2 fix gcc compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1265 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-30 01:55:24 +00:00
bernard.xiong@gmail.com 981d15812b fix gcc compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1264 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-26 08:40:22 +00:00
magicoe@163.com eb5e940df5 added bsp/lpc122x & libcpu/arm/lpc122x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1234 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 06:23:40 +00:00
wuyangyong f18a82d59b fix pendsv priority set reverse bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1218 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-20 13:41:56 +00:00
wuyangyong 27ad56b8d2 port lpc176x for IAR
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-20 12:51:52 +00:00
mbbill 7cdd2849a7 Bugfix: redundant * before "old_handler" is removed.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1182 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-08 15:02:55 +00:00
bernard.xiong 6a6d49f52d remove RTC_DEBUG definition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1157 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 07:02:09 +00:00
wuyangyong 1e5518ee84 update lpc2148 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1148 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 18:20:11 +00:00
bernard.xiong 5a4d618832 rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1133 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 07:47:47 +00:00