aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
Commit message (Collapse)AuthorAgeFilesLines
* 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.