aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
...
* added 'unused' attribs and reset default targetbnewbold2010-09-021-1/+1
|
* board-specifc linker scriptsbnewbold2010-09-021-4/+4
|
* Various fixes, working with Maplebnewbold2010-09-011-16/+28
|\
| * Portability fixesbnewbold2010-08-311-1/+1
| | | | | | | | Still not working but fixed a lot of merge errors
| * Further wirish portability progressbnewbold2010-08-311-1/+2
| | | | | | | | Sort of ugly changes. Compiles but untested.
| * MCU-specific, not BOARD-specificbnewbold2010-08-311-6/+16
| |
| * inital portability workbnewbold2010-08-251-2/+3
| |
| * MEMORY_TARGET not MAPLE_TARGETbnewbold2010-08-251-10/+10
| |
* | Toolchain improvementsMarti Bolivar2010-08-291-9/+14
|/ | | | | | | | | | 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.
* makefile: fix install targetPerry Hung2010-07-081-22/+24
| | | | | The makefile 'install' target should upload to whatever the last build target was, regardless of the environment's value of MAPLE_TARGET.
* Fix ram, flash, jtag targetsPerry Hung2010-07-081-16/+16
|
* added helper targets, more verbose, codeblocks fixbnewbold2010-07-071-1/+13
|
* make: Modularize makefiles, add dependency tracking, build-type trackingPerry Hung2010-06-251-208/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* info cleanupbnewbold2010-06-181-5/+2
|
* exuberant ctags targetbnewbold2010-06-091-0/+4
|
* Preliminary wirish USBSerial implementation.Perry Hung2010-06-041-1/+1
| | | | | | -updated examples -removed HardwareUSB -cleaned up a handful of includes
* Moved reset script to support directoryPerry Hung2010-05-281-2/+2
| | | | For kicks.
* libcs3 refactor mergePerry Hung2010-05-281-35/+32
| | | | | | | | | | | | | | | | 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-271-0/+1
|
* cleaned up commit processbnewbold2010-05-261-2/+2
|
* minor mods to adjust the driver number and the vendor product id's (serial ↵AJM2010-05-211-1/+1
| | | | | | 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-211-2/+7
| | | | | | 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-201-3/+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-201-1/+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-201-16/+14
| | | | uintx
* added a delay to the resrt slide to allow enough time for graceul closures ↵AJM2010-05-201-0/+2
| | | | of the serial port
* c++ ified all of the usb_core files, added the auto-reset feature to the ↵AJM2010-05-201-3/+15
| | | | virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
* removed usb files from the libmaple into the application level core lib.AJM2010-05-201-0/+4
|
* trivial: new cscope rule and warning fixPerry Hung2010-04-301-1/+1
| | | | Fixed nvic.c warning
* Fixed examples, added spi example, moved pure virtual function handlerPerry Hung2010-04-291-2/+3
| | | | out of main to cxxabi-compat.cpp.
* Refactoring:Perry Hung2010-04-251-31/+31
| | | | | The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language.
* Initial SPI implementation.Perry Hung2010-04-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit b41eb846ca60559cff242d0c550699eb8f309909 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 04:09:16 2010 -0400 Turn the other peripherals back on. Not extensively tested for interactions between peripherals. commit bf4fc3bf6bc02342ae508b52fb4515d361d626f6 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 03:16:35 2010 -0400 Upper level libmaple interface Added a C++ HardwareSPI class to access the SPI interface. See HardwareSPI.cpp and HardwareSPI.h for documentation. commit 17e0e5edde60e9bf2aa4d52173ad7d47d6d6da75 Author: Perry Hung <iperry@alum.mit.edu> Date: Thu Apr 22 02:36:01 2010 -0400 Initial SPI Polling implementation. Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on.
* Makefile fix: removed extra line from outdirsPerry Hung2010-04-011-1/+0
|
* Cleanup: trivial rename for exception handlers, removed unnecessaryPerry Hung2010-04-011-1/+1
| | | | stm32f10x_conf.h
* Merge branch 'master' of git@github.com:leaflabs/libmaplePerry Hung2010-03-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile core/pwm.c core/wiring.c libmaple/usb.h src/wiring/pwm.c stm32lib/inc/cortexm3_macro.h stm32lib/inc/stm32f10x_adc.h stm32lib/inc/stm32f10x_bkp.h stm32lib/inc/stm32f10x_can.h stm32lib/inc/stm32f10x_crc.h stm32lib/inc/stm32f10x_dac.h stm32lib/inc/stm32f10x_dbgmcu.h stm32lib/inc/stm32f10x_dma.h stm32lib/inc/stm32f10x_exti.h stm32lib/inc/stm32f10x_flash.h stm32lib/inc/stm32f10x_fsmc.h stm32lib/inc/stm32f10x_gpio.h stm32lib/inc/stm32f10x_i2c.h stm32lib/inc/stm32f10x_iwdg.h stm32lib/inc/stm32f10x_lib.h stm32lib/inc/stm32f10x_map.h stm32lib/inc/stm32f10x_nvic.h stm32lib/inc/stm32f10x_pwr.h stm32lib/inc/stm32f10x_rcc.h stm32lib/inc/stm32f10x_rtc.h stm32lib/inc/stm32f10x_sdio.h stm32lib/inc/stm32f10x_spi.h stm32lib/inc/stm32f10x_systick.h stm32lib/inc/stm32f10x_tim.h stm32lib/inc/stm32f10x_type.h stm32lib/inc/stm32f10x_usart.h stm32lib/inc/stm32f10x_wwdg.h stm32lib/src/stm32f10x_adc.c stm32lib/src/stm32f10x_bkp.c stm32lib/src/stm32f10x_can.c stm32lib/src/stm32f10x_crc.c stm32lib/src/stm32f10x_dac.c stm32lib/src/stm32f10x_dbgmcu.c stm32lib/src/stm32f10x_dma.c stm32lib/src/stm32f10x_exti.c stm32lib/src/stm32f10x_flash.c stm32lib/src/stm32f10x_fsmc.c stm32lib/src/stm32f10x_gpio.c stm32lib/src/stm32f10x_i2c.c stm32lib/src/stm32f10x_iwdg.c stm32lib/src/stm32f10x_lib.c stm32lib/src/stm32f10x_nvic.c stm32lib/src/stm32f10x_pwr.c stm32lib/src/stm32f10x_rcc.c stm32lib/src/stm32f10x_rtc.c stm32lib/src/stm32f10x_sdio.c stm32lib/src/stm32f10x_spi.c stm32lib/src/stm32f10x_systick.c stm32lib/src/stm32f10x_tim.c stm32lib/src/stm32f10x_usart.c stm32lib/src/stm32f10x_wwdg.c
| * Major hierarchy reorganization; see README.bnewbold2010-03-301-47/+45
| | | | | | | | | | copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added
* | Removed remaining STM32 types and #defines.Perry Hung2010-03-301-5/+1
| | | | | | | | | | Updated usb subsystem to use libmaple types, removed STM32 peripheral library from the Makefile
* | Removed STM32 flash code, replaced with barebones hacks for now.Perry Hung2010-03-301-26/+23
| | | | | | | | | | At this point, there shouldn't be any STM code being compiled and linked against. There are still a bunch of STM header includes, though.
* | Merge branch 'master' into rcc-devPerry Hung2010-03-301-48/+46
|\ \ | | | | | | | | | | | | Conflicts: Makefile
| * | Major hierarchy reorganization; see README.bnewbold2010-03-311-47/+45
| |/ | | | | | | | | copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added
* / Started removing STM32 STD RCC code. Compiles but doesn't run yet.Perry Hung2010-03-251-2/+2
|/
* building instructions and added OS forking to Makefilebnewbold2010-03-161-2/+9
|
* modded the library makefile to work with patched dfu-util, also added the ↵ajmeyer@mit.edu2010-02-121-2/+5
| | | | | | USER_FLASH section to the rom linker git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@131 749a229e-a60e-11de-b98f-4500b42dc123
* forgot to turn on the interrupt for usar3iperry2010-01-101-1/+1
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@110 749a229e-a60e-11de-b98f-4500b42dc123
* enabled serial3iperry2010-01-101-7/+4
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@109 749a229e-a60e-11de-b98f-4500b42dc123
* typoiperry2010-01-101-1/+1
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@108 749a229e-a60e-11de-b98f-4500b42dc123
* git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@107 ↵iperry2010-01-101-2/+4
| | | | 749a229e-a60e-11de-b98f-4500b42dc123
* moved jtag target and fixed flash targetiperry2010-01-101-10/+17
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@106 749a229e-a60e-11de-b98f-4500b42dc123
* Tweaked makefile to get rid of silly make flags. Added a udev rule in ↵iperry2010-01-101-20/+37
| | | | | | support/ to eliminate sudo req for make program git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@105 749a229e-a60e-11de-b98f-4500b42dc123
* changed math.h to wiring_math.h to avoid collision with newlib's math libraryiperry2010-01-081-1/+1
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@99 749a229e-a60e-11de-b98f-4500b42dc123