Skip to content

Commit f3d713a

Browse files
HiFiPhileLurcy38
authored andcommitted
Fix CI & typo.
1 parent 93c40b6 commit f3d713a

File tree

7 files changed

+8
-13
lines changed

7 files changed

+8
-13
lines changed

hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The MIT License (MIT)
33
*
44
* Copyright (c) 2020, Ha Thach (tinyusb.org)
5-
* Copyright (c) 2034, HiFiPhile
5+
* Copyright (c) 2023, HiFiPhile
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a copy
88
* of this software and associated documentation files (the "Software"), to deal

hw/bsp/stm32h5/boards/stm32h573i-dk/board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The MIT License (MIT)
33
*
44
* Copyright (c) 2020, Ha Thach (tinyusb.org)
5-
* Copyright (c) 2034, HiFiPhile
5+
* Copyright (c) 2023, HiFiPhile
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a copy
88
* of this software and associated documentation files (the "Software"), to deal

hw/bsp/stm32h5/family.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ CPU_CORE ?= cortex-m33
1111
# Compiler Flags
1212
# --------------
1313
CFLAGS += \
14-
-DCFG_TUSB_MCU=OPT_MCU_STM32H5
14+
-DCFG_TUSB_MCU=OPT_MCU_STM32H5
1515

16-
# workaround to fix a build issue due to a wrong define check in hal, this define must be removed as soon as the repo is fixed
16+
# workaround to fix a build issue due to a wrong define check in hal, this define must be removed as soon as the repo is fixed
1717
CFLAGS += \
1818
-D__ARMCC_VERSION=0
1919

src/common/tusb_mcu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@
214214
#define TUP_USBIP_FSDEV
215215
#define TUP_USBIP_FSDEV_STM32
216216
#define TUP_DCD_ENDPOINT_MAX 8
217-
218217

219218
#elif TU_CHECK_MCU(OPT_MCU_STM32G4)
220219
// Device controller

src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,9 @@ void dcd_int_enable (uint8_t rhport)
357357
#else
358358
NVIC_EnableIRQ(USB_UCPD1_2_IRQn);
359359
#endif
360-
361-
360+
362361
#elif CFG_TUSB_MCU == OPT_MCU_STM32H5
363362
NVIC_EnableIRQ(USB_DRD_FS_IRQn);
364-
365363

366364
#elif CFG_TUSB_MCU == OPT_MCU_STM32WB
367365
NVIC_EnableIRQ(USB_HP_IRQn);
@@ -419,10 +417,9 @@ void dcd_int_disable(uint8_t rhport)
419417
#else
420418
NVIC_DisableIRQ(USB_UCPD1_2_IRQn);
421419
#endif
422-
420+
423421
#elif CFG_TUSB_MCU == OPT_MCU_STM32H5
424422
NVIC_DisableIRQ(USB_DRD_FS_IRQn);
425-
426423

427424
#elif CFG_TUSB_MCU == OPT_MCU_STM32WB
428425
NVIC_DisableIRQ(USB_HP_IRQn);

src/portable/st/stm32_fsdev/dcd_stm32_fsdev_pvt_st.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
#define USB_EPADDR_FIELD USB_CHEP_ADDR
138138
#define USB_CNTR_LPMODE USB_CNTR_SUSPRDY
139139
#define USB_CNTR_FSUSP USB_CNTR_SUSPEN
140-
141-
140+
141+
142142
#elif CFG_TUSB_MCU == OPT_MCU_STM32WB
143143
#include "stm32wbxx.h"
144144
#define PMA_LENGTH (1024u)

tools/get_deps.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
'hw/mcu/st/cmsis_device_h5': ['https://github.com/STMicroelectronics/cmsis_device_h5.git',
9999
'62b2cb0fbfe10c5791ee469bbde7b397c2fea8f5',
100100
'stm32h5'],
101-
102101
'hw/mcu/st/cmsis_device_l0': ['https://github.com/STMicroelectronics/cmsis_device_l0.git',
103102
'06748ca1f93827befdb8b794402320d94d02004f',
104103
'stm32l0'],

0 commit comments

Comments
 (0)