usb: usb_dc_stm32: Add placeholders for missing API
Fix build error when executing sanitycheck on stm32 devices. Command to execute tests: sanitycheck --device-testing --device-serial /dev/ttyACM0 -p <board> -t usb Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
06159d3bcf
commit
06ef0ca0fc
1 changed files with 14 additions and 0 deletions
|
@ -855,6 +855,20 @@ int usb_dc_ep_mps(const u8_t ep)
|
|||
return ep_state->ep_mps;
|
||||
}
|
||||
|
||||
int usb_dc_detach(void)
|
||||
{
|
||||
LOG_ERR("Not implemented");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int usb_dc_reset(void)
|
||||
{
|
||||
LOG_ERR("Not implemented");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Callbacks from the STM32 Cube HAL code */
|
||||
|
||||
void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue