diff options
author | Chris Johnson <chrisjohnsonmail@gmail.com> | 2018-12-04 21:44:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 21:44:39 -0600 |
commit | 2c8ab3f18b2ed9fdc1742ec60b6e34248d04efe3 (patch) | |
tree | ad8950e1471e577aa76519049ca1f269a0e1f4f3 /platformio.ini | |
parent | fe14e3030737509c2b9f9adad80ff56f80e988a2 (diff) | |
download | googletest-2c8ab3f18b2ed9fdc1742ec60b6e34248d04efe3.tar.gz googletest-2c8ab3f18b2ed9fdc1742ec60b6e34248d04efe3.tar.bz2 googletest-2c8ab3f18b2ed9fdc1742ec60b6e34248d04efe3.zip |
feat: Add initial support for PlatformIO and Arduino
Diffstat (limited to 'platformio.ini')
-rw-r--r-- | platformio.ini | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 00000000..3910026b --- /dev/null +++ b/platformio.ini @@ -0,0 +1,31 @@ +; PlatformIO Project Configuration File +; +; Build options: build flags, source filter +; Upload options: custom upload port, speed and extra flags +; Library options: dependencies, extra library storages +; Advanced options: extra scripting +; +; Please visit documentation for the other options and examples +; http://docs.platformio.org/page/projectconf.html + + +[platformio] +#src_dir = ./googlemock +#src_dir = ./googletest +src_dir = . + +[env:googletest_esp32] +platform = espressif32 +board = esp32dev +framework = arduino +build_flags = -I./googletest/include -I./googletest +src_filter = +<*> -<.git/> -<googlemock> -<googletest/codegear/> -<googletest/samples> -<googletest/test/> -<googletest/xcode> -<googletest/src> +<googletest/src/gtest-all.cc> +<googletest/src/gtest_main.cc> +upload_speed = 921600 + +[env:googlemock_esp32] +platform = espressif32 +board = esp32dev +framework = arduino +build_flags = -I./googlemock/include -I./googletest/include -I./googletest -I./googlemock +src_filter = +<*> -<.git/> -<googletest> -<googlemock/test/> -<googlemock/src> +<googlemock/src/gmock-all.cc> +<googlemock/src/gmock_main.cc> +<googletest/src/gtest-all.cc> +upload_speed = 921600 |