File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 17
17
#ifndef __UVISOR_HELLOWORLD_MAIN_HW_H__
18
18
#define __UVISOR_HELLOWORLD_MAIN_HW_H__
19
19
20
- /* The vector containing the challenge is shared with the push-button ISR, so
21
- * that it can attempt to access it from an IRQ context. */
20
+ #if defined(TARGET_K64F )
22
21
23
- #define LED_ON true
24
- #define LED_OFF false
25
-
26
- #define MAIN_LED LED_BLUE
27
- #define HALT_LED LED_RED
28
-
29
- #define MAIN_BTN SW2
30
- #define MAIN_BTN_PUPD PullUp
22
+ #define MAIN_LED LED1
23
+ #define SECURE_LED LED2
24
+ #define LED_ON false
25
+ #define LED_OFF true
26
+ #define SECURE_SWITCH SW2
27
+ #define SECURE_SWITCH_PULL PullUp
31
28
32
29
#define MAIN_ACL (acl_list_name ) \
33
30
static const UvisorBoxAclItem acl_list_name[] = { \
48
45
{SPI0, sizeof(*SPI0), UVISOR_TACLDEF_PERIPH}, \
49
46
}
50
47
48
+ #else /* Target-specific settings */
49
+
50
+ #error "Unsupported target. Checkout the README.md file for the list of supported targets for this app."
51
+
52
+ #endif /* Target-specific settings */
53
+
51
54
#endif /* __UVISOR_HELLOWORLD_MAIN_HW_H__ */
You can’t perform that action at this time.
0 commit comments