aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
index bd3a2b3dd..5cfe24157 100644
--- a/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
+++ b/os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h
@@ -84,7 +84,7 @@
* @brief Decodes a port identifier from a line identifier.
*/
#define PAL_PORT(line) \
- ((stm32_gpio_t *)(((uint32_t)(line)) & 0xFFFFFFF0U))
+ ((GPIO_TypeDef *)(((uint32_t)(line)) & 0xFFFFFFF0U))
/**
* @brief Decodes a pad identifier from a line identifier.
diff --git a/readme.txt b/readme.txt
index 656da6bd4..1f0755983 100644
--- a/readme.txt
+++ b/readme.txt
@@ -106,6 +106,8 @@
- RT: Merged RT4.
- NIL: Merged NIL2.
- NIL: Added STM32F7 demo.
+- HAL: Fixed PAL lines support not working for STM32 GPIOv1 (bug #730)
+ (backported to 16.1.4).
- RT: Fixed bug in chSchPreemption() function (bug #728)(backported to 2.6.10,
3.0.6 and 16.1.5).
- HAL: Fixed prescaler not initialized in STM32 ADCv1 (bug #725)