diff options
| author | Ha Thach <[email protected]> | 2023-07-03 12:25:29 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-03 12:25:29 +0700 |
| commit | f1e006d09bd32088ab421d0b519eb89c531eda4e (patch) | |
| tree | 8c689045ba616ac31a085c8b8cfd770959d5329a /src | |
| parent | 942eb0f323c04f53e207fde995580eeee2c01283 (diff) | |
| parent | d5d1b43eb9d1a619b71879892ada7cb85ca3c00f (diff) | |
Merge pull request #2137 from hathach/cmake-ra
enhance RA family
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/renesas/rusb2/rusb2_ra.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/portable/renesas/rusb2/rusb2_ra.h b/src/portable/renesas/rusb2/rusb2_ra.h index 5be9f11ce..df4afdfa0 100644 --- a/src/portable/renesas/rusb2/rusb2_ra.h +++ b/src/portable/renesas/rusb2/rusb2_ra.h @@ -31,9 +31,22 @@ extern "C" { #endif +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-prototypes" +#pragma GCC diagnostic ignored "-Wundef" + +// extra push due to https://github.com/renesas/fsp/pull/278 +#pragma GCC diagnostic push +#endif + /* renesas fsp api */ #include "bsp_api.h" +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif + #define RUSB2_REG_BASE (0x40090000) #if defined(__ICCARM__) |
