Skip to content

Commit 8b66c96

Browse files
committed
We now support some arm-none-eabi ARCHs for portability to ST devices as example
1 parent d5d8ff1 commit 8b66c96

File tree

4 files changed

+499
-11
lines changed

4 files changed

+499
-11
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
*.app
3333

3434
# Cmake
35-
*.cmake
3635
Makefile
3736
*.dir
3837
*.marks

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ if(BUILD_TESTING
2222
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")
2323
endif()
2424

25-
if(ESP_PLATFORM)
25+
if(ARM_NONE_EABI_PLATFORM)
26+
add_compile_options(-Wall -Wextra)
27+
elseif(ESP_PLATFORM)
2628
add_compile_options(-Wall -Wextra)
2729
elseif(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
2830
add_compile_options(-Wall -Wextra -Wpedantic)
@@ -123,7 +125,7 @@ if(BUILD_TESTING)
123125
add_subdirectory("test")
124126
endif()
125127

126-
if(ESP_PLATFORM)
128+
if(ARM_NONE_EABI_PLATFORM OR ESP_PLATFORM)
127129
return()
128130
endif()
129131

0 commit comments

Comments
 (0)