diff options
author | Phil Howard <phil@gadgetoid.com> | 2022-08-05 09:43:22 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-08-11 14:16:29 +1000 |
commit | 71f6eb5ac953637e815ec9c5cbc785b4027a8759 (patch) | |
tree | ea927aae3434f076319a2a0dd8316a70fb1fe457 /py/objstr.c | |
parent | 6e51dbd95aa051533e2618e2df8f51cb0f06cfed (diff) |
rp2: Mark gc_heap NOLOAD for faster boot.
Create a new linker section .unitialized_bss for bss that does not need
zero-initialising.
Move gc_heap to this section, which saves ~30ms from rising edge of RESET
to setting a pin HIGH in MicroPython.
Zero fill happens in Pico SDK crt0.S before ROSC is configured. It's very,
very slow.
Signed-off-by: Phil Howard <phil@gadgetoid.com>
Diffstat (limited to 'py/objstr.c')
0 files changed, 0 insertions, 0 deletions