aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
Commit message (Collapse)AuthorAgeFilesLines
* bugfix MAPLE_RELOAD_VAL, whitespace fixesMarti Bolivar2010-09-133-7/+10
|
* systick testing and simplificationbnewbold2010-09-054-85/+0
| | | | | | ripped out marti's SystemTick for the sake of simplicity and added a systick_resume function to libmaple. new example program demonstrates the functionality, also demonstrates micros()/USB bug
* timer refactor (c, not c++)bnewbold2010-09-055-58/+19
| | | | also removed an old ASSERT()
* Off-by-one in timer setPeriod() functionbnewbold2010-09-021-2/+2
| | | | Thanks CarlO!
* added 'unused' attribs and reset default targetbnewbold2010-09-021-3/+4
|
* Various fixes, working with Maplebnewbold2010-09-0114-163/+299
|\
| * Portability fixesbnewbold2010-08-311-1/+1
| | | | | | | | Still not working but fixed a lot of merge errors
| * Merge maple-native changes into portablebnewbold2010-08-3115-306/+414
| |\ | | | | | | | | | This compiles for both maple and maple_native but is untested.
| | * Further wirish portability progressbnewbold2010-08-3110-29/+147
| | | | | | | | | | | | Sort of ugly changes. Compiles but untested.
| | * Partial progress on wirish portabilitybnewbold2010-08-318-153/+165
| | | | | | | | | | | | | | | This version throws "defined but unused" warnings which could probably be squashed with #pragma
| | * inital portability workbnewbold2010-08-251-6/+0
| | |
| * | Some refactoringbnewbold2010-08-051-8/+27
| | |
* | | added support to enable/disable systick in wirishMarti Bolivar2010-08-314-1/+86
| | |
* | | fix reset.py to work on OS X,; .gitignore leaves out ~ files; cleanupMarti Bolivar2010-08-291-1/+1
| |/ |/| | | | | support/make/build-rules.mk
* | Removed typedef enum for external interrupts, should function. NotePerry Hung2010-08-192-5/+5
| | | | | | | | that there's no LOW option.
* | Cleaned up wirish/time, some interrupt handling refactoring:Perry Hung2010-08-043-61/+44
| | | | | | | | | | | | | | | | | | Fixed millis(), it was just wrong, before. Added micros(), not extensively tested. New implementation of delayMicroseconds(). Should be more consistent now. Added a handful of nvic routines to enable/disable interrupts. Cleaned up systick
* | New usart implementation:Perry Hung2010-08-042-56/+49
| | | | | | | | | | | | Fixed a bug where the maximum baud rate was incorrectly set to 225000 General cleanup Use new rcc and nvic APIs
* | New reset and clock control apiPerry Hung2010-08-041-3/+14
| |
* | Basic flash peripheral management api for board bringupPerry Hung2010-08-041-0/+6
|/
* last usbserial change... please?bnewbold2010-07-221-3/+12
|
* added isConnected() to serialusbbnewbold2010-07-222-0/+13
|
* went with 50ms SerialUSB timeoutbnewbold2010-07-201-1/+1
|
* wirish implementation of timers plus testbnewbold2010-07-202-0/+222
|
* 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.