mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2024-12-05 00:55:43 +01:00
wip
This commit is contained in:
parent
35571485b4
commit
ac320271a0
@ -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
18
src/main_test.c
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user