aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-03-31Major hierarchy reorganization; see README.bnewbold
copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added
2010-03-23Removed main.cpp and updated example_main.cpp and added a blinkyPerry Hung
version. New users are expected to write their or main.cpp or copy from an example version.
2010-03-23Unified analog, digital, and timer pin mappings to implement the mappingPerry Hung
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);
2010-03-22Added open-drain output and analog-input modesPerry Hung
2010-03-22Merge branch 'master' of git@github.com:leaflabs/maple-libraryPerry Hung
2010-03-22Add a carriage return for println, remove it from the usart sendPerry Hung
routine.
2010-03-18Configure port D correctly so that header pin 25 works; this maybnewbold
have unintended consequences?
2010-03-11turn usb interrupts on after failed assert so bootloader still worksiperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@148 749a229e-a60e-11de-b98f-4500b42dc123
2010-03-11turn usb interrupts on after failed assert so bootloader still worksiperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@147 749a229e-a60e-11de-b98f-4500b42dc123
2010-02-12modded the library makefile to work with patched dfu-util, also added the ↵ajmeyer@mit.edu
USER_FLASH section to the rom linker git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@131 749a229e-a60e-11de-b98f-4500b42dc123
2010-01-17Enabled 39 GPIOs for digitalWrite(), fixed timer/usart collisions on ↵iperry
PWM/USART pins git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@120 749a229e-a60e-11de-b98f-4500b42dc123
2010-01-13added serial1 supportiperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@113 749a229e-a60e-11de-b98f-4500b42dc123
2010-01-10forgot to turn on the interrupt for usar3iperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@110 749a229e-a60e-11de-b98f-4500b42dc123
2010-01-10enabled serial3iperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@109 749a229e-a60e-11de-b98f-4500b42dc123
2010-01-10Tweaked makefile to get rid of silly make flags. Added a udev rule in ↵iperry
support/ to eliminate sudo req for make program git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@105 749a229e-a60e-11de-b98f-4500b42dc123
2010-01-08changed math.h to wiring_math.h to avoid collision with newlib's math libraryiperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@99 749a229e-a60e-11de-b98f-4500b42dc123
2010-01-07Added a print class for USB, works identically to the Serial object. Bugs ↵ajmeyer@mit.edu
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
2009-12-27added a simpler main.cpp and moved the complicated stuff into a separate fileajmeyer@mit.edu
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@88 749a229e-a60e-11de-b98f-4500b42dc123
2009-12-25Fixed delayMicroseconds, changed serial interface, added an (untested) ↵iperry
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
2009-12-19added demo code on main.cpp to build a simple two way channel over the ↵ajmeyer@mit.edu
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
2009-12-19added a usb.h and usb.c to cover some of the low level access functions that ↵ajmeyer@mit.edu
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
2009-12-19Added licensing. Moved lots of header files around. Added HardwareSerial ↵iperry
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
2009-12-19fixed some minor naming issues in usb.c/h usb_serialWriteStr is nonfunctionalajmeyer@mit.edu
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@73 749a229e-a60e-11de-b98f-4500b42dc123
2009-12-19added USB support (TX over virtual com port), the linker modifications to ↵ajmeyer@mit.edu
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
2009-12-17removed extraneous files, stm32lib examplesiperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@70 749a229e-a60e-11de-b98f-4500b42dc123
2009-12-17Initial commit of library code, moved from leaftest repoiperry
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@69 749a229e-a60e-11de-b98f-4500b42dc123