STM32: common pinmap using LL layer to access registers
this first makes pinmap.c a common file

then rework it with several goals:
- avoid gpio / irq / pin management extra dependencies
- improve performances when switching between pin modes

This change is based on LL layer to access to registers level
instead of using HAL higher level API.

The family specific functions are implemented in pin_device.h
of each family. Mostly this is F1 family that is differnt
from other ones.
ls
1 parent dce2ca7 commit 21bc5af3c25100fa234c8c864469e08ca4cfff37
@Laurent MEUNIER Laurent MEUNIER authored on 19 Jan 2017
Showing 20 changed files
View
targets/TARGET_STM/PinNamesTypes.h
View
targets/TARGET_STM/TARGET_STM32F0/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F0/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F1/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F1/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F2/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F2/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F3/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F3/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F4/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F4/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32F7/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32F7/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32L0/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32L0/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32L1/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32L1/pinmap.c 100644 → 0
View
targets/TARGET_STM/TARGET_STM32L4/pin_device.h 0 → 100644
View
targets/TARGET_STM/TARGET_STM32L4/pinmap.c 100644 → 0
View
targets/TARGET_STM/pinmap.c 0 → 100644