diff options
| author | hathach <[email protected]> | 2023-01-18 13:17:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-01-18 13:17:53 +0700 |
| commit | 84be70baf5eaada4317c0483c33580bcde4116de (patch) | |
| tree | 2275a7bf35c74af287666c02acf6456e9b24db24 /examples/device/board_test/src | |
| parent | 075095554aee6b72f7678c4db881162f533cbb13 (diff) | |
fix iar build with board_test
Diffstat (limited to 'examples/device/board_test/src')
| -rw-r--r-- | examples/device/board_test/src/tusb_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/device/board_test/src/tusb_config.h b/examples/device/board_test/src/tusb_config.h index 5aea4fd2c..2c2eb5280 100644 --- a/examples/device/board_test/src/tusb_config.h +++ b/examples/device/board_test/src/tusb_config.h @@ -30,6 +30,11 @@ extern "C" { #endif +// board_test example is special example that doesn't enable device or host stack +// This can cause some TinyUSB API missing, this define hack to allow us to fill those API +// to pass the compilation process +#define tud_int_handler(x) + //-------------------------------------------------------------------- // COMMON CONFIGURATION //-------------------------------------------------------------------- |
