build: Move test applications and the defaultapp

Instead of having the test apps under fw we create a new directory for
them.
This commit is contained in:
Michael Cardell Widerkrantz 2025-05-20 17:37:32 +02:00
parent 69940d2c64
commit 13641cb18b
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
14 changed files with 19 additions and 18 deletions

View file

@ -0,0 +1,19 @@
// Copyright (C) 2025 - Tillitis AB
// SPDX-License-Identifier: GPL-2.0-only
#include <tkey/debug.h>
#include <tkey/led.h>
#include "../testapp/syscall.h"
#include "../tk1/reset.h"
#include "../tk1/syscall_num.h"
int main(void)
{
struct reset rst = {0};
led_set(LED_BLUE);
rst.type = START_CLIENT;
syscall(TK1_SYSCALL_RESET, (uint32_t)&rst, 0, 0);
}