diff options
| author | HiFiPhile <[email protected]> | 2026-01-14 00:18:26 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2026-01-14 00:21:52 +0100 |
| commit | 104d3f2545e460ead95dc8482fcadcf98c3749e1 (patch) | |
| tree | 61cba48a54cea322e20a7c4f4daf009f3e34a401 /src | |
| parent | 085ec06874f5680604a75e3a721a51f962d66973 (diff) | |
bsp: add TI EK-TM4C1294XL
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/mentor/musb/musb_ti.h | 5 | ||||
| -rw-r--r-- | src/portable/mentor/musb/musb_type.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/portable/mentor/musb/musb_ti.h b/src/portable/mentor/musb/musb_ti.h index d17e836ee..68e89d77d 100644 --- a/src/portable/mentor/musb/musb_ti.h +++ b/src/portable/mentor/musb/musb_ti.h @@ -35,7 +35,10 @@ #include "TM4C123.h" #define FIFO0_WORD FIFO0 #define FIFO1_WORD FIFO1 -//#elif CFG_TUSB_MCU == OPT_MCU_TM4C129 +#elif CFG_TUSB_MCU == OPT_MCU_TM4C129 + #include "TM4C129.h" + #define FIFO0_WORD FIFOA + #define FIFO1_WORD FIFOB #elif CFG_TUSB_MCU == OPT_MCU_MSP432E4 #include "msp.h" #else diff --git a/src/portable/mentor/musb/musb_type.h b/src/portable/mentor/musb/musb_type.h index 4e448c0ed..b2f6492fa 100644 --- a/src/portable/mentor/musb/musb_type.h +++ b/src/portable/mentor/musb/musb_type.h @@ -147,7 +147,7 @@ typedef struct TU_ATTR_PACKED { TU_VERIFY_STATIC(sizeof(musb_ep_csr_t) == 16, "size is not correct"); -typedef struct TU_ATTR_PACKED { +typedef struct { //------------- Common -------------// __IO uint8_t faddr; // 0x00: FADDR union { |
