diff options
| author | Ha Thach <[email protected]> | 2023-07-24 21:38:46 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-24 21:38:46 +0700 |
| commit | fda92fd34a8fe0d08e5c51fab4ea38f6849051e8 (patch) | |
| tree | 93c878d68b05feae51aa672f5021005297997e30 /src/portable/microchip | |
| parent | f295aaf1851eb270070af7292d1f100f7172daf4 (diff) | |
| parent | 0b38941362b6ff2fe3fb7aba1507e82798cd9c16 (diff) | |
Merge branch 'master' into hcd-abort-xfer
Diffstat (limited to 'src/portable/microchip')
| -rw-r--r-- | src/portable/microchip/pic/dcd_pic.c | 2 | ||||
| -rw-r--r-- | src/portable/microchip/samx7x/dcd_samx7x.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/microchip/pic/dcd_pic.c b/src/portable/microchip/pic/dcd_pic.c index 6986c8317..ccc27c3c9 100644 --- a/src/portable/microchip/pic/dcd_pic.c +++ b/src/portable/microchip/pic/dcd_pic.c @@ -189,7 +189,7 @@ typedef struct // INTERNAL OBJECT & FUNCTION DECLARATION //--------------------------------------------------------------------+ // BDT(Buffer Descriptor Table) must be 256-byte aligned -CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(512) volatile static dcd_data_t _dcd; +CFG_TUD_MEM_SECTION TU_ATTR_ALIGNED(512) volatile static dcd_data_t _dcd; #if TU_PIC_INT_SIZE == 4 TU_VERIFY_STATIC( sizeof(_dcd.bdt) == 512, "size is not correct" ); diff --git a/src/portable/microchip/samx7x/dcd_samx7x.c b/src/portable/microchip/samx7x/dcd_samx7x.c index 2bbb345d6..9586df84d 100644 --- a/src/portable/microchip/samx7x/dcd_samx7x.c +++ b/src/portable/microchip/samx7x/dcd_samx7x.c @@ -77,7 +77,7 @@ static tusb_speed_t get_speed(void); static void dcd_transmit_packet(xfer_ctl_t * xfer, uint8_t ep_ix); // DMA descriptors shouldn't be placed in ITCM ! -CFG_TUSB_MEM_SECTION static dma_desc_t dma_desc[6]; +CFG_TUD_MEM_SECTION static dma_desc_t dma_desc[6]; static xfer_ctl_t xfer_status[EP_MAX]; |
