Skip to content

Commit b4a67e4

Browse files
committed
Adapt main-hw.h to other examples
This makes it easier to maintain this file across different applications.
1 parent 5083a26 commit b4a67e4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/main-hw.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ extern Serial shared_pc;
2525

2626
#if defined(TARGET_K64F)
2727

28-
#define LED_ON false
29-
#define LED_OFF true
28+
#define MAIN_LED LED1
29+
#define SECURE_LED LED2
30+
#define LED_ON false
31+
#define LED_OFF true
32+
#define SECURE_SWITCH SW2
33+
#define SECURE_SWITCH_PULL PullUp
3034

3135
#define MAIN_ACL(acl_list_name) \
3236
static const UvisorBoxAclItem acl_list_name[] = { \

0 commit comments

Comments
 (0)