bristlemouth / bm_protocol

Primary Bristlemouth firmware repository
https://www.bristlemouth.org/
Apache License 2.0
10 stars 7 forks source link

Sc 200744/usb detection #145

Closed victorsowa12 closed 1 month ago

victorsowa12 commented 1 month ago

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.