File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,21 @@ extern DigitalOut led_blue;
71
71
{(void *) 0x42000000, 0x01000000, UVISOR_TACLDEF_PERIPH}, /* FIXME */ \
72
72
}
73
73
74
+ #elif defined TARGET_MPS2
75
+
76
+ #define LED_ON true
77
+ #define LED_OFF false
78
+
79
+ #define MAIN_ACL (acl_list_name ) \
80
+ static const UvisorBoxAclItem acl_list_name[] = { \
81
+ {CMSDK_GPIO0, sizeof(*CMSDK_GPIO0), UVISOR_TACLDEF_PERIPH}, \
82
+ {CMSDK_GPIO1, sizeof(*CMSDK_GPIO1), UVISOR_TACLDEF_PERIPH}, \
83
+ {CMSDK_UART0, sizeof(*CMSDK_UART0), UVISOR_TACLDEF_PERIPH}, \
84
+ {CMSDK_UART1, sizeof(*CMSDK_UART1), UVISOR_TACLDEF_PERIPH}, \
85
+ {CMSDK_UART2, sizeof(*CMSDK_UART2), UVISOR_TACLDEF_PERIPH}, \
86
+ {CMSDK_DUALTIMER, sizeof(*CMSDK_DUALTIMER), UVISOR_TACLDEF_PERIPH}, \
87
+ }
88
+
74
89
#endif /* Target-specific settings */
75
90
76
91
#endif /* __UVISOR_HELLOWORLD_MAIN_HW_H__ */
You can’t perform that action at this time.
0 commit comments