feat: WASM modules based simulation in Companion (#6435)

This commit is contained in:
Raphael Coeffic
2026-03-20 12:19:17 +10:00
committed by GitHub
parent 5f8a38bb18
commit 04a2231aee
80 changed files with 3126 additions and 2220 deletions
-1
View File
@@ -18,7 +18,6 @@ file(GLOB TEST_SRC_FILES ${RADIO_SRC_DIR}/tests/*.cpp
CONFIGURE_DEPENDS "${RADIO_SRC_DIR}/tests/*.cpp")
set(TEST_SRC_FILES ${TEST_SRC_FILES}
${CMAKE_CURRENT_SOURCE_DIR}/location.h
${SIMU_SRC}
)
+4 -6
View File
@@ -122,12 +122,10 @@ class TersePrinter : public EmptyTestEventListener {
int32_t lastAct = 0;
uint16_t simu_get_analog(uint8_t idx)
{
return 0;
}
void simuQueueAudio(const uint8_t*, uint32_t) {}
uint16_t simuGetAnalog(uint8_t) { return 0; }
void simuQueueAudio(const uint8_t *, uint32_t) {}
void simuTrace(const char* text) {}
void simuLcdNotify() {}
static char _stringResult[200];
+1
View File
@@ -25,6 +25,7 @@
#include <gtest/gtest.h>
#include "edgetx.h"
#include "simulib.h"
#include "model_init.h"
#include "switches.h"
#include "hal/switch_driver.h"
+1 -1
View File
@@ -25,7 +25,7 @@
#include <gtest/gtest.h>
#if !defined(COLORLCD)
#include "simpgmspace.h"
#include "simulib.h"
#include "simulcd.h"
#include "common/stdlcd/draw_functions.h"
+1 -1
View File
@@ -24,7 +24,7 @@
#if defined(COLORLCD)
#include "simpgmspace.h"
#include "simulib.h"
#include "bitmaps.h"
#include "debug.h"