- 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

@@ -64,7 +64,10 @@
#if CFG_TUH_VENDOR
#include "class/vendor/vendor_host.h"
#endif
#else
#ifndef tuh_int_handler
#define tuh_int_handler(_x)
#endif
#endif
//------------- DEVICE -------------//
@@ -118,6 +121,10 @@
#if CFG_TUD_BTH
#include "class/bth/bth_device.h"
#endif
#else
#ifndef tud_int_handler
#define tud_int_handler(_x)
#endif
#endif