Change the VUSB_DETECT pin from GPIO_Input to EXTI9 so we can detect Rising/Falling edge events and use the interrupt to disconnect/reconnect USB comms.
Note: The Bridge would require a routing change such that VUSB_DETECT and BM_INT aren't competing for EXTI0. This PR only modifies the BSP's for mote based bristlemouth devices.
Change the VUSB_DETECT pin from GPIO_Input to EXTI9 so we can detect Rising/Falling edge events and use the interrupt to disconnect/reconnect USB comms.
Note: The Bridge would require a routing change such that
VUSB_DETECT
andBM_INT
aren't competing forEXTI0
. This PR only modifies the BSP's for mote based bristlemouth devices.