Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | i2c: Renaming, type changes, exposing i2c_init(), documentation. | Marti Bolivar | 2011-05-19 | 2 | -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 Bolivar | 2011-05-19 | 1 | -1/+1 | |
| | | | | | It's an i2c_state; calling it one. Previous uint8 type was broken since I2C_STATE_ERROR is negative. | |||||
* | iwdg: Doxygen comments | Marti Bolivar | 2011-05-19 | 2 | -11/+17 | |
| | ||||||
* | iwdg: Naming anonymous enum. | Marti Bolivar | 2011-05-19 | 1 | -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 Bolivar | 2011-05-19 | 2 | -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 Bolivar | 2011-05-19 | 2 | -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 Bolivar | 2011-05-19 | 2 | -2/+2 | |
| | ||||||
* | delay.h: Adding Doxygen comments for the file and delay_us(). | Marti Bolivar | 2011-05-19 | 1 | -1/+11 | |
| | ||||||
* | bitband.h: Changing "__io" -> "volatile" | Marti Bolivar | 2011-05-19 | 1 | -12/+20 | |
| | | | | | For SRAM functions, __io was in error. Everything else just for consistency. | |||||
* | bkp.h: Adding missing register bit definitions | Marti Bolivar | 2011-05-19 | 1 | -0/+45 | |
| | ||||||
* | adc.h: Putting ADC3_BASE within an #ifdef STM32_HIGH_DENSITY | Marti Bolivar | 2011-05-17 | 1 | -0/+2 | |
| | ||||||
* | Docs: removing reference to String class. | Marti Bolivar | 2011-05-17 | 1 | -9/+2 | |
| | ||||||
* | Docs: fixing tar invocation in Unix toolchain quickstart. | Marti Bolivar | 2011-05-17 | 1 | -1/+1 | |
| | ||||||
* | Docs: Removing first person ("I'll") usage. | Marti Bolivar | 2011-05-14 | 1 | -1/+1 | |
| | ||||||
* | Docs: whitespace fascism. | Marti Bolivar | 2011-05-13 | 2 | -2/+2 | |
| | ||||||
* | Docs: Various improvements. | Marti Bolivar | 2011-05-13 | 7 | -58/+80 | |
| | ||||||
* | Docs: Updating Servo docs. | Marti Bolivar | 2011-05-13 | 3 | -89/+25 | |
| | ||||||
* | Docs: correcting "Github" -> "GitHub". | Marti Bolivar | 2011-05-13 | 4 | -11/+11 | |
| | ||||||
* | Docs: board-specific values for Maple and Maple RET6 Edition. | Marti Bolivar | 2011-05-13 | 2 | -15/+88 | |
| | ||||||
* | Docs: More complete board-specific values list. | Marti Bolivar | 2011-05-13 | 1 | -7/+34 | |
| | ||||||
* | Docs: Removing note about cutting the Maple's NJTRST<->NRST trace. | Marti Bolivar | 2011-05-13 | 2 | -10/+8 | |
| | | | | Worried about the possibility of an attractive nuisance. | |||||
* | Docs: Adding "standby" to low-power marketing. | Marti Bolivar | 2011-05-13 | 2 | -2/+2 | |
| | ||||||
* | Docs: Fixing power supply marketing mistake. | Marti Bolivar | 2011-05-13 | 2 | -13/+35 | |
| | ||||||
* | Docs: Adding 0.0.10beta download links. | Marti Bolivar | 2011-05-13 | 1 | -9/+7 | |
| | ||||||
* | More technical specs fixes. | Marti Bolivar | 2011-05-12 | 2 | -12/+48 | |
| | ||||||
* | Fixing Maple and Maple RET6 Edition technical specifications. | Marti Bolivar | 2011-05-12 | 2 | -4/+4 | |
| | | | | | Takes into account the extra GPIOs afforded by disableDebugPorts() and the extra PWM channels on the RET6. | |||||
* | libmaple: Fix warnings in libmaple source files | Perry Hung | 2011-05-12 | 8 | -19/+15 | |
| | | | | | -Add -Wall, -Werror to libmaple/* -Fix warnings | |||||
* | Fixing HardwareSPI.h mistake for non-LeafLabs boards. | Marti Bolivar | 2011-05-12 | 1 | -1/+1 | |
| | | | | "#warn" -> "#warning"; oops. | |||||
* | making docs/source/index.rst not know its version again | Marti Bolivar | 2011-05-12 | 1 | -2/+1 | |
| | ||||||
* | i2c: Various fixes, extensions, documentation. | Perry Hung | 2011-05-12 | 7 | -81/+286 | |
| | | | | | | | | | | | | -Fix clock calculations for fast-mode support -Add I2C_REMAP option to remap i2c1 (untested) -Add I2C_BUS_RESET option to reset bus on initialization -Add optional timeout parameter -Doxygen comments -Various cleanup 10-bit slave addressing is untested until I have a device that speaks such. | |||||
* | 0.0.10 beta. | Marti Bolivar | 2011-05-11 | 2 | -5/+7 | |
| | ||||||
* | Adding SPI3 definitions for Maple RET6 Edition. | Marti Bolivar | 2011-05-11 | 1 | -1/+5 | |
| | ||||||
* | Converting all files to UNIX newlines. | Marti Bolivar | 2011-05-10 | 33 | -4362/+4362 | |
| | | | | | | | Committing the results of running the following on the libmaple root directory: $ fromdos `grep --exclude-dir='[.]git' -Ilsr $'\r$' .` | |||||
* | Merge branch 'refactor' | Marti Bolivar | 2011-05-09 | 328 | -10934/+18654 | |
|\ | | | | | | | | | | | | | | | | | | | | | This merges the libmaple refactor work into master. The contents of libmaple proper (/libmaple/) are almost completely incompatible with previous APIs in master. See /docs/source/libmaple/overview.rst for more information on the new design. Wirish incompatibilities are limited to the HardwareTimer class; however, there are several new deprecations, most likely to be removed in 0.1.0. | |||||
| * | Finally getting rid of __read() and __write(). | Marti Bolivar | 2011-05-06 | 1 | -8/+1 | |
| | | | | | | | | | | This brings util.h down to some bit manipulation macros, failure routines, and asserts. | |||||
| * | IWDG include fixup. | Marti Bolivar | 2011-05-06 | 1 | -0/+1 | |
| | | ||||||
| * | Independent watchdog refactor. | Marti Bolivar | 2011-05-06 | 2 | -38/+88 | |
| | | ||||||
| * | Updating VGA examples for use with new timer API. | Marti Bolivar | 2011-05-06 | 2 | -29/+31 | |
| | | ||||||
| * | Putting updated HardwareTimer back into the build. | Marti Bolivar | 2011-05-06 | 7 | -762/+500 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HardwareTimer was removed from the build when the timer refactor was done; this redoes it in terms of the new timer.h interface. A variety of conflicting or badly designed bits were deprecated or removed. I'm still not satisfied with this interface, as it's going to make life difficult moving forward to high-density chips, where the addition of basic timers means that the capture/compare methods won't apply in some cases. However, we need to get 0.0.10 out the door, so it'll have to do for now. The docs are up to date, and contain a warning that the Wirish API isn't stable and a recommendation to use libmaple proper. | |||||
| * | Documentation link fixes. | Marti Bolivar | 2011-05-05 | 5 | -18/+25 | |
| | | | | | | | | Fixing some Sphinx error messages. | |||||
| * | Renaming "enum ExtIntTriggerMode_" -> "enum ExtIntTriggerMode". | Marti Bolivar | 2011-05-05 | 1 | -1/+1 | |
| | | | | | | | | | | Done for consistency the rest of the source. Doesn't affect any documented features. | |||||
| * | Doxygen syntax bugfixes. | Marti Bolivar | 2011-05-05 | 3 | -3/+8 | |
| | | ||||||
| * | Changing integration date of function in examples/test-timer.cpp. | Marti Bolivar | 2011-05-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | It would be nice to have something like a timer_set_period() in libmaple proper that takes the period and the clock rate as parameters, much the same as usart_set_baud_rate() does. No time for that now, though, so punt to 0.1.0. | |||||
| * | examples/test-spi-roundtrip.cpp now uses SerialUSB instead of Serial2. | Marti Bolivar | 2011-05-04 | 1 | -46/+43 | |
| | | ||||||
| * | SPI fixups. | Marti Bolivar | 2011-05-04 | 4 | -83/+47 | |
| | | | | | | | | | | | | Initial post-review changes based on thread here: https://github.com/leaflabs/libmaple/commit/77f707d7b87fce284945fc9fe21c824c18c4c93d#comments | |||||
| * | Maple Mini pin map fix. | Marti Bolivar | 2011-05-04 | 1 | -1/+1 | |
| | | | | | | | | Thanks, Xavier! | |||||
| * | Making micros() counter underrun safe. | Marti Bolivar | 2011-05-04 | 1 | -10/+7 | |
| | | | | | | | | Thanks, ala42! | |||||
| * | systick_timer_millis is volatile, not IO-mapped. | Marti Bolivar | 2011-05-04 | 2 | -2/+2 | |
| | | ||||||
| * | SerialUSB fixups. | Marti Bolivar | 2011-05-04 | 9 | -99/+67 | |
| | | ||||||
| * | Fixing USBSerial::read(void*, uint32). | Marti Bolivar | 2011-05-04 | 1 | -3/+3 | |
| | |