diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2015-02-16 21:53:32 +0100 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2015-02-16 21:53:32 +0100 |
commit | 5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b (patch) | |
tree | 439edebf6e5da02c4ab9c692a544e63eed5f3b99 /os/hal/boards/TI_TM4C1294_LAUNCHPAD | |
parent | 409438079521ae252586a489aa6872d7331c5d51 (diff) | |
parent | 7b73ccd1d023a9db2b96e1563bbe995806d7356b (diff) | |
download | ChibiOS-Contrib-5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b.tar.gz ChibiOS-Contrib-5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b.tar.bz2 ChibiOS-Contrib-5dab4ce8c2d24114af0ff76adf58bbb383b6ac1b.zip |
Merge branch 'tm4c129x_ethernet'
Diffstat (limited to 'os/hal/boards/TI_TM4C1294_LAUNCHPAD')
-rw-r--r-- | os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h index 37590d2..0ef06ef 100644 --- a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h +++ b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h @@ -28,6 +28,14 @@ #define BOARD_NAME "Texas Instruments TM4C1294 Launchpad" /* + * Ethernet PHY type. + */ +#define BOARD_PHY_ADDR 0 /* 0 is internal PHY */ +#define BOARD_PHY_ID 0x2000A221 /* internal PHY ID */ +/* uncomment when using RMII */ +//#define BOARD_PHY_RMII + +/* * MCU type */ //#define TM4C1290NCPDT @@ -269,18 +277,18 @@ #define VAL_GPIOE_PCTL 0x00000000 #define VAL_GPIOF_DATA 0b00000000 -#define VAL_GPIOF_DIR 0b00010001 -#define VAL_GPIOF_AFSEL 0b00000000 +#define VAL_GPIOF_DIR 0b00010011 +#define VAL_GPIOF_AFSEL 0b00010011 #define VAL_GPIOF_DR2R 0b11111111 #define VAL_GPIOF_DR4R 0b00000000 #define VAL_GPIOF_DR8R 0b00000000 #define VAL_GPIOF_ODR 0b00000000 -#define VAL_GPIOF_PUR 0b00010001 +#define VAL_GPIOF_PUR 0b00000000 #define VAL_GPIOF_PDR 0b00000000 #define VAL_GPIOF_SLR 0b00000000 #define VAL_GPIOF_DEN 0b11111111 #define VAL_GPIOF_AMSEL 0b0000 -#define VAL_GPIOF_PCTL 0x00000000 +#define VAL_GPIOF_PCTL 0x00050055 #define VAL_GPIOG_DATA 0b00000000 #define VAL_GPIOG_DIR 0b00000000 |