aboutsummaryrefslogtreecommitdiffstats
path: root/support
Commit message (Collapse)AuthorAgeFilesLines
* Reverting commits between `git merge-head master refactor` and master.Marti Bolivar2011-05-093-617/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a combination of 11 revert commits, and allows for a clean merge of the work done in the refactor branch. The combined commit messages follow. Revert "Committing basic ring_buffer test." This reverts commit 987fa5f433e0cd41b1621dad8b4e331cf82d49f3. Revert "qa-slave-shield.cpp and test-session.cpp fixes for Mini and RET6 Edition." This reverts commit cdd367bdd264c9e19180032c119850fbba2115ba. Revert "Brought examples/ up to date; PIN_MAP bugfix for D24." This reverts commit b4c2d4514c6d52cac8a649c5d5c24b68a3c0a416. Revert "Separated GPIO config to a separate FSMC routine." This reverts commit 744848ad0fc33eed66acc44e41c3c9d646c5b100. Revert "Slightly faster RAM writes (6.5MHz)." This reverts commit 8ba0b6bb065acb4aff26bc9c838de5f37515caf1. Revert "FSMC working but slow (~6 MHz)." This reverts commit 0dc9490cf4f4f10a23b08fef1728773f10c1b76a. Revert "Maple Mini ERROR_LED_PIN fix." This reverts commit 07d437706840901db1e09ff0ab88229c67c1fa8a. Revert "Fixing USBSerial::read(void*, uint32) return value (thanks, Crenn!)" This reverts commit 3ba7196712a5bfe4fe1166b6c34d49c3d7254568. Revert "Trivial gpio_init() bugfix" This reverts commit f6ce003bb935f26eeefa54acf7c2ae6afaabd871. Revert "Trivial changes to test-session.cpp" This reverts commit a32a37b121ac7e62660d2a83fe67c857fe705122. Revert ".gitignore: Ignore cscope* files" This reverts commit d8c72c17bd6d7416a0846e69f4f5ae5cb229d58e.
* qa-slave-shield.cpp and test-session.cpp fixes for Mini and RET6 Edition.Marti Bolivar2011-03-083-0/+617
| | | | | | | | | | | | | There's a bit of a hack on the RET6 NR_DAC_PINS: due to the fact that PA5 is hooked up to the built-in LED and DAC channel 2, I set NR_DAC_PINS to 0 for the STM32F103RE (in libmaple.h), so that init() doesn't dac_init() and mess with the LED. Not too worried about it since this is just a beta board, but we'll need to fix this in the design for the real version. Also, BUT should be moved, since it steals Timer 8's channel 4 CC connection.
* Merge branch 'nzmichaelh-master' into master.Marti Bolivar2011-02-161-31/+102
|\ | | | | | | | | | | | | | | | | This provides DMA, IWDG, PWR, and BKP support, and fixes several bugs. Conflicts: libmaple/adc.h libmaple/libmaple.h libmaple/ring_buffer.h
| * Merge remote branch 'upstream/master'Michael Hope2010-09-293-4/+14
| |\
| * | Added support for programming ELF files without converting first.Michael Hope2010-09-291-3/+34
| | |
| * | Do basic validation on the boot version and chip IDs.Michael Hope2010-09-291-1/+11
| | |
| * | Make the initial chip detection much more robust.Michael Hope2010-09-291-7/+21
| | |
| * | Changed the exception handling so that Ctrl-C passes through and isn't ↵Michael Hope2010-09-291-15/+16
| | | | | | | | | | | | treated as a timeout.
| * | Added auto detection of the USB to serial port under Linux and MacOS.Michael Hope2010-09-291-2/+17
| | |
* | | Function examples/test-session.cpp on NativeMarti Bolivar2011-02-102-3/+3
| | |
* | | support: Add openocd scripts for openocd 0.4.0Perry Hung2011-01-252-0/+164
| | | | | | | | | | | | | | | | | | flash and run scripts for opencd v0.4.0 also snuck in a gitignore rule for notes/
* | | updating copy-to-ide script for more convenient IDE compilationMarti Bolivar2011-01-131-7/+11
| | |
* | | 0.0.9 release.Marti Bolivar2010-12-151-9/+25
| | | | | | | | | | | | | | | | | | Made some changes to Servo to get it to compile from within the IDE. Also fixed a lurking broken link in the docs.
* | | Finalized 0.0.9 documentation.Marti Bolivar2010-12-151-9/+7
| | |
* | | maple mini runs blinky now.Marti Bolivar2010-10-223-0/+617
| |/ |/| | | | | still need usb descriptors to improve, and also nothing else is tested.
* | Enable USB auto-reset in a hard fault.Perry Hung2010-09-171-2/+5
| | | | | | | | | | | | | | | | Redirect thread-mode execution to a fail routine which throbs the LED to indicate a hard fault. Because the fail routine runs in thread mode with interrupts on, USB auto-reset should now work. Test by executing some bogus instruction (e.g. *(volatile int*)0xf34fdaa = 0;) and check that the auto-reset continues to work.
* | Improve reset reliability on OS X.Perry Hung2010-09-171-0/+7
| | | | | | | | | | | | | | The USB reset scheme on OS X is unreliable. Adding a little bit of sleep seems to make it much more reliable. This will probably do until we get a chance to rewrite the USB stack and redo the whole auto-reset scheme...
* | Fix maple linker memory map for jtag targetPerry Hung2010-09-161-2/+2
|/
* exposed build-targets.mkMarti Bolivar2010-09-131-35/+0
|
* changes to copy-to-ide for portable branchbnewbold2010-09-021-5/+4
|
* board-specifc linker scriptsbnewbold2010-09-026-12/+617
|
* Various fixes, working with Maplebnewbold2010-09-015-8/+25
|\
| * Portability fixesbnewbold2010-08-315-6/+23
| | | | | | | | Still not working but fixed a lot of merge errors
| * Merge maple-native changes into portablebnewbold2010-08-315-5/+440
| |\ | | | | | | | | | This compiles for both maple and maple_native but is untested.
| | * MEMORY_TARGET not MAPLE_TARGETbnewbold2010-08-251-2/+2
| | |
| | * added stm32loader.py upload scriptbnewbold2010-08-251-0/+435
| | |
| * | partial progress on FSMC for SRAMbnewbold2010-08-052-3/+3
| | |
| * | Some refactoringbnewbold2010-08-053-7/+7
| | |
* | | added stm32loader.py upload scriptbnewbold2010-08-311-0/+435
| | |
* | | Toolchain improvementsMarti Bolivar2010-08-291-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-292-5/+41
| |/ |/| | | | | support/make/build-rules.mk
* | 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.
* latest greatest udev rulebnewbold2010-07-091-1/+3
|
* makefile: fix install targetPerry Hung2010-07-081-2/+3
| | | | | 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
|
* make: Modularize makefiles, add dependency tracking, build-type trackingPerry Hung2010-06-254-2/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* codeblocks support stuffbnewbold2010-06-183-0/+320
|
* osx reset script changesbnewbold2010-06-101-1/+4
|
* new reset scheme, compatbile with oldbnewbold2010-06-101-3/+9
|
* added a somewhat broken version of the reset magic number scheme.AJM2010-06-091-6/+1
| | | | current version gets stuck in the isr somewhere. not sure why or where. must debug.
* first approach at modding the reset schemeAJM2010-06-091-2/+6
| | | | now we reset from recv bytes. After receiving the DTR/RTS toggle the next byte in from usb is parsed as the program_delay. For now, this just delays the reset for a period to close the serial port gracefully. Later, this delay will perhaps inform the bootloader of how long to live for...
* trivial: fixed incorrect comment on jtag scan chain in openocd scriptsPerry Hung2010-06-052-2/+2
|
* fixed copy-to-ide linker stuffbnewbold2010-06-041-2/+3
|
* updated TODO, copy-to-idebnewbold2010-06-041-6/+10
|
* fix botched merge from linker-refactorPerry Hung2010-05-2810-0/+876
|
* Moved reset script to support directoryPerry Hung2010-05-281-0/+22
| | | | For kicks.
* udev rule symlinkPerry Hung2010-05-281-0/+3
new udev rule, adds a symlink to /dev/maple