mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-11-27 10:50:32 -05:00
- Add REUSE configuration - Add compliant licenses in LICENSES/ - Add copyright SPDX tags - Run REUSE complicance check in CI - Remove spdx-ensure
18 lines
369 B
C
18 lines
369 B
C
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
|
// SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
#include <fw/tk1/reset.h>
|
|
#include <fw/tk1/syscall_num.h>
|
|
#include <syscall.h>
|
|
#include <tkey/debug.h>
|
|
#include <tkey/led.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);
|
|
}
|