| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
new udev rule, adds a symlink to /dev/maple
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|\
| |
| |
| | |
Conflicts: copy-to-ide, wirish/WProgram.h
|
| |
| |
| |
| |
| | |
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...
|
| | |
|
| |
| |
| |
| | |
windows driver
|
| |
| |
| |
| |
| |
| | |
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!
|
| |
| |
| |
| |
| |
| | |
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 HardwareUsb usb in example main, as that class hasnt been defined yet
also modded the makefile to actually compile main.cpp
|
| |
| |
| |
| | |
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)
|
| |
| |
| |
| | |
uintx
|
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| | |
of the serial port
|
| |
| |
| |
| | |
never get re-enabled.
|
| | |
|
| | |
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
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'
|
| |
| |
| |
| | |
virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
|
| | |
|
| |
| |
| |
| | |
handling of get/send data callbacks and toggle line state. completely undebugged for now.
|
| |
| |
| |
| | |
undefined macros in the usb descriptor files
|
| |
| |
| |
| | |
the device it can actually report "LeafLabs Maple R3"
|
| |
| |
| |
| | |
was great). Still need to flesh out quite a few macros that were referenced but never defined.
|
| | |
|
|/
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Fixed nvic.c warning
|
|
|
|
| |
perry forgot to add/edit these...
|
|
|
|
| |
out of main to cxxabi-compat.cpp.
|
|\ |
|
| |
| |
| |
| |
| | |
-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.
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
The 'core' directory has now been renamed to 'wirish.' Wirish is our
version of the Arduino Wiring language.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
interactions between peripherals.
|
| |
| |
| |
| |
| | |
Added a C++ HardwareSPI class to access the SPI interface. See
HardwareSPI.cpp and HardwareSPI.h for documentation.
|
|/
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|