aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup: trivial rename for exception handlers, removed unnecessaryPerry Hung2010-04-014-409/+46
| | | | stm32f10x_conf.h
* Fix deleted lines from botched relicensing.Perry Hung2010-04-012-0/+2
| | | | | Accidentally deleted too many lines during relicensing, fix the remaining files. Should compile now.
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-3150-433/+964
| | | | | | Relicensed the bulk of libmaple under the more permissive MIT License, from GPLv3. Files that were largely or entirely derived from the Arduino, STM, or Lanchon retain their original licenses.
* Removed inttypes.hPerry Hung2010-03-3134-175/+168
| | | | | Removed inttypes.h from libmaple. Will have another pass through to use the standard libmaple types, but will come in another commit.
* 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-30107-131/+211
| | | | | | | | | | copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added
* | Delete STM32 Standard Peripheral Library.Perry Hung2010-03-3051-23453/+0
| |
* | Removed remaining STM32 types and #defines.Perry Hung2010-03-304-80/+72
| | | | | | | | | | 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-308-43/+80
| | | | | | | | | | 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-30109-132/+212
|\ \ | | | | | | | | | | | | Conflicts: Makefile
| * | Major hierarchy reorganization; see README.bnewbold2010-03-31107-131/+211
| |/ | | | | | | | | copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added
* | Re-enabled ADC1 without STM32 RCC library.Perry Hung2010-03-303-22/+41
| | | | | | | | There shouldn't be any STM32 rcc code anymore.
* | Re-enabled clocks on GPIO ports, external timers, and USARTs.Perry Hung2010-03-306-95/+126
| |
* | Silly indent issue. 4 space tabs to 3 space tabs.Perry Hung2010-03-262-72/+72
| |
* | Removed stm32 rcc code. Briefly tested the basic set up procedure,Perry Hung2010-03-265-67/+140
| | | | | | | | | | brings up the board to 72MHz, clocked by external crystal PLL boosted to 72MHz.
* | Started removing STM32 STD RCC code. Compiles but doesn't run yet.Perry Hung2010-03-258-29/+67
|/
* Removed main.cpp and updated example_main.cpp and added a blinkyPerry Hung2010-03-234-136/+112
| | | | | version. New users are expected to write their or main.cpp or copy from an example version.
* Unified analog, digital, and timer pin mappings to implement the mappingPerry Hung2010-03-236-125/+85
| | | | | | | | | we discussed. There's no such thing as A0-A15 anymore. You should now be able to do something like: unsigned int val; pinMode(15, INPUT_ANALOG); val = analogRead(15);
* Added open-drain output and analog-input modesPerry Hung2010-03-222-16/+7
|
* Merge branch 'master' of git@github.com:leaflabs/maple-libraryPerry Hung2010-03-223-2/+34
|\
| * Configure port D correctly so that header pin 25 works; this maybnewbold2010-03-181-0/+1
| | | | | | | | have unintended consequences?
| * building instructions and added OS forking to Makefilebnewbold2010-03-162-2/+33
| |
* | Add a carriage return for println, remove it from the usart sendPerry Hung2010-03-223-9/+8
|/ | | | routine.
* actual files needed for IDE get copiedbnewbold2010-03-131-0/+38
|
* script to copy src files to IDE; renamed READMEbnewbold2010-03-122-0/+70
|
* new pin mappingiperry2010-03-111-86/+62
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@149 749a229e-a60e-11de-b98f-4500b42dc123
* turn usb interrupts on after failed assert so bootloader still worksiperry2010-03-111-0/+18
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@148 749a229e-a60e-11de-b98f-4500b42dc123
* turn usb interrupts on after failed assert so bootloader still worksiperry2010-03-112-0/+9
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@147 749a229e-a60e-11de-b98f-4500b42dc123
* modded the library makefile to work with patched dfu-util, also added the ↵ajmeyer@mit.edu2010-02-125-16/+27
| | | | | | USER_FLASH section to the rom linker git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@131 749a229e-a60e-11de-b98f-4500b42dc123
* Enabled 39 GPIOs for digitalWrite(), fixed timer/usart collisions on ↵iperry2010-01-175-32/+42
| | | | | | PWM/USART pins git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@120 749a229e-a60e-11de-b98f-4500b42dc123
* added serial1 supportiperry2010-01-132-0/+9
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@113 749a229e-a60e-11de-b98f-4500b42dc123
* forgot to turn on the interrupt for usar3iperry2010-01-103-11/+17
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@110 749a229e-a60e-11de-b98f-4500b42dc123
* enabled serial3iperry2010-01-103-13/+28
| | | | 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-102-28/+42
| | | | | | 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-084-9/+14
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@99 749a229e-a60e-11de-b98f-4500b42dc123
* Added a print class for USB, works identically to the Serial object. Bugs ↵ajmeyer@mit.edu2010-01-078-48/+311
| | | | | | out if you try and pump more than 64 bytes through it in a single packet (which is really the OS's decision). This can be fixed git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@93 749a229e-a60e-11de-b98f-4500b42dc123
* added a simpler main.cpp and moved the complicated stuff into a separate fileajmeyer@mit.edu2009-12-272-46/+81
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@88 749a229e-a60e-11de-b98f-4500b42dc123
* Fixed delayMicroseconds, changed serial interface, added an (untested) ↵iperry2009-12-2512-141/+82
| | | | | | runtime check for pwm/serial collision, moved more headers around. git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@79 749a229e-a60e-11de-b98f-4500b42dc123
* added demo code on main.cpp to build a simple two way channel over the ↵ajmeyer@mit.edu2009-12-192-3/+28
| | | | | | virtual serial port. To use this, run ln -s /dev/ttyACM0 /dev/ttyS9 then open up Maple IDE and select ttyS9 as the serial port. you should be able to see the count of the number of bytes in as well as the blink message git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@78 749a229e-a60e-11de-b98f-4500b42dc123
* added a usb.h and usb.c to cover some of the low level access functions that ↵ajmeyer@mit.edu2009-12-194-8/+40
| | | | | | we can use to build the usb serial port. my sandbox widgets are in main.cpp, look at it then throw it out. I adjusted the stm32f10x_conf.h file to properly NOT include certain st lib files that werent being used, and modified the NVIC init to cope with the bootloader git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@76 749a229e-a60e-11de-b98f-4500b42dc123
* Added licensing. Moved lots of header files around. Added HardwareSerial ↵iperry2009-12-1941-401/+1553
| | | | | | reads, writes. Tweaked some of the util and assert functions. Added various useful routines for printing stuff to the serial port. Continued moving out stm32lib. Slightly more consistent naming, this will come in another change. git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@74 749a229e-a60e-11de-b98f-4500b42dc123
* fixed some minor naming issues in usb.c/h usb_serialWriteStr is nonfunctionalajmeyer@mit.edu2009-12-194-16/+18
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@73 749a229e-a60e-11de-b98f-4500b42dc123
* added USB support (TX over virtual com port), the linker modifications to ↵ajmeyer@mit.edu2009-12-1914-8/+1148
| | | | | | work with the bootloader, a modified libcs-lanchon-stm32.a, and the arduino-required main.cxx and WProgram.h git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@72 749a229e-a60e-11de-b98f-4500b42dc123
* removed extraneous files, stm32lib examplesiperry2009-12-17583-171657/+0
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@70 749a229e-a60e-11de-b98f-4500b42dc123
* Initial commit of library code, moved from leaftest repoiperry2009-12-17710-0/+200978
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@69 749a229e-a60e-11de-b98f-4500b42dc123