Merge pull request #1178 from kasjer/kasjer/fix-mynwet-build

broadcom/dcd: Fix mynewt build
This commit is contained in:
Ha Thach 2021-11-05 11:58:21 +07:00 committed by GitHub
commit 5fcd0e284b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -29,6 +29,10 @@
#include "tusb_option.h"
#if TUSB_OPT_DEVICE_ENABLED && \
(CFG_TUSB_MCU == OPT_MCU_BCM2711 ) \
#include "synopsys_common.h"
#include "broadcom/interrupts.h"
@ -37,10 +41,6 @@
// We disable SOF for now until needed later on
#define USE_SOF 0
#if TUSB_OPT_DEVICE_ENABLED && \
(CFG_TUSB_MCU == OPT_MCU_BCM2711 ) \
// EP_MAX : Max number of bi-directional endpoints including EP0
// EP_FIFO_SIZE : Size of dedicated USB SRAM
#if CFG_TUSB_MCU == OPT_MCU_BCM2711