File tree Expand file tree Collapse file tree 7 files changed +8
-13
lines changed
stm32g0/boards/stm32g0b1nucleo Expand file tree Collapse file tree 7 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ CPU_CORE ?= cortex-m33
1111# Compiler Flags
1212# --------------
1313CFLAGS += \
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
1717CFLAGS += \
1818 -D__ARMCC_VERSION=0
1919
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 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' ],
You can’t perform that action at this time.
0 commit comments