2020-08-18 22:46:49 +02:00
|
|
|
; 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
|
|
|
|
|
2020-08-20 21:31:56 +02:00
|
|
|
[platformio]
|
|
|
|
default_envs = nrf52840_dk
|
2020-08-18 22:46:49 +02:00
|
|
|
|
|
|
|
[env:nrf52840_dk]
|
|
|
|
platform = nordicnrf52
|
|
|
|
board = nrf52840_dk
|
|
|
|
framework = zephyr
|
|
|
|
monitor_speed = 115200
|
|
|
|
test_ignore = test_desktop
|
|
|
|
build_flags =
|
|
|
|
-Iinclude/tls_config
|
|
|
|
# For testing: -DUNITY_EXCLUDE_SETJMP_H=1
|
|
|
|
-DEN_INCLUDE_ZEPHYR_DEPS=1
|
|
|
|
-DEN_INIT_MBEDTLS_ENTROPY=0
|
2020-11-10 17:31:39 +01:00
|
|
|
lib_deps =
|
|
|
|
prathje/exposure-notification @ ^0.1
|
2020-11-10 21:12:30 +01:00
|
|
|
lib_ignore =
|
2020-11-10 21:16:13 +01:00
|
|
|
mbedtls
|
2020-11-10 21:12:30 +01:00
|
|
|
|
2020-08-18 22:46:49 +02:00
|
|
|
[env:desktop]
|
|
|
|
platform = native
|
|
|
|
test_ignore = test_embedded
|
|
|
|
lib_compat_mode = off
|
2020-11-10 17:31:39 +01:00
|
|
|
lib_deps =
|
|
|
|
mbedtls@~2
|
|
|
|
prathje/exposure-notification @ ^0.1
|
2020-08-18 22:46:49 +02:00
|
|
|
build_flags =
|
|
|
|
-Iinclude/desktop
|
|
|
|
-Iinclude/tls_config
|
|
|
|
-Wno-nullability-completeness
|
|
|
|
-DMBEDTLS_USER_CONFIG_FILE='"user-tls.conf"'
|
|
|
|
src_filter = --<.src/>
|
2020-08-20 21:31:56 +02:00
|
|
|
targets = test
|