aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-06-20 17:45:06 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-10-18 13:30:17 -0400
commit125f3d9338b5eea372f5ef45b783e677453fb1d0 (patch)
tree9d910491e3812f7af8283ef572e28078de9760d4
parente53edd3a7b7ab421232b58728d1f4eaee3dfde93 (diff)
usb: Update README file.
Various parts of it are no longer true, and some TODOs are now done. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/usb/README21
1 files changed, 1 insertions, 20 deletions
diff --git a/libmaple/usb/README b/libmaple/usb/README
index 540b1ea..2862116 100644
--- a/libmaple/usb/README
+++ b/libmaple/usb/README
@@ -27,11 +27,7 @@ Current Status:
changes will likely have to be made to virtual com application
code. Ideally, the new core library should mimic the form of MyUSB
(LUFA), since this library (USB for AVR) is growing in popularity
- and in example applications. Additionally, the USB lib here relies
- on low level hardware functions that were just ripped out of the
- bootloader code (for simplicity) but clearly this should be
- replaced with direct accesses to functions provided elsewhere in
- libmaple.
+ and in example applications.
The virtual com port serves two important purposes.
@@ -77,24 +73,9 @@ Current Status:
their own license, all other files were written by the LeafLabs
team and fall under the MIT license.
-Integration with libmaple:
-
- The current USB lib is ported from the Maple bootloader code,
- adapted to be a virtual com rather than a DFU device. That means
- several functions are redefined locally that could have been
- pulled from elsewhere in libmaple. Thus, ths USB module doesn't
- have too many dependencies on libmaple. It even ensures that
- clocks are configured correctly for its operation. However, over
- time, some libmaple dependencies have crept in.
-
Todo:
- write custom low level USB stack to strip out any remaining
dependence on ST code
- - remove dependence on hardware.c, since any functions here really
- should have their own analogs elsewhere inside libmaple
- add a high level USB application library that would allow users
to make their own HID/Mass Storage/Audio/Video devices.
- - implement a SerialUSB.link(SerialX) that forces a passthrough
- the host computer virtual com to SerialX, and utilizes the
- line_config commands correctly (sets baud etc)