From 361ad6aa408a2197a6a094380e41addeb433e66d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 5 Apr 2016 14:04:12 +0000 Subject: [PATCH] Fixed bug #730. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9247 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/GPIOv1/hal_pal_lld.h | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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)