mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Fix RTT build.
This commit is contained in:
parent
4d1f3f4e9d
commit
c940a2f362
@ -183,6 +183,11 @@ Additional information:
|
|||||||
*
|
*
|
||||||
**********************************************************************
|
**********************************************************************
|
||||||
*/
|
*/
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#pragma GCC diagnostic ignored "-Wcast-qual"
|
||||||
|
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined __ICCARM__) || (defined __ICCRX__)
|
#if (defined __ICCARM__) || (defined __ICCRX__)
|
||||||
#define RTT_PRAGMA(P) _Pragma(#P)
|
#define RTT_PRAGMA(P) _Pragma(#P)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user