Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed the callback for send functional descriptor. | AJM | 2010-06-09 | 3 | -5/+0 |
| | | | | It wasnt used, and was causing a compiler warning to get thrown. It isnt needed, not sure why I added it in the first place | ||||
* | exuberant ctags target | bnewbold | 2010-06-09 | 1 | -0/+4 |
| | |||||
* | test session serial fix | bnewbold | 2010-06-07 | 1 | -3/+3 |
| | |||||
* | another fix for USB unheard print issue | bnewbold | 2010-06-07 | 1 | -18/+9 |
| | |||||
* | USB Serial read() fix: | Perry Hung | 2010-06-05 | 1 | -1/+2 |
| | | | | stupid, stupid mistake. | ||||
* | fixed example | bnewbold | 2010-06-05 | 1 | -5/+5 |
| | |||||
* | trivial: fixed incorrect comment on jtag scan chain in openocd scripts | Perry Hung | 2010-06-05 | 2 | -2/+2 |
| | |||||
* | example updates... | bnewbold | 2010-06-04 | 2 | -592/+567 |
| | |||||
* | updated README for new heir | bnewbold | 2010-06-04 | 2 | -13/+12 |
| | |||||
* | fixed copy-to-ide linker stuff | bnewbold | 2010-06-04 | 1 | -2/+3 |
| | |||||
* | updated TODO, copy-to-ide | bnewbold | 2010-06-04 | 2 | -9/+11 |
| | |||||
* | NEEDS REVIEW: fix for first usb write bug | bnewbold | 2010-06-04 | 1 | -3/+5 |
| | | | | | aj wrote this and had comments saying fix this wouldn't work, but it seems to... | ||||
* | Preliminary wirish USBSerial implementation. | Perry Hung | 2010-06-04 | 13 | -82/+101 |
| | | | | | | -updated examples -removed HardwareUSB -cleaned up a handful of includes | ||||
* | fix botched merge from linker-refactor | Perry Hung | 2010-05-28 | 10 | -0/+876 |
| | |||||
* | Moved reset script to support directory | Perry Hung | 2010-05-28 | 2 | -2/+2 |
| | | | | For kicks. | ||||
* | Reset with /dev/maple instead of guessing ttys | Perry Hung | 2010-05-28 | 1 | -8/+1 |
| | | | | | Change reset to rely on udev to create a /dev/maple device node and use that instead of guessing which tty it is. | ||||
* | udev rule symlink | Perry Hung | 2010-05-28 | 1 | -0/+3 |
| | | | | new udev rule, adds a symlink to /dev/maple | ||||
* | libcs3 refactor merge | Perry Hung | 2010-05-28 | 44 | -2715/+36 |
| | | | | | | | | | | | | | | | | Removed dependency on libcs3.a because Codesourcery does not provide the source for it. We now link against a modified libcs3-lanchon-stm32.a built from parts in public domain from Lanchon, and a start_c.c from Codesourcery that is licensed under a permissive license. Also removed all of the extra linker cruft from the stm32conf directory. The linker files now live in support/ld The openocd scripts now live in support/openocd The udev rules and copy-to-ide scripts now live in support/scripts The source lives in support/ld/libcs3-lanchon-stm32.tar.gz | ||||
* | [for AJ] added new HardwareUsb implementation. hack. | bnewbold | 2010-05-27 | 5 | -2/+112 |
| | |||||
* | analogWrite is an alias for pwmWrite | bnewbold | 2010-05-27 | 1 | -0/+1 |
| | |||||
* | fastforward of master up the newboot, plus patch of math stuff | bnewbold | 2010-05-26 | 3 | -95/+22 |
|\ | | | | | | | Conflicts: copy-to-ide, wirish/WProgram.h | ||||
| * | get wirish_math stuff going (random, map, etc) | bnewbold | 2010-05-21 | 4 | -63/+18 |
| | | | | | | | | | | Perry, you might want to look this over... I only include the contents of wirish_math.h when cpp? It's what arduino does and it works, so... | ||||
* | | cleaned up commit process | bnewbold | 2010-05-26 | 3 | -12/+11 |
| | | |||||
* | | changed the id for the serial port to 1eaf:0004, to match up with the ↵ | AJM | 2010-05-22 | 1 | -1/+1 |
| | | | | | | | | windows driver | ||||
* | | minor mods to adjust the driver number and the vendor product id's (serial ↵ | AJM | 2010-05-21 | 4 | -12/+18 |
| | | | | | | | | | | | | port now 1eaf:0004) and fixed a bug in reset.py, added a no-delay usb serial loop to main.cpp as an example. has no problem at 115200 in minicom! | ||||
* | | Finalized the libmaple changes required by newboot. Added setupUSB() to ↵ | AJM | 2010-05-21 | 9 | -207/+41 |
| | | | | | | | | | | | | wirish init this involved some some changes to copy-to-ide, WProgram.h, and the makefile. Separated the reset.py from the wait.py so that the program closes the serial port correctly. | ||||
* | | removed another depricated reference to old usb shit | AJM | 2010-05-20 | 2 | -5/+1 |
| | | | | | | | | | | removed HardwareUsb usb in example main, as that class hasnt been defined yet also modded the makefile to actually compile main.cpp | ||||
* | | Adjusted the makefile and example main | AJM | 2010-05-20 | 2 | -4/+1 |
| | | | | | | | | for some odd reason the main file in the makefile was set to main.c not main.cpp corrected this as there is no main.c anywhere in this repo. Also removed references to HardwareUsb.h, since those files dont exist yet (the originals were depricated and removed) | ||||
* | | modified the makefile to build the usb related files/removed all uintx_t to ↵ | AJM | 2010-05-20 | 4 | -82/+77 |
| | | | | | | | | uintx | ||||
* | | moved the usb directory to its proper home in ./libmaple | AJM | 2010-05-20 | 24 | -61/+0 |
| | | | | | | | | also, removed some old usb file, bootVect.h, which setup the static table for the runtime usb lib that no longer exists and was provided by the bootloader rev 1 | ||||
* | | added reset.py to the makefile and the build dir | AJM | 2010-05-20 | 1 | -0/+39 |
| | | |||||
* | | added a delay to the resrt slide to allow enough time for graceul closures ↵ | AJM | 2010-05-20 | 7 | -2/+90 |
| | | | | | | | | of the serial port | ||||
* | | fixed the receive 0 bytes bug, where full buffers block the usb port and ↵ | AJM | 2010-05-20 | 1 | -0/+8 |
| | | | | | | | | never get re-enabled. | ||||
* | | added carraige feed to newline send on the test function usbSendHello | AJM | 2010-05-20 | 1 | -2/+2 |
| | | |||||
* | | fixed the FIFO bug, tx/rx now seems stable and ready for integration. | AJM | 2010-05-20 | 2 | -4/+8 |
| | | |||||
* | | theres still a remaining bug whereby fast consecutive read/writes to serial ↵ | AJM | 2010-05-20 | 1 | -5/+6 |
| | | | | | | | | might crash the fifo, but other than that it seems to work. see usbSendHello for an example. include usb.h in your application, and call setupUSB() to turn everything on. | ||||
* | | FINALLY figured out the tx/rx bugs, so the whole stack is officially ↵ | AJM | 2010-05-20 | 3 | -14/+19 |
| | | | | | | | | working. for future reference its ESSENTIAL that you set the EPNUM flag of the global device struct appropriately regardless of whether or not you enable or configure more endpoints. | ||||
* | | finally got TX working without any delay, there is some weird timing ↵ | AJM | 2010-05-20 | 8 | -23/+149 |
| | | | | | | | | involved in what happens when the line state is toggled (host port disconnected) and theres still data waiting to go out, this will hang any while(txCount != 0) calls. similarly, sending data without checking txCount != 0 will hard fault the chip. This is all handled now by usbSendBytes, which returns -1 for unconnected, and 0 for simply 'waiting to send' | ||||
* | | c++ ified all of the usb_core files, added the auto-reset feature to the ↵ | AJM | 2010-05-20 | 19 | -273/+421 |
| | | | | | | | | virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing | ||||
* | | added virtual com port echoing as the test configuration for the usb serial code | AJM | 2010-05-20 | 1 | -1/+17 |
| | | |||||
* | | finished the entire low level usb app for virtual com minus the precise ↵ | AJM | 2010-05-20 | 10 | -87/+911 |
| | | | | | | | | handling of get/send data callbacks and toggle line state. completely undebugged for now. | ||||
* | | added the usb_config file for general setup settings and filled out any ↵ | AJM | 2010-05-20 | 3 | -7/+50 |
| | | | | | | | | undefined macros in the usb descriptor files | ||||
* | | added the string descriptors to the descriptor set so that when you plug in ↵ | AJM | 2010-05-20 | 2 | -2/+49 |
| | | | | | | | | the device it can actually report "LeafLabs Maple R3" | ||||
* | | Added the virtual com port descriptors based on the LUFA/MYUsb model (which ↵ | AJM | 2010-05-20 | 2 | -0/+210 |
| | | | | | | | | was great). Still need to flesh out quite a few macros that were referenced but never defined. | ||||
* | | removed usb files from the libmaple into the application level core lib. | AJM | 2010-05-20 | 5 | -750/+4 |
| | | |||||
* | | added the skeleton dir for the usb application lib, since were still ↵ | AJM | 2010-05-20 | 18 | -0/+3559 |
|/ | | | | | | | dependent on st for low level access, the entire usb stack lives in the core application level (not in libmaple). the next project should be to include some low level usb stack in the libmaple | ||||
* | TODO update | bnewbold | 2010-05-20 | 1 | -5/+7 |
| | |||||
* | trivial: new cscope rule and warning fix | Perry Hung | 2010-04-30 | 2 | -2/+2 |
| | | | | Fixed nvic.c warning | ||||
* | finish cxxabi-compat refactor | bnewbold | 2010-04-29 | 2 | -7/+6 |
| | | | | perry forgot to add/edit these... | ||||
* | Fixed examples, added spi example, moved pure virtual function handler | Perry Hung | 2010-04-29 | 7 | -56/+78 |
| | | | | out of main to cxxabi-compat.cpp. |