aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* i2c: Renaming, type changes, exposing i2c_init(), documentation.Marti Bolivar2011-05-192-91/+137
| | | | | | | | | | | | | | | | | Changes to struct i2c_dev members: - uint8 clk_line's type is changing and is being renamed, is now rcc_clk_id clk_id - uint8 ev_nvic_line's type is changing to nvic_irq_num - uint8 er_nvic_line's type is changing to nvic_irq_num Previous names were badly typed and inconsistent with the rest of libmaple. Exposing i2c_init(), also for consistency. Adding/editing many Doxygen comments, for documentation and general housekeeping.
* i2c.h: fixing type of i2c_dev state member.Marti Bolivar2011-05-191-1/+1
| | | | | It's an i2c_state; calling it one. Previous uint8 type was broken since I2C_STATE_ERROR is negative.
* iwdg: Doxygen commentsMarti Bolivar2011-05-192-11/+17
|
* iwdg: Naming anonymous enum.Marti Bolivar2011-05-191-1/+1
| | | | | Anonymous enum typedefed to iwdg_prescaler is now also enum iwdg_prescaler, for consistency with the rest of the library.
* gpio: Renaming for consistency.Marti Bolivar2011-05-192-59/+191
| | | | | Gave the anonymous enum typedefed to afio_exti_num the same name; renamed AFIORemapPeripheral afio_remap_peripheral.
* adc.c: adc_init() doesn't set the RCC's ADC prescaler.Marti Bolivar2011-05-192-3/+3
| | | | | You have to call rcc_set_prescaler() yourself now. adc_init() never should have been doing that anyway.
* Punting the fix of Maple Native's boardUsedPins to 0.0.12.Marti Bolivar2011-05-192-2/+2
|
* delay.h: Adding Doxygen comments for the file and delay_us().Marti Bolivar2011-05-191-1/+11
|
* bitband.h: Changing "__io" -> "volatile"Marti Bolivar2011-05-191-12/+20
| | | | | For SRAM functions, __io was in error. Everything else just for consistency.