diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2019-02-20 21:38:55 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-06 06:51:33 -0800 |
commit | 247f511b36985c840d7f70f173129e85e62fcf7f (patch) | |
tree | 737d620b87a98ef5a1bdc7a2b3a10c1ff810e76e /driver/accelgyro_lsm6dso.h | |
parent | dcd378e1cde499fe3c33efd98bd7e737b034ff77 (diff) | |
download | chrome-ec-247f511b36985c840d7f70f173129e85e62fcf7f.tar.gz |
chip: stm32: Fix GPIO base addresses for STM32F4/L
The CHIP_FAMILY_STM32L has the base addresses for the GPIO F, G
and H banks swapped w.r.t CHIP_FAMILY_STM32F4 and the alphabetic
order vs the base addresses.
Break out the CHIP_FAMILY_STM32F4 case in the registers file,
such that GPIOH bank works for both cases.
BUG=none
BRANCH=none
TEST=Use pin PH0 on STM32F412/11, observe it actually toggling
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Change-Id: I9a639c4872f6e4c5b384cdab9e3da2f626e32227
Reviewed-on: https://chromium-review.googlesource.com/1481650
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'driver/accelgyro_lsm6dso.h')
0 files changed, 0 insertions, 0 deletions