diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2016-10-30 12:27:54 +0100 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2016-10-30 12:27:54 +0100 |
commit | 568ed8d0ee46b3ada7bdf13cbb6b1a94f185d788 (patch) | |
tree | 5d2d348c4908a110477b0e0d3543a992feb85994 /os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h | |
parent | 25d71d99823bdf9b27a4308063e4936c0a7a1d65 (diff) | |
download | ChibiOS-Contrib-568ed8d0ee46b3ada7bdf13cbb6b1a94f185d788.tar.gz ChibiOS-Contrib-568ed8d0ee46b3ada7bdf13cbb6b1a94f185d788.tar.bz2 ChibiOS-Contrib-568ed8d0ee46b3ada7bdf13cbb6b1a94f185d788.zip |
Some improvements.
Diffstat (limited to 'os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h')
-rw-r--r-- | os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h b/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h index 60af102..8f7a1f6 100644 --- a/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h +++ b/os/hal/ports/TIVA/LLD/GPIO/hal_pal_lld.h @@ -421,55 +421,55 @@ typedef uint32_t ioportid_t; /* Derived constants and error checks. */ /*===========================================================================*/ -#if TIVA_GPIO_GPIOA_USE_AHB +#if TIVA_GPIO_GPIOA_USE_AHB && defined(TM4C123x) #define GPIOA GPIO_PORTA_AHB_BASE #else #define GPIOA GPIO_PORTA_BASE #endif -#if TIVA_GPIO_GPIOB_USE_AHB +#if TIVA_GPIO_GPIOB_USE_AHB && defined(TM4C123x) #define GPIOB GPIO_PORTB_AHB_BASE #else #define GPIOB GPIO_PORTB_BASE #endif -#if TIVA_GPIO_GPIOC_USE_AHB +#if TIVA_GPIO_GPIOC_USE_AHB && defined(TM4C123x) #define GPIOC GPIO_PORTC_AHB_BASE #else #define GPIOC GPIO_PORTC_BASE #endif -#if TIVA_GPIO_GPIOD_USE_AHB +#if TIVA_GPIO_GPIOD_USE_AHB && defined(TM4C123x) #define GPIOD GPIO_PORTD_AHB_BASE #else #define GPIOD GPIO_PORTD_BASE #endif -#if TIVA_GPIO_GPIOE_USE_AHB +#if TIVA_GPIO_GPIOE_USE_AHB && defined(TM4C123x) #define GPIOE GPIO_PORTE_AHB_BASE #else #define GPIOE GPIO_PORTE_BASE #endif -#if TIVA_GPIO_GPIOF_USE_AHB +#if TIVA_GPIO_GPIOF_USE_AHB && defined(TM4C123x) #define GPIOF GPIO_PORTF_AHB_BASE #else #define GPIOF GPIO_PORTF_BASE #endif -#if TIVA_GPIO_GPIOG_USE_AHB +#if TIVA_GPIO_GPIOG_USE_AHB && defined(TM4C123x) #define GPIOG GPIO_PORTG_AHB_BASE #else #define GPIOG GPIO_PORTG_BASE #endif -#if TIVA_GPIO_GPIOH_USE_AHB +#if TIVA_GPIO_GPIOH_USE_AHB && defined(TM4C123x) #define GPIOH GPIO_PORTH_AHB_BASE #else #define GPIOH GPIO_PORTH_BASE #endif -#if TIVA_GPIO_GPIOJ_USE_AHB +#if TIVA_GPIO_GPIOJ_USE_AHB && defined(TM4C123x) #define GPIOJ GPIO_PORTJ_AHB_BASE #else #define GPIOJ GPIO_PORTJ_BASE |