package embox.driver.usb.gadget.udc

@BuildDepends(third_party.bsp.st_bsp_api)
module stm32f4_udc {
	option string log_level="LOG_ERR"

	source "stm32f4_udc.c"

	depends usb_stm32f4
}

@BuildDepends(third_party.bsp.st_bsp_api)
module usb_stm32f4 {
	option number irq = 67 //OTG_FS_IRQn

	@IncludeExport(path="drivers/udc/stm32", target_name="usb_stm32.h")
	source "usb_stm32f4.h"

	source "usb_stm32f4.c"
}
