[riot-notifications] [RIOT-OS/RIOT] cpu/{atxmega, atmega_common}: fix invalid use of PSTR() (#16920)

Marian Buschsieweke notifications at github.com
Thu Sep 30 19:33:04 CEST 2021


The avrlibc has special printf format specifier for that, or using `puts_P()` instead of `puts()`. The issue is that a `char *` pointing to progmem can have the same numeric pointer value as one to data memory, so one cannot dispatch correctly at run time

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16920#issuecomment-931523957
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210930/07a690e0/attachment.htm>


More information about the notifications mailing list