Skip to content

Commit

Permalink
Update tk1_mem.h from tillitis-key1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dehanj authored and mchack-work committed Dec 18, 2024
1 parent c9ec4c4 commit 2e972ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/tkey/tk1_mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2e972ee

Please sign in to comment.