Hi, I´m trying to compile a IAR Project with msp430-gcc, but there is no calloc funktion. I have to allocate memory for a struct and malloc did´t work. I tried something like this:
typedef struct something { ... } SOMETHING; ... m = (SOMETHING*) malloc(sizeof(SOMETHING)) ; but it didn´t work. So does anybody know how to replace calloc with malloc or something else? Thanks, Matthias