Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
683: Make sure the whole RTT structure is in RAM r=jonas-schievink a=jannic Currently, the name field of the RTT channel will be placed in flash (rodata). That causes the debug probe to read from flash while parsing the RTT header. Usually this doesn't matter, but if the firmware disables flash access before the debug probe scanned the header, it will break. The situation where I stumbled over this was writing a firmware which writes to flash on an RP2040. While writing to the (external) flash chip, no concurrent flash accesses must happen. This patch forces the name to the `.data` section, so the whole RTT header can be read from RAM. Co-authored-by: Jan Niehusmann <jan@gondor.com> Co-authored-by: Johann Hemmann <johann.hemmann@code.berlin>
- Loading branch information