String declaration query
Royce Pereira <[email protected]>
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <CACzHknhe6uVYkKB7c00Z=VmmCxdrBXrTDnzka=C64GOd3_19gA@mail.gmail.com> |
Hi, What is the differenence between: __flash const char myString[] = "Hello There!" ; and __flash const char *myString = "Hello There!" ; AFAIK, both should be same, but the 2nd gives the error: " ... initializer element is not computable at load time" Am I writing it wrong ? Thanks. -- Best Regards, -- Royce Pereira