Part Number: CC2650
Tool/software: Code Composer Studio
In Sensor Controller application I have an input structure with an array member, something like input.array[SIZE] where size is 256 bytes. I want to copy data to this array from System CPU application using code like
memcpy(scifTaskData.TaskName.input.array, source_array, SIZE);
Since scifTaskData pointer is volatile, compiler gives warning that argument of type "volatile uint16_t *" is incompatible with parameter of type "void *"
Casting volatile pointer to void seems to be a bit ugly workaround.
So, is there a proper way to copy a bunch of data to Sensor Controller application?