How to disable "warning: binary constants are a GCC extension" ?S32 SDK

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable "warning: binary constants are a GCC extension" ?S32 SDK

1,085 Views
pjzmj2012
Contributor I

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 */

0 Kudos
2 Replies

960 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, it should be enough to remove -pedantic option. Or you can just ignore it.

pastedImage_3.png

0 Kudos

960 Views
pjzmj2012
Contributor I

in S32 Design Studio for ARM Version 2.2。

0 Kudos