diff options
author | barthess <barthess@yandex.ru> | 2016-12-09 18:04:38 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2016-12-09 18:04:38 +0300 |
commit | 2b9cfccc7657157b95d1d7f2fc079207a3c883c0 (patch) | |
tree | e0132be6c9e9b0578b83ed8093807000c19b7c9f /os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h | |
parent | 53d3fd07f381f2dac8a39913ebe7062c8076cd30 (diff) | |
parent | 3abfddc447d57ac77a20a4f1d7c107c55c512eb3 (diff) | |
download | ChibiOS-Contrib-2b9cfccc7657157b95d1d7f2fc079207a3c883c0.tar.gz ChibiOS-Contrib-2b9cfccc7657157b95d1d7f2fc079207a3c883c0.tar.bz2 ChibiOS-Contrib-2b9cfccc7657157b95d1d7f2fc079207a3c883c0.zip |
Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib
Diffstat (limited to 'os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h')
-rw-r--r-- | os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h index 9012f7c..57fd268 100644 --- a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h +++ b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h @@ -36,9 +36,10 @@ //#define BOARD_PHY_RMII /* - * MCU type as defined in the TI header. + * MCU type and revision as defined in the TI header. */ #define PART_TM4C1294NCPDT +#define TARGET_IS_TM4C129_RA0 /* * Board oscillators-related settings. @@ -184,6 +185,20 @@ #define GPIOQ_PIN7 7 /* + * IO lines assignments. + */ +#define LINE_UART0_RX PAL_LINE(GPIOA, 0U) +#define LINE_UART0_TX PAL_LINE(GPIOA, 1U) + +#define LINE_LED0 PAL_LINE(GPIOF, 0U) +#define LINE_LED1 PAL_LINE(GPIOF, 4U) + +#define LINE_LED2 PAL_LINE(GPION, 0U) +#define LINE_LED3 PAL_LINE(GPION, 1U) + +#define LINE_SW1 PAL_LINE(GPIOJ, 0U) + +/* * I/O ports initial setup, this configuration is established soon after reset * in the initialization code. */ |