Running on system with 24-bit pointers

366 views
Skip to first unread message

alfe...@gmail.com

unread,
Jul 16, 2015, 6:41:31 PM7/16/15
to core...@googlegroups.com
Hello

I'm trying to run CoreMark on Freescale s12z MCU which have 24-bit pointers.

I've got an error "ERROR! Please define ee_ptr_int to a type that holds a pointer!", because of sizeof(ee_ptr_int) = 4 and sizeof(ee_u8 *) = 3

Cant figure out - is it critical ?


Where:
typedef unsigned char ee_u8;
typedef unsigned long ee_u32;
typedef ee_u32 ee_ptr_int;

Thanks in advance




peter.torelli

unread,
Jul 20, 2015, 2:56:26 PM7/20/15
to core...@googlegroups.com, alfe...@gmail.com
Hello,

You defined ee_ptr_int as an ee_u32. Check what types of pointers your compiler supports for your MCU and redefine accordingly.

Peter
Reply all
Reply to author
Forward
0 new messages