This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new cc2cb394fa9 arch/arm: Solving the ghs compiler not recognizing 0b
prefix representing binary
cc2cb394fa9 is described below
commit cc2cb394fa98bc969497741b0bb5193ad9bb65d8
Author: “duanqinshuo” <“[email protected]”>
AuthorDate: Fri Nov 7 17:57:26 2025 +0800
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 [email protected]
---
arch/arm/src/cmake/ghs.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/src/cmake/ghs.cmake b/arch/arm/src/cmake/ghs.cmake
index cce0c5aeac5..c7529eb9a96 100644
--- a/arch/arm/src/cmake/ghs.cmake
+++ b/arch/arm/src/cmake/ghs.cmake
@@ -61,6 +61,7 @@ endif()
add_link_options(-entry=__start)
add_compile_options(--no_commons -Wall -Wshadow -Wundef -nostdlib)
+add_compile_options(--option=305)
if(CONFIG_DEBUG_CUSTOMOPT)
add_compile_options(${CONFIG_DEBUG_OPTLEVEL})