What is Arduino vs what is Raspberry pi

There is no Arduino running on PIC chips. They have a really different memory architecture which does make standard C code impossible.

I have never found access to const variables to ever be a problem on any Arduino.