Skip to content

Commit 91799b0

Browse files
committed
Merge branch 'master' into fork/HiFiPhile/rt1170
2 parents 29fa07d + 7c7b30f commit 91799b0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
2121
BUILDSYSTEM_TOOLCHAIN=(
2222
"cmake arm-clang"
23-
"cmake arm-iar"
2423
"make aarch64-gcc"
2524
"make arm-gcc"
2625
"make msp430-gcc"
@@ -29,6 +28,11 @@ jobs:
2928
"cmake esp-idf"
3029
)
3130
31+
# only build IAR if not forked PR, since IAR token is not shared
32+
if [ -z $CIRCLE_PR_USERNAME ]; then
33+
BUILDSYSTEM_TOOLCHAIN+=("cmake arm-iar")
34+
fi
35+
3236
RESOURCE_LARGE='["nrf", "imxrt", "stm32f4", "stm32h7"]'
3337
3438
gen_build_entry() {

src/portable/synopsys/dwc2/dcd_dwc2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#if TU_CHECK_MCU(OPT_MCU_GD32VF103)
4545
#define DWC2_EP_COUNT(_dwc2) DWC2_EP_MAX
4646
#else
47-
#define DWC2_EP_COUNT(_dwc2) ((_dwc2)->ghwcfg2_bm.num_dev_ep)
47+
#define DWC2_EP_COUNT(_dwc2) ((_dwc2)->ghwcfg2_bm.num_dev_ep + 1)
4848
#endif
4949

5050
//--------------------------------------------------------------------+

0 commit comments

Comments
 (0)