feat: WASM modules based simulation in Companion (#6435)
This commit is contained in:
@@ -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}
|
||||
)
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#if defined(COLORLCD)
|
||||
|
||||
#include "simpgmspace.h"
|
||||
#include "simulib.h"
|
||||
#include "bitmaps.h"
|
||||
#include "debug.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user