aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Docs: Updating pinmode.rstMarti Bolivar2011-05-271-22/+25
| | | | Convert to board-specific values; make the language friendlier.
* Docs: Correct i2c.rst errors.Marti Bolivar2011-05-271-10/+11
| | | | | 10-bit addressing has now been implemented. Slave mode is unimplemented, however.
* usart.h: Allow the environment to determine USART_RX_BUF_SIZE.Marti Bolivar2011-05-271-0/+2
| | | | | | | Place the USART_RX_BUF_SIZE #define within an #ifndef to allow users to pick their own buffer size. See http://forums.leaflabs.com/topic.php?id=803
* Docs: Fix implication that Maple Rev 1 didn't have a battery charger.Marti Bolivar2011-05-271-1/+0
| | | | | It did, but there was no jumper to cut power from the charging circuit, resulting in weird blinky behavior that was fixed in Rev 3.
* Docs: Include D3 in low-noise analog pins on Mini.Marti Bolivar2011-05-271-11/+6
|
* Docs: Fix ADC voltage source error.Marti Bolivar2011-05-272-6/+7
| | | | Vdda, not Vcc.
* openocd: Add missing filePerry Hung2011-05-271-0/+16
| | | | | Forgot openocd support script in 0e5eb75c80bd8036bf85bfe0cce09d1fce56f50a.
* Fix millis() example.Marti Bolivar2011-05-261-1/+1
|
* openocd: Fix repeated JTAG flash failure, use alternate reset configPerry Hung2011-05-262-7/+13
| | | | | | | | | | | | | | | | | | 1) Reset, halt, and unprotect the the flash before writing to it. This fixes a bug in which every other flash attempt would fail. 2) Maple R5 and below have NRST and JTNRST erroneously tied together, resulting in a full TAP and system reset when a reset is asserted. This prevents the 'reset halt' command from working. This can be fixed hard-hack style by cutting the trace out of JTNRST. Users of the Leaf Maple JTAG adapter will also need to cut the trace between TRST and SRST. 3) Assuming you have a functioning 'reset halt' setup (see 2), the 'make debug' command now halts the chip and waits for a gdb connection before proceeding execution.
* openocd: Detect openocd versionPerry Hung2011-05-266-3/+3
| | | | | Small script to detect the openocd version and choose the appropriate debug/flash script for use with JTAG debugging.
* Remove notes/pin-mapping.txtMarti Bolivar2011-05-261-163/+0
| | | | Its content has been moved into the main docs tree.
* Docs: board-values.rst touchup.Marti Bolivar2011-05-261-3/+0
|
* Make docs say their version is 'custom-build'.Marti Bolivar2011-05-261-1/+2
| | | | | This should get changed on each release branch when the time comes. A FIXME comment has been added to that effect.
* Docs: Move toggleLED() and waitForButtonPress() examples.Marti Bolivar2011-05-263-32/+60
| | | | | These two examples from board-values.rst really belong in the documentation for the functions they reference.
* Docs: Add Maple Mini informationMarti Bolivar2011-05-268-42/+396
| | | | | Flesh out and uncomment maple-mini.rst. Add links to pieces of it in various appropriate places throughout the rest of the documentation.
* Docs: fix and standardize Maple and RET6 hardware pages.Marti Bolivar2011-05-262-266/+372
| | | | | | | | | | Pick a standard layout for the information and fix mistakes. Looks like some of these errors were copy-pasted in from the old HTML documentation, some crept in due to API changes, and some were just wrong. I've checked all the claims against the datasheets and source code, so we should be in good shape now.
* Docs: Fix several board-specific values.Marti Bolivar2011-05-266-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ugh. Fix BOARD_NR_ADC_PINS and boardADCPins on Maple, Maple Mini, and Maple RET6 Edition: Maple and Maple RET6 Ed. don't have ADC on pin 3. Seems likely that the error was due to AIN being missing on the silkscreen. They also have ADC on pin 13. This is not really true due to the voltage drop across the built-in LED. Maple Mini really should not include BOARD_LED_PIN among its ADC pins, since it's not broken out to a header. Fix BOARD_NR_PWM_PINS and boardPWMPins on Maple and RET6 Ed: Both boards falsely include pin 25 as a PWM pin. Maple RET6 Edition also lacks some PWM pins. Fix BOARD_NR_SPI on Maple RET6 Edition: SPI3 uses PB4, which is unusable since it's tied to NRST. This means that SPI3 is not available on the RET6 edition. Decreasing BOARD_NR_SPI to 2 to accomodate this. Leave the BOARD_SPI3_*_PIN defines intact so as not to further clutter the rest of the library with RET6-specific wrinkles.
* Docs: lang/api/constants.rst touchupsMarti Bolivar2011-05-261-50/+44
| | | | Mostly, make it less pedantic. Also some stylistic and content fixes.
* Docs: troubleshooting.rst touchupsMarti Bolivar2011-05-261-28/+28
|
* Docs: libmaple overview.rst fixes.Marti Bolivar2011-05-261-30/+24
|
* Tweak some register map base pointers.Marti Bolivar2011-05-269-18/+18
| | | | | | | | | | | | Replace #define XXX_BASE ((xxx_reg_map*)0xDEADBEEF) with #define XXX_BASE ((struct xxx_reg_map*)0xDEADBEEF) for increased GDB-friendliness.
* Docs: maple-ret6.rst touchups.Marti Bolivar2011-05-261-2/+4
|
* Generifying maple-ide-install.rst.Marti Bolivar2011-05-231-19/+25
| | | | | | | In line with some changes made earlier today to the maple-ide repo, the master libmaple branch no longer points to a particular IDE release as "current", since there's no way it can know. From now on, only release branches will contain the blessed download links.
* RET6 Edition docs typo.Marti Bolivar2011-05-231-1/+1
|
* Servo docs fixups.Marti Bolivar2011-05-231-4/+7
|
* Getting rid of the last 0.0.10 TODO.Marti Bolivar2011-05-231-1/+0
| | | | We should be good to go.
* 0.0.10 docs RCMarti Bolivar2011-05-2312-140/+172
|
* analogWrite() docs typoMarti Bolivar2011-05-231-1/+1
|
* Moving Doxygen comments from declarations to definitions.Marti Bolivar2011-05-236-10/+9
|
* adc.c: Giving adc_dev variables static linkage.Marti Bolivar2011-05-231-2/+2
|
* adc: Moving ADC[123] Doxygen comments to definitionsMarti Bolivar2011-05-232-3/+3
|
* spi.h: DoxygenMarti Bolivar2011-05-201-3/+3
|
* HardwareSerial.h: adding documentation TODO for 0.1.0Marti Bolivar2011-05-201-0/+2
|
* dma: DoxygenMarti Bolivar2011-05-202-4/+5
|
* timer.h: DoxygenMarti Bolivar2011-05-201-10/+23
|
* usart.h: Doxygen.Marti Bolivar2011-05-201-6/+6
|
* i2c.h: Documentation fixes.Marti Bolivar2011-05-201-31/+31
|
* usart: Moving Doxygen comments to points of definitionMarti Bolivar2011-05-192-5/+5
| | | | In keeping with convention.
* timer: Shortening long names.Marti Bolivar2011-05-192-22/+19
| | | | | Various names in timer.h were too unwieldy. Making these slightly more bearable.
* timer: Moving some Doxygen comments.Marti Bolivar2011-05-192-8/+8
| | | | From declaration to definition, to keep with convention.
* timer.h: Naming tweaks.Marti Bolivar2011-05-191-4/+4
| | | | | | Renamed timer_reg_map_union -> timer_reg_map. Named the anonymous timer_type.
* systick.h: Doxygen commentsMarti Bolivar2011-05-191-1/+14
|
* spi: Comment fixupsMarti Bolivar2011-05-192-3/+3
| | | | | Moving SPIn Doxygen comments to point of definition in keeping with libmaple conventions.
* spi.h: Naming anonymous enums.Marti Bolivar2011-05-191-4/+4
| | | | Named spi_mode, spi_baud_rate, spi_cfg_flag, spi_interrupt.
* scb.h: Comment/line length fixupsMarti Bolivar2011-05-191-18/+20
|
* ring_buffer.h: Comment fix.Marti Bolivar2011-05-191-1/+1
|
* rcc.h: Better names for the prescaler divider enums.Marti Bolivar2011-05-191-8/+8
| | | | | | | | | | | The various clock divider enums suitable for passing to rcc_set_prescaler() were badly named. They have been renamed as follows: * adc_prescaler_divider -> rcc_adc_divider * apb1_prescaler_divider -> rcc_apb1_divider * apb2_prescaler_divider -> rcc_apb2_divider * ahb_prescaler_divider -> rcc_ahb_divider
* rcc.h: Naming anonymous rcc_clk_id enumMarti Bolivar2011-05-191-1/+1
|
* pwr.h: Whitespace/comment cleanupsMarti Bolivar2011-05-191-10/+26
|
* pwr: removing unused device.Marti Bolivar2011-05-192-16/+0
|