Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libmaple/stm32f1/spi.c: cosmetics. | Marti Bolivar | 2012-04-11 | 1 | -15/+16 |
| | | | | | | Fix whitespace, move some definitions around. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | libmaple/spi: Fixups, move nonportable bits into libmaple/stm32f1. | Marti Bolivar | 2012-04-11 | 1 | -0/+97 |
Standard family support refactoring: add STM32F1 series spi.h, spi.c, and move anything that won't port to STM32F2 there. As part of a general effort to be cleaner, remove the dependency on libmaple/util.h from libmaple/spi.h by not using BIT(). Also forward declare struct gpio_dev for spi_gpio_cfg() to remove that include. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> |