c2206b05aa
Added various conditional compliations for ESP8266 to stub out missing functionality.
47 lines
1.9 KiB
INI
47 lines
1.9 KiB
INI
; 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> +<googletest/src/gtest-all.cc> +<googlemock/src/gmock_main.cc>
|
|
upload_speed = 921600
|
|
|
|
[env:googletest_esp8266]
|
|
platform = espressif8266
|
|
board = huzzah
|
|
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_esp8266]
|
|
platform = espressif8266
|
|
board = huzzah
|
|
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> +<googletest/src/gtest-all.cc> +<googlemock/src/gmock_main.cc>
|
|
upload_speed = 921600 |