Skip to content

Commit d8d4e17

Browse files
committed
We now support some arm-none-eabi ARCHs for portability to ST devices as example
1 parent 736f6f9 commit d8d4e17

4 files changed

Lines changed: 500 additions & 11 deletions

File tree

.gitignore

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

3434
# Cmake
35-
*.cmake
35+
*.cmake.in
3636
Makefile
3737
*.dir
3838
*.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)
@@ -122,7 +124,7 @@ if(BUILD_TESTING)
122124
add_subdirectory("test")
123125
endif()
124126

125-
if(ESP_PLATFORM)
127+
if(ARM_NONE_EABI_PLATFORM OR ESP_PLATFORM)
126128
return()
127129
endif()
128130

0 commit comments

Comments
 (0)