Skip to content

Commit b384bcc

Browse files
committed
stmhal: Remove unused usbdev files, and move used ones up a dir.
The unused files are from the ST demos for different USB classes and are not needed for the stmhal port.
1 parent fb2006c commit b384bcc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+56
-12659
lines changed

stmhal/Makefile

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ INC += -I$(BUILD)
3737
INC += -I$(CMSIS_DIR)/inc
3838
INC += -I$(CMSIS_DIR)/devinc
3939
INC += -I$(HAL_DIR)/inc
40-
INC += -I$(USBDEV_DIR)/core/inc -I$(USBDEV_DIR)/class/cdc_msc_hid/inc
40+
INC += -I$(USBDEV_DIR)/core/inc -I$(USBDEV_DIR)/class/inc
4141
#INC += -I$(USBHOST_DIR)
4242
INC += -I../$(FATFS_DIR)
4343
INC += -I../lib/mp-readline
@@ -182,26 +182,10 @@ SRC_USBDEV = $(addprefix $(USBDEV_DIR)/,\
182182
core/src/usbd_core.c \
183183
core/src/usbd_ctlreq.c \
184184
core/src/usbd_ioreq.c \
185-
class/cdc_msc_hid/src/usbd_cdc_msc_hid.c \
186-
class/cdc_msc_hid/src/usbd_msc_bot.c \
187-
class/cdc_msc_hid/src/usbd_msc_scsi.c \
188-
class/cdc_msc_hid/src/usbd_msc_data.c \
189-
)
190-
191-
# class/cdc/src/usbd_cdc.c \
192-
class/msc/src/usbd_msc.c \
193-
# usbd_core.c \
194-
usbd_ioreq.c \
195-
usbd_req.c \
196-
usbd_usr.c \
197-
usbd_desc.c \
198-
usbd_pyb_core.c \
199-
usbd_pyb_core2.c \
200-
usbd_cdc_vcp.c \
201-
usbd_msc_bot.c \
202-
usbd_msc_data.c \
203-
usbd_msc_scsi.c \
204-
usbd_storage_msd.c \
185+
class/src/usbd_cdc_msc_hid.c \
186+
class/src/usbd_msc_bot.c \
187+
class/src/usbd_msc_scsi.c \
188+
class/src/usbd_msc_data.c \
205189
)
206190

207191
ifeq ($(MICROPY_PY_WIZNET5K),1)

stmhal/usbdev/class/AUDIO/Inc/usbd_audio.h

Lines changed: 0 additions & 201 deletions
This file was deleted.

stmhal/usbdev/class/AUDIO/Inc/usbd_audio_if_template.h

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)