Skip to content

Commit 4c4c8f7

Browse files
authored
Merge pull request #24 from niklas-arm/backwards_comp
#23 with blacklist
2 parents 4437a56 + d7da75c commit 4c4c8f7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

source/led.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ UVISOR_BOX_HEAPSIZE(3072);
3737
UVISOR_BOX_MAIN(my_box_main, osPriorityNormal, 1024);
3838
UVISOR_BOX_CONFIG(my_box, acl, 1024, my_box_context);
3939

40+
/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
41+
* when mbed OS is updated. */
42+
#ifdef __uvisor_ctx
43+
#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
44+
#endif
45+
4046
static void my_box_switch_irq(void)
4147
{
4248
/* Flip LED state. */

test/filters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"blacklist" : [ {
3-
"platforms" : ["EFM32GG_STK3700"]
3+
"platforms" : ["EFM32GG_STK3700", "DISCO_F429ZI"]
44
}
55
]
66
}

0 commit comments

Comments
 (0)