build: Use only one Makefile for apps

- Use one common Makefile for all test device apps.
- Use a single copy of syscall.[Sh].
- Update docs for building.
This commit is contained in:
Michael Cardell Widerkrantz 2025-05-21 12:04:30 +02:00
parent 6e3034c3ce
commit ba17a2b29e
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
13 changed files with 165 additions and 403 deletions

View file

@ -1,7 +1,11 @@
// Copyright (C) 2022, 2023 - Tillitis AB
// SPDX-License-Identifier: GPL-2.0-only
#include <fw/tk1/proto.h>
#include <fw/tk1/reset.h>
#include <fw/tk1/syscall_num.h>
#include <stdint.h>
#include <syscall.h>
#include <tkey/assert.h>
#include <tkey/debug.h>
#include <tkey/io.h>
@ -9,11 +13,6 @@
#include <tkey/lib.h>
#include <tkey/tk1_mem.h>
#include "../testapp/syscall.h"
#include "../tk1/proto.h"
#include "../tk1/reset.h"
#include "../tk1/syscall_num.h"
// Converts a single hex character to its integer value
static uint8_t hex_char_to_byte(uint8_t c)
{