AnsweredAssumed Answered

Can,t make a pointer to a const array.

Question asked by Per Hojfeldt on Nov 4, 2018
Latest reply on Nov 8, 2018 by ZhangJennie

Having problem with assign a unsigned char const array to a pointer. Works fine to assign an unsigned char array to a pointer.

What do I wrong. Using Codewarrior version 11.0 with MCU MC9S08QD4. Attached is a little project that illustrate the problem. I have tried to cast the array to unsigned char far but little did it help.

Sincerly Yours

Per Højfeldt

Attachments

Outcomes