1
0
mirror of https://github.com/CovidBraceletPrj/CovidBracelet.git synced 2024-12-05 00:55:43 +01:00
This commit is contained in:
Patrick Rathje 2022-05-25 22:08:36 +02:00
parent 35571485b4
commit ac320271a0
2 changed files with 26 additions and 0 deletions

View File

@ -16,6 +16,7 @@ platform = nordicnrf52@7.0.0
board = nrf52840_dk board = nrf52840_dk
framework = zephyr framework = zephyr
monitor_speed = 115200 monitor_speed = 115200
upload_protocol = jlink
test_ignore = test_desktop test_ignore = test_desktop
build_flags = build_flags =
-Iinclude/tls_config -Iinclude/tls_config
@ -27,6 +28,13 @@ lib_deps =
prathje/exposure-notification @ ^0.1 prathje/exposure-notification @ ^0.1
lib_ignore = lib_ignore =
mbedtls mbedtls
src_filter = -<../src/main_test.c>
[env:nrf52840_dk_test]
src_filter = -<../src/main.c>
extends = env:nrf52840_dk
board = nrf52840_mdk
[env:nrf52840_mdk] [env:nrf52840_mdk]
extends = env:nrf52840_dk extends = env:nrf52840_dk

18
src/main_test.c Normal file
View File

@ -0,0 +1,18 @@
/* main.c - Application main entry point */
/*
* Copyright (c) 2020 Olaf Landsiedel
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <sys/printk.h>
void main(void) {
while(1) {
printk("Hello World!\n");
}
}