aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* added a somewhat broken version of the reset magic number scheme.AJM2010-06-095-82/+90
| | | | current version gets stuck in the isr somewhere. not sure why or where. must debug.
* first approach at modding the reset schemeAJM2010-06-094-33/+53
| | | | 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...
* removed the callback for send functional descriptor.AJM2010-06-093-5/+0
| | | | It wasnt used, and was causing a compiler warning to get thrown. It isnt needed, not sure why I added it in the first place
* exuberant ctags targetbnewbold2010-06-091-0/+4
|
* test session serial fixbnewbold2010-06-071-3/+3
|
* another fix for USB unheard print issuebnewbold2010-06-071-18/+9
|
* USB Serial read() fix:Perry Hung2010-06-051-1/+2
| | | | stupid, stupid mistake.
* fixed examplebnewbold2010-06-051-5/+5
|
* trivial: fixed incorrect comment on jtag scan chain in openocd scriptsPerry Hung2010-06-052-2/+2
|
* example updates...bnewbold2010-06-042-592/+567
|
* updated README for new heirbnewbold2010-06-042-13/+12
|
* fixed copy-to-ide linker stuffbnewbold2010-06-041-2/+3
|
* updated TODO, copy-to-idebnewbold2010-06-042-9/+11
|
* NEEDS REVIEW: fix for first usb write bugbnewbold2010-06-041-3/+5
| | | | | aj wrote this and had comments saying fix this wouldn't work, but it seems to...
* Preliminary wirish USBSerial implementation.Perry Hung2010-06-0413-82/+101
| | | | | | -updated examples -removed HardwareUSB -cleaned up a handful of includes
* fix botched merge from linker-refactorPerry Hung2010-05-2810-0/+876
|
* Moved reset script to support directoryPerry Hung2010-05-282-2/+2
| | | | For kicks.
* Reset with /dev/maple instead of guessing ttysPerry Hung2010-05-281-8/+1
| | | | | Change reset to rely on udev to create a /dev/maple device node and use that instead of guessing which tty it is.
* udev rule symlinkPerry Hung2010-05-281-0/+3
| | | | new udev rule, adds a symlink to /dev/maple
* libcs3 refactor mergePerry Hung2010-05-2844-2715/+36
| | | | | | | | | | | | | | | | Removed dependency on libcs3.a because Codesourcery does not provide the source for it. We now link against a modified libcs3-lanchon-stm32.a built from parts in public domain from Lanchon, and a start_c.c from Codesourcery that is licensed under a permissive license. Also removed all of the extra linker cruft from the stm32conf directory. The linker files now live in support/ld The openocd scripts now live in support/openocd The udev rules and copy-to-ide scripts now live in support/scripts The source lives in support/ld/libcs3-lanchon-stm32.tar.gz
* [for AJ] added new HardwareUsb implementation. hack.bnewbold2010-05-275-2/+112
|
* analogWrite is an alias for pwmWritebnewbold2010-05-271-0/+1
|
* fastforward of master up the newboot, plus patch of math stuffbnewbold2010-05-263-95/+22
|\ | | | | | | Conflicts: copy-to-ide, wirish/WProgram.h
| * get wirish_math stuff going (random, map, etc)bnewbold2010-05-214-63/+18
| | | | | | | | | | 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...
* | cleaned up commit processbnewbold2010-05-263-12/+11
| |
* | changed the id for the serial port to 1eaf:0004, to match up with the ↵AJM2010-05-221-1/+1
| | | | | | | | windows driver
* | minor mods to adjust the driver number and the vendor product id's (serial ↵AJM2010-05-214-12/+18
| | | | | | | | | | | | port now 1eaf:0004) and fixed a bug in reset.py, added a no-delay usb serial loop to main.cpp as an example. has no problem at 115200 in minicom!
* | Finalized the libmaple changes required by newboot. Added setupUSB() to ↵AJM2010-05-219-207/+41
| | | | | | | | | | | | 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.
* | removed another depricated reference to old usb shitAJM2010-05-202-5/+1
| | | | | | | | | | removed HardwareUsb usb in example main, as that class hasnt been defined yet also modded the makefile to actually compile main.cpp
* | Adjusted the makefile and example mainAJM2010-05-202-4/+1
| | | | | | | | for some odd reason the main file in the makefile was set to main.c not main.cpp corrected this as there is no main.c anywhere in this repo. Also removed references to HardwareUsb.h, since those files dont exist yet (the originals were depricated and removed)
* | modified the makefile to build the usb related files/removed all uintx_t to ↵AJM2010-05-204-82/+77
| | | | | | | | uintx
* | moved the usb directory to its proper home in ./libmapleAJM2010-05-2024-61/+0
| | | | | | | | also, removed some old usb file, bootVect.h, which setup the static table for the runtime usb lib that no longer exists and was provided by the bootloader rev 1
* | added reset.py to the makefile and the build dirAJM2010-05-201-0/+39
| |
* | added a delay to the resrt slide to allow enough time for graceul closures ↵AJM2010-05-207-2/+90
| | | | | | | | of the serial port
* | fixed the receive 0 bytes bug, where full buffers block the usb port and ↵AJM2010-05-201-0/+8
| | | | | | | | never get re-enabled.
* | added carraige feed to newline send on the test function usbSendHelloAJM2010-05-201-2/+2
| |
* | fixed the FIFO bug, tx/rx now seems stable and ready for integration.AJM2010-05-202-4/+8
| |
* | theres still a remaining bug whereby fast consecutive read/writes to serial ↵AJM2010-05-201-5/+6
| | | | | | | | might crash the fifo, but other than that it seems to work. see usbSendHello for an example. include usb.h in your application, and call setupUSB() to turn everything on.