mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2025-04-13 01:51:19 +02:00
Add device tree overlay and ini entry for nrf52840_mdk
This commit is contained in:
parent
3bb569ccf4
commit
c554a89711
@ -28,6 +28,23 @@ lib_deps =
|
|||||||
lib_ignore =
|
lib_ignore =
|
||||||
mbedtls
|
mbedtls
|
||||||
|
|
||||||
|
[env:nrf52840_mdk]
|
||||||
|
platform = nordicnrf52
|
||||||
|
board = nrf52840_mdk
|
||||||
|
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
|
||||||
|
-DCOVID_MEASURE_PERFORMANCE=0 # Used to measure device performance
|
||||||
|
lib_deps =
|
||||||
|
prathje/exposure-notification @ ^0.1
|
||||||
|
lib_ignore =
|
||||||
|
mbedtls
|
||||||
|
|
||||||
[env:desktop]
|
[env:desktop]
|
||||||
platform = native
|
platform = native
|
||||||
test_ignore = test_embedded
|
test_ignore = test_embedded
|
||||||
|
14
zephyr/nrf52840_mdk.overlay
Normal file
14
zephyr/nrf52840_mdk.overlay
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
/ {
|
||||||
|
buttons {
|
||||||
|
compatible = "gpio-keys";
|
||||||
|
button1: button_1 {
|
||||||
|
gpios = <&gpio0 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
||||||
|
label = "button1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
aliases {
|
||||||
|
sw1 = &button1;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user