diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2015-03-03 21:15:21 +0100 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2015-03-03 21:15:21 +0100 |
commit | 555d45f70a51130990ca8cb2c21ab88451566c31 (patch) | |
tree | b7253837f7a8783c1f1d3d7da119de46acc360e8 /demos | |
parent | 12d6c494d337e37fdc9d3d7c3a2211f03755fc17 (diff) | |
download | ChibiOS-Contrib-555d45f70a51130990ca8cb2c21ab88451566c31.tar.gz ChibiOS-Contrib-555d45f70a51130990ca8cb2c21ab88451566c31.tar.bz2 ChibiOS-Contrib-555d45f70a51130990ca8cb2c21ab88451566c31.zip |
Implemented AHB access for GPIOA - GPIOJ for TM4C123x devices. On TM4C129x devices the AHB is the only used bus for GPIO.
Replaced the nops after starting the gpio peripheral clocks with a busy wait until all GPIO peripherals are ready.
Added Sub-Family identifier for TM4C123x devices.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/TIVA/RT-TM4C123G-LAUNCHPAD/mcuconf.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/TIVA/RT-TM4C123G-LAUNCHPAD/mcuconf.h b/demos/TIVA/RT-TM4C123G-LAUNCHPAD/mcuconf.h index e5f4d7d..bc03f5a 100644 --- a/demos/TIVA/RT-TM4C123G-LAUNCHPAD/mcuconf.h +++ b/demos/TIVA/RT-TM4C123G-LAUNCHPAD/mcuconf.h @@ -25,6 +25,19 @@ TIVA_RCC_PWMDIV_8) /* + * GPIO driver system settings. + */ +#define TIVA_GPIO_GPIOA_USE_AHB TRUE +#define TIVA_GPIO_GPIOB_USE_AHB TRUE +#define TIVA_GPIO_GPIOC_USE_AHB TRUE +#define TIVA_GPIO_GPIOD_USE_AHB TRUE +#define TIVA_GPIO_GPIOE_USE_AHB TRUE +#define TIVA_GPIO_GPIOF_USE_AHB TRUE +#define TIVA_GPIO_GPIOG_USE_AHB FALSE +#define TIVA_GPIO_GPIOH_USE_AHB FALSE +#define TIVA_GPIO_GPIOJ_USE_AHB FALSE + +/* * GPT driver system settings. */ #define TIVA_GPT_USE_GPT0 FALSE |