File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
src/portable/microchip/samhs Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 2727
2828#include "tusb_option.h"
2929
30- // #if CFG_TUD_ENABLED && TU_CHECK_MCU(OPT_MCU_SAMX7X, OPT_MCU_SAM3U)
31- #if 1
30+ #if CFG_TUD_ENABLED && TU_CHECK_MCU (OPT_MCU_SAMX7X )
3231
3332#include "device/dcd.h"
3433#include "sam.h"
3534
36- // #if TU_CHECK_MCU(OPT_MCU_SAMX7X)
35+ #if TU_CHECK_MCU (OPT_MCU_SAMX7X )
3736#include "samhs_samx7x.h"
38- // #endif
37+ #endif
3938//--------------------------------------------------------------------+
4039// MACRO TYPEDEF CONSTANT ENUM DECLARATION
4140//--------------------------------------------------------------------+
Original file line number Diff line number Diff line change @@ -2089,11 +2089,11 @@ typedef struct
20892089 __O uint32_t SAMHS_SFR ; /**< (USBHS Offset: 0x80C) General Status Set Register */
20902090} samhs_reg_t ;
20912091
2092- #define SAMHS_BASE_REG (0x40038000U) /**< \brief (USBHS) Base Address */
2092+ #define SAMHS_BASE_REG (0x40038000U) /**< \brief (USBHS) Base Address */
20932093
2094- #define EP_MAX 10
2094+ #define EP_MAX 10
20952095
2096- #define FIFO_RAM_ADDR 0xA0100000U
2096+ #define FIFO_RAM_ADDR ( 0xA0100000U)
20972097
20982098// Errata: The DMA feature is not available for Pipe/Endpoint 7
20992099#define EP_DMA_SUPPORT (epnum ) (epnum >= 1 && epnum <= 6)
You can’t perform that action at this time.
0 commit comments