aboutsummaryrefslogtreecommitdiffstats
path: root/support
Commit message (Collapse)AuthorAgeFilesLines
* DMA: Fix non-working DMA interrupts.Marti Bolivar2011-06-201-7/+7
| | | | | | | | | | | | | | | | | | | | | | libmaple/dma.c defines DMA interrupts __irq_dma_channel[1-7], consistent with what is specified by support/ld/names.inc. However, names.inc is inconsistent with what support/ld/libcs3_stm32_src/ expects. Specifically, it contradicts the files - support/ld/libcs3_stm32_src/stm32_isrs.S - support/ld/libcs3_stm32_src/stm32_vector_table.S Which use the names __irq_dma1_channel[1-7]. Change names.inc and dma.c to use the correct IRQ names. The original names.inc/libcs3_stm32_src inconsistency was introduced in 43d6921658cd29b8022af4424d340a90fbcb9a7f, but dma.c had the correct names until ec3cf2903f4b03bc1dae5e159495c9e5ef0938ca, where they were renamed for consistency with names.inc. At that point, DMA interrupts stopped working. (This was documented in the commit message). Thanks to forum user robodude666 for tracking this down.
* Remove reST documentation, attendant updates.Marti Bolivar2011-06-112-17/+1642
| | | | | | | | | | | | | | | | | | | | | | The documentation covers topics not specifically relevant to libmaple, so it doesn't make sense for it to be part of the libmaple source distribution. Delete the docs/ tree, and prepare libmaple for use with the new leaflabs-docs repo, which will contain the docs from now on. * README: update to reflect this change * support/doxygen/Doxyfile: This is the old docs/Doxyfile * Makefile: Add a doxygen target * wirish/comm/HardwareSerial.h: fix reference to docs/. The comment informing maintainers that the HardwareSerial interface is documented by hand refers to the docs/ tree, which no longer exists. Update it to refer to the separate leaflabs-docs repository. * support/scripts/copy-to-ide: No longer build the documentation
* Added libs in libraries/ to the include pathCamille Moncelier2011-06-021-0/+1
| | | | | | | | - This allows to including of libs headers eg: #include <Servo.h> which wasn't possible for some reason.
* openocd: Add missing filePerry Hung2011-05-271-0/+16
| | | | | Forgot openocd support script in 0e5eb75c80bd8036bf85bfe0cce09d1fce56f50a.
* openocd: Fix repeated JTAG flash failure, use alternate reset configPerry Hung2011-05-262-7/+13
| | | | | | | | | | | | | | | | | | 1) Reset, halt, and unprotect the the flash before writing to it. This fixes a bug in which every other flash attempt would fail. 2) Maple R5 and below have NRST and JTNRST erroneously tied together, resulting in a full TAP and system reset when a reset is asserted. This prevents the 'reset halt' command from working. This can be fixed hard-hack style by cutting the trace out of JTNRST. Users of the Leaf Maple JTAG adapter will also need to cut the trace between TRST and SRST. 3) Assuming you have a functioning 'reset halt' setup (see 2), the 'make debug' command now halts the chip and waits for a gdb connection before proceeding execution.
* openocd: Detect openocd versionPerry Hung2011-05-265-1/+1
| | | | | Small script to detect the openocd version and choose the appropriate debug/flash script for use with JTAG debugging.
* Converting all files to UNIX newlines.Marti Bolivar2011-05-1015-752/+752
| | | | | | | Committing the results of running the following on the libmaple root directory: $ fromdos `grep --exclude-dir='[.]git' -Ilsr $'\r$' .`
* Ancillary file cleanups.Marti Bolivar2011-04-145-308/+112
|
* stm32loader.py prints more information about what it's doing.Marti Bolivar2011-04-081-6/+5
|
* Hacks to get things to compile in the IDE.Marti Bolivar2011-03-301-1/+6
|
* Maple RET6 edition supportMarti Bolivar2011-03-165-7/+65
|
* support: linker: Fix high density vector tablePerry Hung2011-03-152-17/+17
| | | | | | | Entries for high-density interrupt vectors were incorrectly declared to be .weak instead of .long. Thanks redfox74!
* Cleanups; new support/gdb/gpio.gdb.Marti Bolivar2011-03-111-0/+12
|
* Refactor linker scripts. Rename irq and exception handlers.Perry Hung2011-02-2722-1817/+1102
| | | | | Add common linker scripts for ram and rom. Add medium and high density libraries for libcs3.
* 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
|