diff options
| author | hathach <[email protected]> | 2025-12-09 20:11:18 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-12-10 11:33:31 +0700 |
| commit | 919ee4b1527469e327710cff936366328f97294a (patch) | |
| tree | 4fbfef296c408e1f139e8ed42ecd7c5a9df811dd /src/common | |
| parent | 16c92b50b07f29bd0a9ea1feb927bdcb95be8281 (diff) | |
update metrics to support bloaty csv
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_compiler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index c8108264f..f20834cea 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -183,11 +183,11 @@ #define TU_BSWAP32(u32) (__builtin_bswap32(u32)) #endif - #ifndef __ARMCC_VERSION // List of obsolete callback function that is renamed and should not be defined. // Put it here since only gcc support this pragma - #pragma GCC poison tud_vendor_control_request_cb - #endif + #if !defined(__ARMCC_VERSION) && !defined(__ICCARM__) + #pragma GCC poison tud_vendor_control_request_cb + #endif #elif defined(__ICCARM__) #include <intrinsics.h> |
