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

Marian Buschsieweke notifications at github.com
Thu Sep 30 15:28:49 CEST 2021

### Contribution description

core_panic() doesn't expect the message to be in program memory, but
in data memory. Bad things will happen on AVR when the address is
interpreted as being in data address space, but the allocation is
done in program address space.

### Testing procedure

The corresponding panics (and IRQ without provided ISR) should print something sensible again.

### Issues/PRs references

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * <a href="https://github.com/RIOT-OS/RIOT/pull/16920/commits/832369be81a1a063d66001837164d65045a097cd">cpu/{atxmega,atmega_common}: fix invalid use of PSTR()</a>

-- File Changes --

    M cpu/atmega_common/atmega_cpu.c (6)
    M cpu/atxmega/atxmega_cpu.c (6)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210930/27bdb77c/attachment.htm>

More information about the notifications mailing list