57 lines
1.3 KiB
INI
57 lines
1.3 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
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
# Base for embedded environments
|
|
[env]
|
|
test_framework = unity
|
|
test_filter = embedded/test_*
|
|
; debug_test = embedded/test_...
|
|
lib_extra_dirs = core/lib
|
|
; build_unflags = -std=gnu++11
|
|
; build_flags = -std=c++20
|
|
|
|
[env:Lair]
|
|
platform = renesas-ra
|
|
board = nano_r4
|
|
framework = arduino
|
|
build_unflags = -std=gnu++11
|
|
build_flags = -std=c++20
|
|
build_src_filter =
|
|
-<*>
|
|
+<mainLair.cpp>
|
|
platform_packages =
|
|
toolchain-gccarmnoneeabi@~1.120301.0
|
|
lib_deps =
|
|
arduino-libraries/Servo @ ^1.3.0
|
|
|
|
[env:Controller]
|
|
platform = renesas-ra
|
|
board = nano_r4
|
|
framework = arduino
|
|
build_unflags = -std=gnu++11
|
|
build_flags = -std=c++20
|
|
build_src_filter =
|
|
-<*>
|
|
+<mainControl.cpp>
|
|
platform_packages =
|
|
toolchain-gccarmnoneeabi@~1.120301.0
|
|
lib_deps =
|
|
arduino-libraries/Servo @ ^1.3.0
|
|
|
|
; mainControl.cpp
|
|
|
|
# Native environment (Host PC)
|
|
[env:native]
|
|
# overwrite embedded related setup
|
|
test_framework = googletest
|
|
platform=native
|
|
test_filter = native/test_*
|
|
; debug_test = native/test_...
|