Skip to content

Commit cc2cb39

Browse files
“duanqinshuo”xiaoxiang781216
authored andcommitted
arch/arm: Solving the ghs compiler not recognizing 0b prefix representing binary
This patch solving the ghs compiler not recognizing 0b prefix representing binary Signed-off-by: Qinshuo Duan duanqinshuo@lixiang.com
1 parent f82f71d commit cc2cb39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/src/cmake/ghs.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ endif()
6161

6262
add_link_options(-entry=__start)
6363
add_compile_options(--no_commons -Wall -Wshadow -Wundef -nostdlib)
64+
add_compile_options(--option=305)
6465

6566
if(CONFIG_DEBUG_CUSTOMOPT)
6667
add_compile_options(${CONFIG_DEBUG_OPTLEVEL})

0 commit comments

Comments
 (0)