diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-11-16 18:49:52 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:51 -0400 |
commit | bb657c68e77a1c597b45c35978e4c833739144e9 (patch) | |
tree | 21c0bcf8e0a6ab3c5ec91c88cae993f8cc621ca5 /examples/blinky.cpp | |
parent | 57a73728b93e297fee80574fc04c4a07ddc325df (diff) | |
download | librambutan-bb657c68e77a1c597b45c35978e4c833739144e9.tar.gz librambutan-bb657c68e77a1c597b45c35978e4c833739144e9.zip |
Move GPIO support for STM32F1 to libmaple/stm32f1.
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>
Diffstat (limited to 'examples/blinky.cpp')
0 files changed, 0 insertions, 0 deletions