add rt_memheap_realloc function
add RT_KERNEL_MALLOC/FREE
remove project.uvopt file when generate keil mdk project file
usbdevice/core/core.c: fix garbage value bug

This could crash the program with -O1 and -O2 in MDK.
Merge pull request #81 from grissiom/fix-usb

usbdevice/core/core.c: fix garbage value bug
Update README.md
Update .travis.yml
add RAMFS implementation
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
reimplement ringbuffer

The new implementation use the mirroring method to distinguish full
buffer and the empty buffer. It also support buffers of arbitrary size.
ringbuffer: format the code to a more symmetric structure
Merge pull request #84 from grissiom/ringbuffer

Ringbuffer
cdc_vcom: fix the bug that use ringbuffer pool as usb packet buffer

This commit set the buffer for packet to CDC_MaxPacketSize which is a
reasonable value for it. However, maybe we should make
CDC_{RX,TX}_BUFSIZE configurable as well.
cdc_vcom: send a zero-length-packet at the end is transaction
usbdevice/core: misc cleanup
cdc_vcom: send data as many as possible

The data filled into dcd_ep_write does not to be limited by
MaxPacketSize.
usbdevice/core: small optimization on the event loop

Sort the switch cases by the frequency of the events.
cdc_vcom: not to start sending data when the data is already sending

We start the sending transaction in SOF handler. But if the data is
already sending, start an other transaction will cause data lose.
Implement a state machine is cdc_vcom and avoid that.
serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.
Merge pull request #85 from grissiom/fix-usb-serial

Fix usb serial