chore(cmake): CMake cleanup and simplifications (#2620)

* CMake cleanup and simplifications

* Position Independent Code is need for radiolib_native

* Some more cleanup & repair

* Fix SIMU_SRC scope issue

* fix: avoid warnings due to assembler statements from StdPeriph on arm64 native
This commit is contained in:
Raphael Coeffic
2022-12-12 13:58:27 +10:00
committed by GitHub
parent 1bf415544f
commit 48be7c263b
14 changed files with 175 additions and 107 deletions
-2
View File
@@ -130,9 +130,7 @@ void applyDefaultTemplate()
#if defined(COLORLCD)
#if !defined(GTESTS)
loadDefaultLayout();
#endif
// enable switch warnings
for (int i = 0; i < NUM_SWITCHES; i++) {