• how to determine the cause of HardFault
    os_evt_wait_or(CHECK_EVENT_FLAGS, INFINITE_TIME); //Wait for an Event to occur rx_event = os_evt_get(); switch(rx_event) { case EVENT_INTERRUPT: if(chkflg) { dif = difftime(_gettime(), setalrm); if...
  • The length of struct
    Hi, I define a struct like below: typedef struct { unsigned type :6; unsigned delete :1; unsigned mask :1; }UnitType; I think the length of this struct is 1 byte, but to my surprise,...
  • How determine library sizes?
    Hello, In LST files you can find totals about module memory usage, in M51 you can do the same for complete application but, how can I determine the memory usage (code and data)when I build a library...
  • How to determine a pointer type?
    If I have declare a generic pointer [char *test] in C; How do I determine the pointer type in runtime? By checking the first byte of the pointer or is there any other functions doing this? Thanks...
  • Edit file with RL-FlashFs
    Hi, I'm using RL-FlashFs to create files in external memory with an LPC2478. I am doing a kind of database with JSON and I need to add and exluir records within files. But I am not able to position...