JSON test platformio changes

This commit is contained in:
Djuri Baars 2024-12-19 22:09:48 +01:00
parent 0c2314a413
commit 7d570b4761

View file

@ -159,9 +159,19 @@ build_flags =
[env:native_test_only]
platform = native
test_framework = unity
lib_deps =
ArduinoJson
fabiobatsilva/ArduinoFake@^0.4.0
lib_compat_mode = off
test_build_src = yes
build_src_filter =
-<*> ; exclude all files by default
+<lib/bitaxe_fetch.cpp> ; include only specific files you need
build_flags =
${btclock_base.build_flags}
-D MCP_INT_PIN=8
-D NEOPIXEL_PIN=34
-D NEOPIXEL_COUNT=4
-D NUM_SCREENS=7
-DUNIT_TEST
-std=gnu++17