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. |
---|
|
targets/TARGET_STM/PinNamesTypes.h |
---|
targets/TARGET_STM/TARGET_STM32F0/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32F0/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32F1/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32F1/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32F2/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32F2/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32F3/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32F3/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32F4/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32F4/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32F7/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32F7/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32L0/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32L0/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32L1/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32L1/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/TARGET_STM32L4/pin_device.h 0 → 100644 |
---|
targets/TARGET_STM/TARGET_STM32L4/pinmap.c 100644 → 0 |
---|
targets/TARGET_STM/pinmap.c 0 → 100644 |
---|