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 -2
View File
@@ -40,7 +40,7 @@ void stackPaint()
menusStack.paint();
mixerStack.paint();
audioStack.paint();
#if defined(CLI)
#if defined(CLI) && !defined(SIMU)
cliStack.paint();
#endif
}
@@ -266,7 +266,7 @@ void tasksStart()
RTOS_CREATE_MUTEX(audioMutex);
RTOS_CREATE_MUTEX(mixerMutex);
#if defined(CLI)
#if defined(CLI) && !defined(SIMU)
cliStart();
#endif