Commit Graph

2733 Commits

Author SHA1 Message Date
Bernard Xiong f837ea41b1 Add component initialization define in rtdef.h 2013-06-23 07:40:23 +08:00
aozima 0633e9853c update iar.py: fixed bug when path is absolute. 2013-06-22 23:22:30 +08:00
Bernard Xiong bde2e918da Merge pull request #108 from aozima/pulls
回收main函数所用的栈空间
2013-06-22 08:00:15 -07:00
aozima a2ff85c03f update libcpu/arm/cortex-m0: restore MSP. 2013-06-22 18:59:51 +08:00
aozima 4d421cad73 update libcpu/arm/cortex-m3: restore MSP. 2013-06-22 18:59:50 +08:00
aozima f9e673354a update libcpu/arm/cortex-m4: restore MSP. 2013-06-22 18:59:49 +08:00
Bernard Xiong bee9103eaf Merge pull request #110 from grissiom/cscope
tools: add an option to generate cscope database
2013-06-19 03:15:29 -07:00
Grissiom 3ee4a18506 tools: add an option to generate cscope database
When --cscope option is given to Scons, it will generate a cscope
cross-reference database in current directory, which is useful in
Vim(and other cscope-aware text editors). For example, `scons -s
--cscope` will do nothing except generating the database. You can use
this option with other options together.

It is inspired by the `make cscope` of Linux.
2013-06-19 18:02:03 +08:00
Bernard Xiong 3071e35c54 Merge pull request #109 from grissiom/rm48x50
Rm48x50
2013-06-19 01:29:12 -07:00
Bernard Xiong ce176ee1d6 Merge pull request #107 from visitor83/pulls
format s3c24x0 serial.c and mini2440 rtconfig.py
2013-06-18 01:30:02 -07:00
visitor83 c986754c49 Signed-off-by: visitor83 <wolflouiswang@gmail.com>
format the s3c24x0 serial.c and mini2440 rtconfig.py
2013-06-18 12:51:55 +08:00
visitor83 7f4235802f Merge branch 'master', remote branch 'remotes/BernardXiong/master' 2013-06-18 10:11:10 +08:00
Bernard Xiong dddc71d8a1 Merge pull request #105 from aozima/pulls
完善生成codeblock工程功能。
2013-06-16 19:33:58 -07:00
aozima fd289ff34f add a default codeblocks template. 2013-06-16 23:18:16 +08:00
aozima 7eb4120a85 fixed bug: scons: don't throw excptions when CPPDEFINES is not defined. 2013-06-16 23:05:10 +08:00
Bernard Xiong 4d70222c71 Merge pull request #104 from visitor83/gdb
indent format cortex-m3/cpuport.c, thank peter.uboot@gmail.com
2013-06-16 00:03:45 -07:00
visitor83 c56fa7c907 ident format
Signed-off-by: visitor83 <root@wolflouis.(none)>
2013-06-16 10:00:34 +08:00
qiuyiuestc 90778f6f22 Merge pull request #103 from heyuanjie87/ForPullRequest
udisk can be ejected
2013-06-15 16:21:45 -07:00
heyuanjie87 02869d7e67 udisk can be eject 2013-06-15 23:02:50 +08:00
qiuyiuestc 4cdb0154ba Merge pull request #100 from grissiom/usb-plug
usb: add USB_MSG_PLUG_OUT event
2013-06-12 16:29:57 -07:00
Grissiom 009239ceed rm48x50: rt_interrupt_nest should be `volatile rt_uint8_t` 2013-06-12 23:56:10 +08:00
Grissiom 2df7fc310f RM48 does not have cache implemented 2013-06-12 23:48:29 +08:00
Grissiom 9b949c28b7 rm48x50: add cache_{enable, disable} 2013-06-12 21:03:04 +08:00
Grissiom b02993c989 usbdevice/core: cope with some buggy drivers on USB_MSG_DATA_NOTIFY
Some driver will emit USB_MSG_DATA_NOTIFY before the USB get configured.
Filter out those events.
2013-06-11 11:50:05 +08:00
aozima 4807145a71 clean up code: remove the old file. 2013-06-08 20:50:09 +08:00
Grissiom ed19483cb4 usb: add USB_MSG_PLUG_OUT event
When the core received an USB_MSG_PLUG_OUT event, it will stop all the
classes. This make a chance that the classes could get rid off doing
useless stuff while the USB cable is plugged out.
2013-06-06 15:21:40 +08:00
Grissiom e8bbbe6788 cortex-r4: wrap asm functions with .asmfunc/.endasmfunc 2013-06-05 23:21:06 +08:00
Grissiom 228a6be077 cortex-r4: add __rt_ffs 2013-06-05 23:20:39 +08:00
Bernard Xiong 03e8d24688 Merge pull request #99 from grissiom/rm48x50
Rm48x50 updates
2013-06-03 20:55:58 -07:00
Grissiom 480ac34445 rm48x50: remove useless reg_test code 2013-06-03 22:25:25 +08:00
Grissiom 85822f22b7 rtdef.h: get back the codes that removed accidentally by d80a471 2013-06-03 22:23:17 +08:00
Bernard Xiong d80a471680 Fix the memheap_realloc issue 2013-06-03 06:44:35 +08:00
Bernard Xiong 3c04d0b0a0 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-06-03 06:38:51 +08:00
Bernard Xiong 84da2a4dcc Keep flash setting when generate Keil MDK project. 2013-06-03 06:37:54 +08:00
Bernard Xiong 8238f85036 Merge pull request #98 from grissiom/rm48x50
Rm48x50
2013-05-31 07:15:28 -07:00
Grissiom e74befca44 move libcpu/arm/rm48x50/ to libcpu/arm/cortex-r4 2013-05-31 21:06:26 +08:00
Grissiom 24fc6e6ebb rm48x50: VFP lazy stacking
You need to turn on RT_VFP_LAZY_STACKING in rtconfig.h. By default, RTT
will turn on VFP for all threads and stack all the VFP registers. When
doing lazy stacking, VFP will only be turned on for the thread who
issued VFP instructions.

Currently, if a thread turned on VFP, it cannot be turned off. RTT will
never know what time the thread doesn't need VFP any more. The thread
might could turn off the VFP for it self in proper time.
2013-05-31 20:58:08 +08:00
Grissiom 8bbfd45ce3 rm48x50: change STMFD/LDMFD to STMDB/LDMIA
VFP instructions only have IA(Increment After)/DB(Decrement Before)
mode. To keep consistency, just change STM/LDM to DB/IA accordingly.
2013-05-31 18:38:42 +08:00
Grissiom ec1203bfab rm48x50: turn on VFP support
This support Common VFPv2 sub-architecture.
2013-05-31 18:32:21 +08:00
qiuyiuestc ac032ad07f Merge pull request #97 from heyuanjie87/ForPullRequest
For pull request
2013-05-30 04:13:01 -07:00
heyuanjie87 376a08d89a return correct length of LangID string to host 2013-05-30 18:26:52 +08:00
heyuanjie87 3f74a95663 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into ForPullRequest 2013-05-30 17:54:37 +08:00
Grissiom 939c58c295 rm48x50: remove unused vPortTaskUsesFPU 2013-05-30 17:39:32 +08:00
Grissiom 83ea4dd628 rm48x50: small cleanup on context_ccs.asm 2013-05-30 17:37:50 +08:00
Grissiom d8755ddd93 rm48x50: move uart.c to drv_uart.c 2013-05-30 10:02:26 +08:00
Grissiom 4d40978a70 rm48x50: add finsh support 2013-05-29 23:39:09 +08:00
Grissiom eda09ab002 rm48x50/uart.c: fix bugs 2013-05-29 23:38:10 +08:00
Grissiom 27ee5b627b finsh: add CCS support 2013-05-29 23:37:43 +08:00
Grissiom 810311b624 rm48x50: fix bug in rt_hw_interrupt_{mask,unmask} 2013-05-29 23:36:32 +08:00
Grissiom 9237433030 add TI CCS support micros in rtdef.h 2013-05-29 23:36:10 +08:00