- update nrf52 bsp for cmake

- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled
- add hcd_template.c
This commit is contained in:
hathach
2023-08-18 12:48:12 +07:00
parent 1fdf29075d
commit 9257a0f562
18 changed files with 241 additions and 24 deletions

View File

@@ -50,8 +50,7 @@ void tud_task_ext(uint32_t timeout_ms, bool in_isr);
// Task function should be called in main/rtos loop
TU_ATTR_ALWAYS_INLINE static inline
void tud_task (void)
{
void tud_task (void) {
tud_task_ext(UINT32_MAX, false);
}
@@ -80,8 +79,7 @@ bool tud_suspended(void);
// Check if device is ready to transfer
TU_ATTR_ALWAYS_INLINE static inline
bool tud_ready(void)
{
bool tud_ready(void) {
return tud_mounted() && !tud_suspended();
}