diff --git a/platformio.ini b/platformio.ini index d2abb92..f5bde17 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 + + ; 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 \ No newline at end of file + -D NUM_SCREENS=7 + -DUNIT_TEST + -std=gnu++17 \ No newline at end of file