aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge refactor into i2c-wip:Perry Hung2011-03-0913-313/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 4d6662dadfda7f2fd55107535165dc98a0638a3c Merge: 174d9ab 7ddc844 Author: Marti Bolivar <mbolivar@leaflabs.com> Date: Fri Mar 4 23:18:29 2011 -0500 Merge remote branch 'origin/refactor' into refactor commit 174d9ab73cc3387a3812e6f3d3e97519bf5b2150 Author: Marti Bolivar <mbolivar@leaflabs.com> Date: Fri Mar 4 23:16:53 2011 -0500 USBSerial docs fix. commit f217acb73d94f0a88bf33a42684e6e988dcb3685 Author: Marti Bolivar <mbolivar@leaflabs.com> Date: Fri Mar 4 20:25:26 2011 -0500 Brought examples/ up to date; PIN_MAP bugfix for D24. commit c4ba3ba05fc39ef260cd80d91759966952df74ae Author: Marti Bolivar <mbolivar@leaflabs.com> Date: Fri Mar 4 19:16:42 2011 -0500 Cosmetic/documentation changes to adc.c commit e7747b4eb831621951deef6d31629f55cb5c3500 Author: Marti Bolivar <mbolivar@leaflabs.com> Date: Fri Mar 4 19:16:07 2011 -0500 Cosmetic changes to wirish/main.cxx commit e2f9d4116e59d8487c936989384228ea084a3501 Author: Marti Bolivar <mbolivar@leaflabs.com> Date: Fri Mar 4 19:15:24 2011 -0500 Untabifying docs/source/conf.py commit 7ddc84481b4eebe337065a0219e3d8dc000791e5 Author: Perry Hung <iperry@gmail.com> Date: Wed Mar 2 00:30:19 2011 -0500 cscope: Find .S instead of .s files commit 62cb09ed6357eae58b0234fbc074c44e9c0aa5e5 Author: Marti Bolivar <mbolivar@leaflabs.com> Date: Wed Mar 2 00:07:10 2011 -0500 Fixing typo in main.cpp.example.
* Cleaned out libmaple.h; this had wide-ranging implications.Marti Bolivar2011-02-272-20/+21
| | | | | | | | | | | | | | | | | | | Many of the #defines in libmaple.h were board-specific, not MCU-specific. Most of these were only used by code under libmaple/usb/. These were moved into usb_config.h, and are clearly marked as being terrible hacks. I'm going to treat the USB stack as a black box that we'll deal with later. Further, instead of having a variety of #defines like "How many USARTS do I have?", we decide that based on the density of the chip. This is determined by testing for STM32_MEDIUM_DENSITY or STM32_HIGH_DENSITY defines. libmaple currently doesn't support low-density chips, so that suffices. The Makefile will set these automatically based on the MCU. Other offending #defines are ERROR_LED_PORT and ERROR_LED_PIN; these were made optional, but they're set in the Makefile as a hack to keep things working.
* Refactor DACPerry Hung2011-02-271-3/+3
| | | | | DAC header and source slightly cleaned up. Test on Maple Native prototype. Add flags parameter to allow selective enabling of channels.
* Refactor backup (BKP) and power (PWR) routines.Marti Bolivar2011-02-271-0/+78
|
* workaround to compile test-session.cppPerry Hung2011-02-271-1/+1
|
* Basic DAC functionality (high-density devices only).Marti Bolivar2011-02-181-29/+21
|
* Function examples/test-session.cpp on NativeMarti Bolivar2011-02-101-13/+19
|
* Updated blinky.cpp for portabilityMarti Bolivar2011-02-101-5/+7
|
* Ported examples/test-session.cpp to work on MiniMarti Bolivar2011-01-301-438/+515
|
* systick testing and simplificationbnewbold2010-09-051-0/+60
| | | | | | ripped out marti's SystemTick for the sake of simplicity and added a systick_resume function to libmaple. new example program demonstrates the functionality, also demonstrates micros()/USB bug
* improved timer test programbnewbold2010-09-051-0/+6
|
* fixed Serial crash bugbnewbold2010-09-051-1/+5
|
* Various fixes, working with Maplebnewbold2010-09-012-0/+172
|\
| * Merge maple-native changes into portablebnewbold2010-08-312-50/+7
| |\ | | | | | | | | | This compiles for both maple and maple_native but is untested.
| | * simplified example headersbnewbold2010-08-252-50/+7
| | |
| * | FSMC tweaksbnewbold2010-08-071-8/+2
| | |
| * | basic working dac implementationbnewbold2010-08-071-0/+53
| | |
| * | Partially working!bnewbold2010-08-051-52/+28
| | | | | | | | | | | | | | | Documented; see ./notes/fsmc.txt. Not yet integrated into .ld scripts or fully tested
| * | partial progress on FSMC for SRAMbnewbold2010-08-051-0/+149
| |/
* | added support to enable/disable systick in wirishMarti Bolivar2010-08-311-3/+1
| |
* | simplified example headersbnewbold2010-08-312-50/+7
|/
* updated leaf demobnewbold2010-07-201-62/+116
|
* test of serialN.flush()bnewbold2010-07-201-0/+45
|
* updated vga demos to use SerialUSB.end()bnewbold2010-07-202-0/+9
|
* TMP: test updatesbnewbold2010-07-202-3/+12
|
* wirish implementation of timers plus testbnewbold2010-07-201-3/+133
|
* timers progressbnewbold2010-07-203-259/+50
| | | | examples code cleanup, more descriptive comments, more notes
* awesome vga demos, need vga+systick disabledbnewbold2010-07-202-0/+167
|
* good quality vga leaf logo; usb+systick disabledbnewbold2010-07-202-0/+436
| | | | | refactored timers and added interrupt behavior. see notes and comments... also includes a crude vga hack that doesn't use timers.
* working serialUSB with timeoutbnewbold2010-07-191-0/+135
| | | | | | | | | | | as a temporary workaround for the fact that SerialUSB is often blocking, this crude implementation makes the low-level C usbSendBytes function non-blocking (with a return code of bytes sent) and implements a 2ms timeout in the wirish write() function. also adds begin(), end(), getDTR(), getRTS(), pending(). device is still initialized the old fashioned way during init() so that, eg, autoreset will work. includes a simple multi-test program.
* Call init() before static constructorsPerry Hung2010-06-255-14/+44
| | | | | | | Commit 70a18f96b6d55d23ce58ab40ffb61f172c8f6c73 forces init() to be called before any statically allocated object constructors for the IDE. This adds the change to the examples for users not using the IDE.
* fixed QA test (pulldown)bnewbold2010-06-161-2/+2
|
* new QA testing modesbnewbold2010-06-152-0/+92
|
* helpful debug programbnewbold2010-06-111-0/+42
|
* test session serial fixbnewbold2010-06-071-3/+3
|
* fixed examplebnewbold2010-06-051-5/+5
|
* example updates...bnewbold2010-06-041-523/+524
|
* Preliminary wirish USBSerial implementation.Perry Hung2010-06-042-7/+0
| | | | | | -updated examples -removed HardwareUSB -cleaned up a handful of includes
* finish cxxabi-compat refactorbnewbold2010-04-291-7/+0
| | | | perry forgot to add/edit these...
* Fixed examples, added spi example, moved pure virtual function handlerPerry Hung2010-04-292-20/+73
| | | | out of main to cxxabi-compat.cpp.
* updated test-session with new banner art etcbnewbold2010-04-271-64/+163
|
* mostly complete new interactive hardware testing programbnewbold2010-04-211-0/+437
|
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-311-12/+17
| | | | | | 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.
* Major hierarchy reorganization; see README.bnewbold2010-03-311-0/+66
copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added