Thank you, I've seen that the source file rpc.c was missing.
Have you tried the last version of uVisor, I don't know which board you are using, but if you are using K64F you won't have any problem. if you are using another one, can you tell how you set up the page heap SECTION in the linker script? especially the alignment, I did this (as shown in vmpu_armv7m.c) but it's not working :
/* ... */
__uvisor_bss_end = .;
} > RAM
/* Heap space for the page allocator */
.page_heap (NOLOAD) :
{
. = ALIGN(32);
__uvisor_page_start = .;
KEEP(*(.keep.uvisor.page_heap))
. = ALIGN((1 << LOG2CEIL(LENGTH(RAM)) / 8));
__uvisor_page_end = .;
} > RAM
/* ... */
I don't know why but I feel like the (1 << LOG2CEIL(LENGTH(RAM))/8) = 0 which is wrong, it must be > 0 when LENGHT(RAM) > 0 !!!!
Hi,
When I try to use the RPC API in uvisor, i'm getting this error while building my project:
my objectif is to make 2 boxes communicate securely using the RPC. here my code :
box1.cpp :
box1.h :
and box2.cpp
Thank you for your help.