aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Toolchain improvementsMarti Bolivar2010-08-292-30/+53
| | | | | | | | | | Updated Makefile to read the directory where libmaple is from the environment variable LIBMAPLE_PATH, if it exists, defaulting to the current working directory otherwise. Updated reset.py to look around in /dev for the Maple serial port, prompting the user if there appear to be multiple possibilities and complaining if there aren't any.
* fix reset.py to work on OS X,; .gitignore leaves out ~ files; cleanupMarti Bolivar2010-08-294-6/+43
| | | | 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.
* added libm.a to linker scripts to fix sqrt() bugbnewbold2010-08-193-3/+3
| | | | | | Fixes a bug noted by several users when using math functions like cos(), sqrt(), etc in the Maple IDE. This bug did not seem to affect Makefile compiles.
* Switch spi to use new rcc interfacePerry Hung2010-08-043-2/+6
|
* Cleaned up wirish/time, some interrupt handling refactoring:Perry Hung2010-08-0410-122/+86
| | | | | | | | | 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
* Turn off MAPLE_DEBUG by default.Perry Hung2010-08-041-1/+1
| | | | | Save space on debug strings, performance. Perhaps we should consider some form of user-facing assert.
* New usart implementation:Perry Hung2010-08-047-308/+235
| | | | | | 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-047-202/+273
|
* Basic flash peripheral management api for board bringupPerry Hung2010-08-044-28/+52
|
* rename clock selection registerbnewbold2010-07-242-4/+4
| | | | | | | This is just a change of macro name with zero impact on the actual binary. Looking at page 87/1003 of the STM reference manual, bits [0:1] are the SW register which is modifiable by software, while [2:3] are SWS and are set only by hardware.
* last usbserial change... please?bnewbold2010-07-221-3/+12
|
* added isConnected() to serialusbbnewbold2010-07-224-0/+23
|
* sigh, simple typobnewbold2010-07-201-1/+1
|
* went with 50ms SerialUSB timeoutbnewbold2010-07-201-1/+1
|
* updated leaf demobnewbold2010-07-201-62/+116
|
* test of serialN.flush()bnewbold2010-07-201-0/+45
|
* updated vga demos to use SerialUSB.end()bnewbold2010-07-202-0/+9
|
* TMP: test updatesbnewbold2010-07-202-3/+12
|
* wirish implementation of timers plus testbnewbold2010-07-203-3/+355
|
* bug fix with interrupts not getting clearedbnewbold2010-07-202-5/+55
|
* timers progressbnewbold2010-07-209-312/+163
| | | | examples code cleanup, more descriptive comments, more notes
* awesome vga demos, need vga+systick disabledbnewbold2010-07-202-0/+167
|
* good quality vga leaf logo; usb+systick disabledbnewbold2010-07-2011-42/+957
| | | | | 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-196-5/+189
| | | | | | | | | | | 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.
* new usb_serialbnewbold2010-07-192-50/+56
|
* notesbnewbold2010-07-191-0/+66
|
* added Serial.flush()bnewbold2010-07-193-0/+28
|
* added SerialN.end()bnewbold2010-07-182-0/+5
|
* nvic_disable_interruptbnewbold2010-07-182-0/+17
|
* minor updatesbnewbold2010-07-103-3/+4
|
* latest greatest udev rulebnewbold2010-07-091-1/+3
|
* makefile: fix install targetPerry Hung2010-07-082-24/+27
| | | | | The makefile 'install' target should upload to whatever the last build target was, regardless of the environment's value of MAPLE_TARGET.
* more codeblocks fixes; verbose build outputbnewbold2010-07-084-21/+12
|
* Fix ram, flash, jtag targetsPerry Hung2010-07-081-16/+16
|
* added helper targets, more verbose, codeblocks fixbnewbold2010-07-071-1/+13
|
* Call init() before static constructorsPerry Hung2010-06-255-14/+44
| | | | | | | Commit 70a18f96b6d55d23ce58ab40ffb61f172c8f6c73 forces init() to be called before any statically allocated object constructors for the IDE. This adds the change to the examples for users not using the IDE.
* Call init before static constructorsPerry Hung2010-06-251-2/+7
| | | | | | | Commit 70a18f96b6d55d23ce58ab40ffb61f172c8f6c73 forces init() to be called before any statically allocated object constructors for the IDE. This adds the change to the examples for users not using the IDE.
* make: Modularize makefiles, add dependency tracking, build-type trackingPerry Hung2010-06-257-210/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* info cleanupbnewbold2010-06-184-144/+10
|
* codeblocks support stuffbnewbold2010-06-184-0/+321
|
* fixed QA test (pulldown)bnewbold2010-06-161-2/+2
|
* new QA testing modesbnewbold2010-06-152-0/+92
|
* helpful debug programbnewbold2010-06-111-0/+42
|
* added getDTR and getRTS to usb.h, subtly modded how sendBytes checks for ↵AJM2010-06-113-7/+28
| | | | | | connection flip flopped back and forth on how much work should be done here. For now its like 5 lines of changes
* osx reset script changesbnewbold2010-06-101-1/+4
|
* new reset scheme, compatbile with oldbnewbold2010-06-101-3/+9
|
* cosmetic change on usbsendbytesAJM2010-06-101-1/+1
| | | | minor
* new reset scheme now worksAJM2010-06-091-1/+1
| | | | fixed some blocking issue on serial tx, improperly checking for connection.