summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-30Merge pull request #97 from heyuanjie87/ForPullRequestqiuyiuestc
For pull request
2013-05-30return correct length of LangID string to hostheyuanjie87
2013-05-30Merge branch 'master' of https://github.com/RT-Thread/rt-thread into ↵heyuanjie87
ForPullRequest
2013-05-30rm48x50: remove unused vPortTaskUsesFPUGrissiom
2013-05-30rm48x50: small cleanup on context_ccs.asmGrissiom
2013-05-30rm48x50: move uart.c to drv_uart.cGrissiom
2013-05-29rm48x50: add finsh supportGrissiom
2013-05-29rm48x50/uart.c: fix bugsGrissiom
2013-05-29finsh: add CCS supportGrissiom
2013-05-29rm48x50: fix bug in rt_hw_interrupt_{mask,unmask}Grissiom
2013-05-29add TI CCS support micros in rtdef.hGrissiom
2013-05-29rm48x50: now it has consoleGrissiom
2013-05-29rm48x50: update HALCoGen fileGrissiom
2013-05-27Merge pull request #96 from weety/at91sam9260Bernard Xiong
use __rt_ffs instead of ffs
2013-05-26rm48x50: optimize a BEQGrissiom
Use condition flag in the ORR. This could eliminate a BEQ.
2013-05-26rm48x50: optimize context_switch_interrupt_to by reuse registersGrissiom
When saving thread registers in context_switch_interrupt_to, we don't change them, just move them. So there is no need to always r0-r3 from stack to the real r0-r3. So just use the intermediate registers and eliminate 2 MOV.
2013-05-26rm48x50: temperately disable the VFP register testGrissiom
2013-05-26rm48x50: add vRegTestTask2Grissiom
2013-05-26rm48x50: fix bug in reg_test from FreeRTOSGrissiom
It does not satisfy AAPCS.
2013-05-26rm48x50: add reg_test from FreeRTOSGrissiom
The code is GPLv2 so I think we could use it for free(both free beer and free speech).
2013-05-26rm48x50: optimize context_switch_interrupt_doGrissiom
Substitude STMFD, MOV, ADD with STMFD, SUB. It reduce one instruction. Tested on board and it works like a charm.
2013-05-26rm48x50: utilize CPS instruction and remove some useless codeGrissiom
2013-05-25Merge pull request #96 from weety/at91sam9260Bernard Xiong
use __rt_ffs instead of ffs
2013-05-25use __rt_ffs instead of ffsweety
2013-05-25Merge pull request #95 from grissiom/vcomqiuyiuestc
usbdevice/core: add reset function to support hotplug
2013-05-25usbdevice/core: add reset function to support hotplugqiuyiuestc
When the USB got RESET packet from the host and the address is setup, all the classes will got reset. The reset is done by class stop and than class run. So the classes should reset their internal state in class_{run,stop}. Besides, the USB device driver could post a USB_MSG_RESET message on every RESET packet.
2013-05-25Merge pull request #94 from grissiom/vcomqiuyiuestc
cdc_vcom: reset the vcom state in proper cases
2013-05-25cdc_vcom: reset the vcom state in proper casesGrissiom
Reset the vcom state in class_{run,stop} and when the PC is not receiving data from me.
2013-05-24add rm48x50 bsp and libcpuGrissiom
We currently only support building with CCS and SCons is not using. bsp/rm48x50/HALCoGen/HALCoGen.{hcg,dil} is the HALCoGen project file. You may need to regenerate the source file as you like, providing that: 1, IRQ is in Dispatch Mode and the table entry is IRQ_Handler. The channel 5 in enabled and connected to IRQ. 2, RTI driver is enabled and compare3 source is selected to counter1 and the compare3 will generate tick in the period of 10ms. This value is coresponding with RT_TICK_PER_SECOND in rtconfig.h. In CCS, you need to create a new CCS project and create link folders pointing at bsp/rm48x50, libcpu/arm/rm48x50 and src/, include/. Remember to add the include path to the Build Properties.
2013-05-22Merge pull request #93 from heyuanjie87/ForPullRequestqiuyiuestc
For pull request
2013-05-23make Host can halt endpointsheyuanjie87
2013-05-23Merge pull request #88 from grissiom/fix-sim-serialprife
simulator: fix serial_write
2013-05-19Merge pull request #88 from grissiom/fix-sim-serialprife
simulator: fix serial_write
2013-05-17Merge pull request #90 from heyuanjie87/ForPullRequestqiuyiuestc
For pull request
2013-05-17Merge pull request #89 from grissiom/dfs-misc-fixBernard Xiong
add missing dfs_mkfs prototype in dfs_fs.h
2013-05-17Merge pull request #91 from aozima/pullsBernard Xiong
Pulls
2013-05-17add library file for Keil MDK project generationBernard Xiong
2013-05-17fix spelling error.aozima
2013-05-17move initial alarm event & mutex in system init.aozima
2013-05-17format code by Astyle.aozima
2013-05-17add usb stateheyuanjie87
2013-05-17add missing dfs_mkfs prototype in dfs_fs.hGrissiom
2013-05-16Merge branch 'master' of https://github.com/RT-Thread/rt-thread into ↵heyuanjie87
ForPullRequest
2013-05-16Merge pull request #87 from grissiom/static-usbdqiuyiuestc
Static usbd
2013-05-15simulator: fix serial_writeGrissiom
printf("%s") will print a NULL terminated string, while rt_serial_write should print buffer for size length. This also fix segfault when the string is not null terminated but specified by size.
2013-05-12Merge pull request #87 from grissiom/static-usbdqiuyiuestc
Static usbd
2013-05-12usbdevice/core: use static message queueGrissiom
Although currently the only message send to the queue is struct udev_msg, in order to keep backward compacity and for extention in the future, we set the size of message to 32.
2013-05-12usbdevice/core: use static thread instead of dynamic threadGrissiom
It also add two configurations for the USB device even loop thread: RT_USBD_THREAD_STACK_SZ to set the stack size, default to 2048 RT_USBD_THREAD_PRIO to set the priority, default to 8 You can overwrite the default values in rtconfig.h
2013-05-11Merge pull request #86 from grissiom/serial-rb-sizeBernard Xiong
serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.
2013-05-11Merge pull request #85 from grissiom/fix-usb-serialBernard Xiong
Fix usb serial