Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename various "stm32f2" directories "stm32f2-f4". | Marti Bolivar | 2014-11-24 | 1 | -88/+0 |
| | | | | | | Preparatory patch for adding STM32F4 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Bring back <libmaple/spi.h>. | Marti Bolivar | 2012-06-07 | 1 | -0/+88 |
Add a spi_private.h with a SPI_DEV(), for convenience. Use it in the F1 and F2 implementations. We could probably unify these with an STM32_HAVE_SPI(n) macro, but we'll leave that for the future. Most everything from F1 is portable; F2 has some additional bit definitions and a spi_get_af() routine, but that's about it. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> |