mirror of
https://github.com/hathach/tinyusb.git
synced 2025-10-14 01:58:41 +08:00
Fix RTT build.
This commit is contained in:
@@ -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__)
|
||||
#define RTT_PRAGMA(P) _Pragma(#P)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user