From 2e972eed0d9b2f3b7ca4b2239616f338e6f561d9 Mon Sep 17 00:00:00 2001 From: Daniel Jobson Date: Wed, 27 Nov 2024 11:07:45 +0100 Subject: [PATCH] Update tk1_mem.h from tillitis-key1 Synced at commit 5b49d80. - Remove the UART config bitrate, data bits and stop bits. They are only configurable at build time. - Deprecate *_SWITCH_APP, pending removal. New name is *_SYSTEM_MODE. --- include/tkey/tk1_mem.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/tkey/tk1_mem.h b/include/tkey/tk1_mem.h index d30154e..fb9fa82 100644 --- a/include/tkey/tk1_mem.h +++ b/include/tkey/tk1_mem.h @@ -83,9 +83,6 @@ #define TK1_MMIO_UDS_LAST 0xc200005c #define TK1_MMIO_UART_BASE 0xc3000000 -#define TK1_MMIO_UART_BIT_RATE 0xc3000040 -#define TK1_MMIO_UART_DATA_BITS 0xc3000044 -#define TK1_MMIO_UART_STOP_BITS 0xc3000048 #define TK1_MMIO_UART_RX_STATUS 0xc3000080 #define TK1_MMIO_UART_RX_DATA 0xc3000084 #define TK1_MMIO_UART_RX_BYTES 0xc3000088 @@ -106,7 +103,9 @@ #define TK1_MMIO_TK1_NAME1 0xff000004 #define TK1_MMIO_TK1_VERSION 0xff000008 +// Deprecated - use _SYSTEM_MODE_CTRL instead #define TK1_MMIO_TK1_SWITCH_APP 0xff000020 +#define TK1_MMIO_TK1_SYSTEM_MODE_CTRL 0xff000020 #define TK1_MMIO_TK1_LED 0xff000024 #define TK1_MMIO_TK1_LED_R_BIT 2