How to disable "warning: binary constants are a GCC extension" ?
SCG->RCCR=SCG_RCCR_SCS(6) /* Select PLL as clock source */
|SCG_RCCR_DIVCORE(0b01) /* DIVCORE=1, div. by 2: Core clock = 160/2 MHz = 80 MHz */
|SCG_RCCR_DIVBUS(0b01) /* DIVBUS=1, div. by 2: bus clock = 40 MHz */
|SCG_RCCR_DIVSLOW(0b10); /* DIVSLOW=2, div. by 2: SCG slow, flash clock= 26 2/3 MHz */
Hi, it should be enough to remove -pedantic option. Or you can just ignore it.
in S32 Design Studio for ARM Version 2.2。