added metro nrf52840 revA

clean up makefile
This commit is contained in:
hathach
2019-01-31 18:01:41 +07:00
parent 2f1eec7118
commit 7279bd9b32
6 changed files with 101 additions and 36 deletions

View File

@ -79,6 +79,8 @@ void usb_init(bool cdc_only)
_inited = true;
NVIC_SetPriority(USBD_IRQn, 2);
// USB power may already be ready at this time -> no event generated
// We need to invoke the handler based on the status initially
uint32_t usb_reg;