aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
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
commited68d8a4bcb0659481d1b4e88ee370b234ec172d (patch)
tree9d910491e3812f7af8283ef572e28078de9760d4 /libmaple
parent4c73571eac60dd16103157d484ce4d0f53f91ae5 (diff)
downloadlibrambutan-ed68d8a4bcb0659481d1b4e88ee370b234ec172d.tar.gz
librambutan-ed68d8a4bcb0659481d1b4e88ee370b234ec172d.zip
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>
Diffstat (limited to 'libmaple')
-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)