aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-05 14:04:12 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-05 14:04:12 +0000
commit361ad6aa408a2197a6a094380e41addeb433e66d (patch)
tree69b196f5be72742a709f341d1a679bc90bd0d80b
parentce4f94eff6a85bd8c93794d0413316e347614f2c (diff)
downloadChibiOS-361ad6aa408a2197a6a094380e41addeb433e66d.tar.gz
ChibiOS-361ad6aa408a2197a6a094380e41addeb433e66d.tar.bz2
ChibiOS-361ad6aa408a2197a6a094380e41addeb433e66d.zip
Fixed bug #730.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9247 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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)