JSON test platformio changes
This commit is contained in:
parent
0c2314a413
commit
7d570b4761
1 changed files with 11 additions and 1 deletions
|
@ -159,9 +159,19 @@ build_flags =
|
||||||
[env:native_test_only]
|
[env:native_test_only]
|
||||||
platform = native
|
platform = native
|
||||||
test_framework = unity
|
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 =
|
build_flags =
|
||||||
${btclock_base.build_flags}
|
${btclock_base.build_flags}
|
||||||
-D MCP_INT_PIN=8
|
-D MCP_INT_PIN=8
|
||||||
-D NEOPIXEL_PIN=34
|
-D NEOPIXEL_PIN=34
|
||||||
-D NEOPIXEL_COUNT=4
|
-D NEOPIXEL_COUNT=4
|
||||||
-D NUM_SCREENS=7
|
-D NUM_SCREENS=7
|
||||||
|
-DUNIT_TEST
|
||||||
|
-std=gnu++17
|
Loading…
Reference in a new issue