1. 20 8月, 2013 1 次提交
    • G
      dev/portal: implement portal device · 6e676e77
      Grissiom 提交于
      Portal is a device that connect devices. Currently, you can only connect
      pipes in portal. Pipes are unidirectional. But with portal, you can
      construct a bidirectional device with two pipes.
      6e676e77
  2. 19 8月, 2013 4 次提交
    • G
      device/pipe: add nonblocking read/write and force write mode · d683d32b
      Grissiom 提交于
      The previous implementation will always blocks the reader/writer.
      However, at least FinSh would expect the device to be nonblocking ---
      read should return 0 when there is no data in it.
      d683d32b
    • G
      ringbuffer: add put_force and putchar_force API · 4919d29d
      Grissiom 提交于
      Add the APIs that will discard the old data when rb is full.
      4919d29d
    • G
      ringbuffer: fix the ambiguous name · 981d929b
      Grissiom 提交于
      RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size
      of the empty space" or "the size of the data". Moreover, it's never a
      micro anymore. Change it to rt_ringbuffer_data_len before it's too late.
      Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
      981d929b
    • G
      device/pipe: add rt_pipe_{init,detach} · 38ce3879
      Grissiom 提交于
      This provide the possibility that allocate the buffer of the ringbuffer
      on a specific region, instead of always mallocing it. It also bring us
      the benefit of using pipe device on the systems without heap.
      38ce3879
  3. 24 7月, 2013 1 次提交
  4. 28 6月, 2013 2 次提交
  5. 15 6月, 2013 1 次提交
  6. 06 6月, 2013 1 次提交
    • G
      usb: add USB_MSG_PLUG_OUT event · ed19483c
      Grissiom 提交于
      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.
      ed19483c
  7. 25 5月, 2013 2 次提交
    • W
      use __rt_ffs instead of ffs · 624d947e
      weety 提交于
      624d947e
    • qiuyiuestc's avatar
      usbdevice/core: add reset function to support hotplug · 97a507e6
      qiuyiuestc 提交于
      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.
      97a507e6
  8. 23 5月, 2013 1 次提交
  9. 17 5月, 2013 1 次提交
  10. 12 5月, 2013 2 次提交
  11. 08 5月, 2013 1 次提交
    • G
      reimplement ringbuffer · 639bd303
      Grissiom 提交于
      The new implementation use the mirroring method to distinguish full
      buffer and the empty buffer. It also support buffers of arbitrary size.
      639bd303
  12. 24 1月, 2013 1 次提交
  13. 17 1月, 2013 1 次提交
    • B
      Add RT_MTD_ESRC definitions. · 9721603b
      Bernard Xiong 提交于
      Add RT_MTD_ESRC definitions. If the source page has issue when copying a page, the low level can return this error code. 
      9721603b
  14. 11 1月, 2013 2 次提交
  15. 09 1月, 2013 3 次提交
  16. 08 1月, 2013 1 次提交
  17. 31 12月, 2012 1 次提交
  18. 30 12月, 2012 1 次提交
  19. 28 12月, 2012 1 次提交
  20. 17 12月, 2012 1 次提交
  21. 13 12月, 2012 1 次提交
  22. 03 12月, 2012 1 次提交
  23. 28 11月, 2012 1 次提交
  24. 26 11月, 2012 1 次提交
  25. 25 11月, 2012 1 次提交
  26. 23 11月, 2012 1 次提交
  27. 22 11月, 2012 1 次提交
  28. 12 11月, 2012 1 次提交
  29. 01 11月, 2012 1 次提交
  30. 29 10月, 2012 1 次提交
  31. 28 10月, 2012 1 次提交