Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move GPIO support for STM32F1 to libmaple/stm32f1. | Marti Bolivar | 2012-04-11 | 1 | -0/+184 |
Make a new family header, libmaple/stm32f1/include/family/gpio.h, and supporting libmaple/stm32f1/gpio.c. Beyond registers and devices, these also include anything mentioning AFIO, which doesn't exist on F2. Update libmaple/stm32f1/rules.mk for new gpio.c. Alter gpio_write_bit() to use dev->regs->BSRR only. BRRs are not present on STM32F2. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> |