summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorAndrew Leech <andrew@alelec.net>2018-10-02 22:08:25 +1000
committerDamien George <damien.p.george@gmail.com>2018-10-05 17:30:18 +1000
commit338635ccc64204b6f388cfaafca00e120090c622 (patch)
tree3dbd8eb7b3002682ecd453f015571f672b568ea8 /py
parent02ca8d4674773ed6258eb435beaf0004e04a56ac (diff)
stm32/main: Add configuration macros for board to set heap start/end.
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.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions