Browse Source
The macros are MICROPY_HEAP_START and MICROPY_HEAP_END, and if not defined by a board then the default values will be used (maximum heap from SRAM as defined by linker symbols). As part of this commit the SDRAM initialisation is moved to much earlier in main() to potentially make it available to other peripherals and avoid re-initialisation on soft-reboot. On boards with SDRAM enabled the heap has been set to use that.pull/4222/head
Andrew Leech
6 years ago
committed by
Damien George
5 changed files with 21 additions and 10 deletions
Loading…
Reference in new issue