summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-12-22 17:17:36 +0700
committerGitHub <[email protected]>2020-12-22 17:17:36 +0700
commitb580a0b7f3f290b774523a24ee0fa601c4ce7b05 (patch)
tree7ec849a197ad04380ee18a0337f9d19c8a5d7212 /src/common
parent597b84f684e0526024da4c278d7e0e5b9e1d3304 (diff)
parentb3c0d417ef2b2d2ff3d00b7cdf623436ec7abf97 (diff)
Merge pull request #573 from HiFiPhile/scsi_mode_sense6_t
IAR build error fixes
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h
index 505542078..22c8366ab 100644
--- a/src/common/tusb_compiler.h
+++ b/src/common/tusb_compiler.h
@@ -102,6 +102,7 @@
#define TU_BSWAP32(u32) (__builtin_bswap32(u32))
#elif defined(__ICCARM__)
+ #include <intrinsics.h>
#define TU_ATTR_ALIGNED(Bytes) __attribute__ ((aligned(Bytes)))
#define TU_ATTR_SECTION(sec_name) __attribute__ ((section(#sec_name)))
#define TU_ATTR_PACKED __attribute__ ((packed))