fix(kiss): host testy se od 1. 9. neprekladaly, nikdo si toho nevsiml
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
bd60aa4322
commit
26ab83a4b7
2 files changed
+6
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "KissModem.h"
|
||||
#include <CayenneLPP.h>
|
||||
#include <cstdio> // snprintf: na desce ho tahne Arduino.h, na hostu (env:native_kiss_modem) ne
|
||||
|
||||
KissModem::KissModem(Stream& serial, mesh::LocalIdentity& identity, mesh::RNG& rng,
|
||||
mesh::Radio& radio, mesh::MainBoard& board, SensorManager& sensors)
|
||||
|
||||
@@ -220,6 +220,11 @@ lib_deps =
|
||||
[env:native_kiss_modem]
|
||||
platform = native
|
||||
test_framework = googletest
|
||||
; Stampovani i tady: `KissModem::handleGetDeviceName()` pripojuje k vyrobci
|
||||
; FIRMWARE_VERSION, jinak je deska s KISS buildem verzne neidentifikovatelna.
|
||||
; Bez tohohle skriptu se ten symbol na hostu nedefinuje a test env se od
|
||||
; 1. 9. 2026 ani neprelozil ("FIRMWARE_VERSION was not declared").
|
||||
extra_scripts = pre:tools/build_version.py
|
||||
build_flags = -std=c++17
|
||||
-I test/mocks
|
||||
-I src
|
||||
|
||||
Reference in new issue
Block a user