mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2025-04-18 07:57:36 +02:00
43 lines
1.1 KiB
INI
43 lines
1.1 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
|
|
|
|
[platformio]
|
|
default_envs = nrf52840_dk
|
|
|
|
[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
|
|
lib_deps = exposure-notification
|
|
|
|
extra_scripts = post:extra_script.py
|
|
upload_protocol = jlink
|
|
boot_hex_file = ./boot/nrf52840_dk.hex
|
|
|
|
[env:desktop]
|
|
platform = native
|
|
test_ignore = test_embedded
|
|
lib_compat_mode = off
|
|
lib_deps = mbedtls@~2
|
|
build_flags =
|
|
-Iinclude/desktop
|
|
-Iinclude/tls_config
|
|
-Wno-nullability-completeness
|
|
-DMBEDTLS_USER_CONFIG_FILE='"user-tls.conf"'
|
|
src_filter = --<.src/>
|
|
targets = test
|