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 | |
| parent | 16c92b50b07f29bd0a9ea1feb927bdcb95be8281 (diff) | |
update metrics to support bloaty csv
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/tusb_compiler.h | 6 | ||||
| -rw-r--r-- | src/portable/synopsys/dwc2/hcd_dwc2.c | 2 |
2 files changed, 4 insertions, 4 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> diff --git a/src/portable/synopsys/dwc2/hcd_dwc2.c b/src/portable/synopsys/dwc2/hcd_dwc2.c index b92448685..fc748c85f 100644 --- a/src/portable/synopsys/dwc2/hcd_dwc2.c +++ b/src/portable/synopsys/dwc2/hcd_dwc2.c @@ -821,7 +821,7 @@ static void channel_xfer_in_retry(dwc2_regs_t* dwc2, uint8_t ch_id, uint32_t hci } } -#if CFG_TUSB_DEBUG +#if CFG_TUSB_DEBUG && 0 TU_ATTR_ALWAYS_INLINE static inline void print_hcint(uint32_t hcint) { const char* str[] = { "XFRC", "HALTED", "AHBERR", "STALL", |
