Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Merge branch 'spi' | Perry Hung | 2010-04-29 | 4 | -6/+39 |
|\ | |||||
| * | Various SPI changes. | Perry Hung | 2010-04-28 | 3 | -10/+13 |
| | | | | | | | | | | -Read DR after each master send, return the response. -Added a send function to allow you to pass buffers to the SPI peripheral instead of goin a byte at a time. | ||||
| * | Added a spi send block function | Perry Hung | 2010-04-27 | 4 | -4/+34 |
| | | |||||
* | | update copy-to-ide and WProgram.h post-refactoring | bnewbold | 2010-04-28 | 2 | -54/+59 |
| | | |||||
* | | updated test-session with new banner art etc | bnewbold | 2010-04-27 | 1 | -64/+163 |
|/ | |||||
* | fix: Remove core directory from botched merge. | Perry Hung | 2010-04-25 | 2 | -195/+0 |
| | |||||
* | Fixed two compiler warnings in spi | Perry Hung | 2010-04-25 | 2 | -4/+2 |
| | |||||
* | Merge branch 'master' into spi | Perry Hung | 2010-04-25 | 31 | -644/+317 |
|\ | |||||
| * | Refactoring: | Perry Hung | 2010-04-25 | 30 | -636/+291 |
| | | | | | | | | | | The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language. | ||||
| * | Added assert fails to exc.c | Perry Hung | 2010-04-25 | 1 | -8/+26 |
| | | |||||
| * | Initial SPI implementation. | Perry Hung | 2010-04-24 | 8 | -0/+454 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit b41eb846ca60559cff242d0c550699eb8f309909 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 04:09:16 2010 -0400 Turn the other peripherals back on. Not extensively tested for interactions between peripherals. commit bf4fc3bf6bc02342ae508b52fb4515d361d626f6 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 03:16:35 2010 -0400 Upper level libmaple interface Added a C++ HardwareSPI class to access the SPI interface. See HardwareSPI.cpp and HardwareSPI.h for documentation. commit 17e0e5edde60e9bf2aa4d52173ad7d47d6d6da75 Author: Perry Hung <iperry@alum.mit.edu> Date: Thu Apr 22 02:36:01 2010 -0400 Initial SPI Polling implementation. Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on. | ||||
* | | Turn the other peripherals back on. Not extensively tested for | Perry Hung | 2010-04-24 | 2 | -10/+19 |
| | | | | | | | | interactions between peripherals. | ||||
* | | Upper level libmaple interface | Perry Hung | 2010-04-24 | 4 | -1/+197 |
| | | | | | | | | | | Added a C++ HardwareSPI class to access the SPI interface. See HardwareSPI.cpp and HardwareSPI.h for documentation. | ||||
* | | Initial SPI Polling implementation. | Perry Hung | 2010-04-24 | 7 | -5/+254 |
|/ | | | | | | | | | Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on. | ||||
* | Clear ODR for input pull-down mode. | Perry Hung | 2010-04-22 | 1 | -4/+3 |
| | |||||
* | PinMode pullup bug fix, wiring pin mode bug fix | Perry Hung | 2010-04-22 | 3 | -37/+56 |
| | |||||
* | mostly complete new interactive hardware testing program | bnewbold | 2010-04-21 | 1 | -0/+437 |
| | |||||
* | after change of pin numbering scheme, NR_ANALOG_PINS doesn't make sense any more | bnewbold | 2010-04-21 | 1 | -1/+1 |
| | |||||
* | removed annoying warnings from core/wiring.c and fixed two compile errors on ↵ | bnewbold | 2010-04-20 | 2 | -3/+2 |
| | | | | with the example main.cpp | ||||
* | updated copy-to-ide script | bnewbold | 2010-04-20 | 1 | -74/+43 |
| | |||||
* | Aded two timer function to set max reload value and prescaler | Perry Hung | 2010-04-19 | 2 | -0/+46 |
| | |||||
* | Added libmaple gpio_read_bit | Perry Hung | 2010-04-19 | 3 | -2/+13 |
| | |||||
* | Removed USB device instantiation in example while the new CDC device | Perry Hung | 2010-04-19 | 1 | -15/+2 |
| | | | | gets written, cleaned it up a bit | ||||
* | what needs to get done for arduino library compatibility | bnewbold | 2010-04-07 | 1 | -0/+59 |
| | |||||
* | should have had this in before | bnewbold | 2010-04-07 | 1 | -0/+6 |
| | |||||
* | updated README, LICENSE, notes | bnewbold | 2010-04-07 | 4 | -8/+164 |
| | |||||
* | Makefile fix: removed extra line from outdirs | Perry Hung | 2010-04-01 | 1 | -1/+0 |
| |