summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-08-19 13:20:16 +0700
committerhathach <[email protected]>2024-08-19 17:36:11 +0700
commit635bdc1fcea1d4d9972d4c9960a32250b0245186 (patch)
tree5ff87db052ccfb1a049a4363e48d70b180cee973
parent0c9d7a21858d246dfaadb78122c27c6e4099109c (diff)
fix ci build
-rw-r--r--src/device/dcd.h2
-rw-r--r--src/device/usbd.c1
-rw-r--r--test/hil/rpi.json2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index 66fae0802..d1d4e4897 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -181,7 +181,7 @@ bool dcd_edpt_iso_activate(uint8_t rhport, tusb_desc_endpoint_t const * desc_ep)
#else
// Close an endpoint.
-void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr);
+void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) TU_ATTR_WEAK;
#endif
diff --git a/src/device/usbd.c b/src/device/usbd.c
index d6f69fc24..67faf0da7 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1424,7 +1424,6 @@ void usbd_edpt_close(uint8_t rhport, uint8_t ep_addr) {
#else
rhport = _usbd_rhport;
- TU_ASSERT(dcd_edpt_close, /**/);
TU_LOG_USBD(" CLOSING Endpoint: 0x%02X\r\n", ep_addr);
uint8_t const epnum = tu_edpt_number(ep_addr);
diff --git a/test/hil/rpi.json b/test/hil/rpi.json
index a10fa76bd..e90e435d8 100644
--- a/test/hil/rpi.json
+++ b/test/hil/rpi.json
@@ -18,7 +18,7 @@
"name": "max32666fthr",
"uid": "0C81464124010B20FF0A08CC2C",
"flasher": "openocd_adi",
- "flasher_sn": "040917023bffc88100000000000000000000000097969906",
+ "flasher_sn": "042217023bffc88100000000000000000000000097969906",
"flasher_args": "-f interface/cmsis-dap.cfg -f target/max32665.cfg"
},
{