aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
Commit message (Collapse)AuthorAgeFilesLines
...
* timers progressbnewbold2010-07-203-4/+6
| | | | examples code cleanup, more descriptive comments, more notes
* good quality vga leaf logo; usb+systick disabledbnewbold2010-07-204-8/+8
| | | | | refactored timers and added interrupt behavior. see notes and comments... also includes a crude vga hack that doesn't use timers.
* working serialUSB with timeoutbnewbold2010-07-192-5/+45
| | | | | | | | | | | as a temporary workaround for the fact that SerialUSB is often blocking, this crude implementation makes the low-level C usbSendBytes function non-blocking (with a return code of bytes sent) and implements a 2ms timeout in the wirish write() function. also adds begin(), end(), getDTR(), getRTS(), pending(). device is still initialized the old fashioned way during init() so that, eg, autoreset will work. includes a simple multi-test program.
* added Serial.flush()bnewbold2010-07-191-0/+4
|
* added SerialN.end()bnewbold2010-07-182-0/+5
|
* make: Modularize makefiles, add dependency tracking, build-type trackingPerry Hung2010-06-251-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major build system rewrite. New and exciting: 1. Proper dependency tracking. All source files including header files should be properly tracked and recompiled as necessary when they are changed. 2. Build-type tracking. If the target changes from 'ram' to 'flash,' for example, the build system will force a rebuild rather than incorrectly link modules to a different address. 3. New targets: The old 'ram,' 'flash,' and 'jtag' targets have been replaced with the environment variable MAPLE_TARGET, which controls the link address. Users can either export it to their environment, or pass MAPLE_TARGET on the command-line. Once this is set, sketches can be compiled with 'make sketch,' or simply 'make.' Note: the default is MAPLE_TARGET='flash.' The target 'install' now automagically uploads the sketch to the board using the appropriate method. The 'run' target has been renamed to 'debug.' It starts an openocd gdb server. 4. Odds and ends: -Verbose and 'quiet' modes. Set V=1 for verbose compilation, the default is quiet. -Object file sizes and disassembly information is generated and placed in build/$(BOARD).sizes and build/$(BOARD).disas, respectively. -Parallel make with -j should speed things up if you have multiple cores.
* Support for Arduino's LiquidCrystal lib, which may help for a few other libs ↵xttocs2010-06-232-1/+7
| | | | | | too. Signed-off-by: Perry Hung <iperry@alum.mit.edu>
* added getDTR and getRTS to usb.h, subtly modded how sendBytes checks for ↵AJM2010-06-111-1/+2
| | | | | | connection flip flopped back and forth on how much work should be done here. For now its like 5 lines of changes
* USB Serial read() fix:Perry Hung2010-06-051-1/+2
| | | | stupid, stupid mistake.
* Preliminary wirish USBSerial implementation.Perry Hung2010-06-046-43/+64
| | | | | | -updated examples -removed HardwareUSB -cleaned up a handful of includes
* [for AJ] added new HardwareUsb implementation. hack.bnewbold2010-05-273-0/+109
|
* analogWrite is an alias for pwmWritebnewbold2010-05-271-0/+1
|
* fastforward of master up the newboot, plus patch of math stuffbnewbold2010-05-262-0/+4
|\ | | | | | | Conflicts: copy-to-ide, wirish/WProgram.h
| * get wirish_math stuff going (random, map, etc)bnewbold2010-05-213-1/+4
| | | | | | | | | | 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...
* | Finalized the libmaple changes required by newboot. Added setupUSB() to ↵AJM2010-05-214-158/+2
|/ | | | | | 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.
* finish cxxabi-compat refactorbnewbold2010-04-291-0/+6
| | | | perry forgot to add/edit these...
* Fixed examples, added spi example, moved pure virtual function handlerPerry Hung2010-04-292-20/+0
| | | | out of main to cxxabi-compat.cpp.
* Merge branch 'spi'Perry Hung2010-04-292-3/+8
|\
| * Various SPI changes.Perry Hung2010-04-282-6/+6
| | | | | | | | | | -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 functionPerry Hung2010-04-272-1/+6
| |
* | update copy-to-ide and WProgram.h post-refactoringbnewbold2010-04-281-1/+1
|/
* Fixed two compiler warnings in spiPerry Hung2010-04-251-2/+0
|
* Refactoring:Perry Hung2010-04-2525-0/+1942
The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language.