diff options
author | Damien George <damien.p.george@gmail.com> | 2014-09-23 10:59:05 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-09-23 10:59:05 +0100 |
commit | eaaebf3291a12ff65ca5c7f16e0d486fbde10efa (patch) | |
tree | cbfa01bb3b66abb38f367d09754724f19cc64137 /tests/basics/string_startswith.py | |
parent | 2c180f7ccc456e1768fd1cb9a86399808672a237 (diff) | |
download | micropython-eaaebf3291a12ff65ca5c7f16e0d486fbde10efa.tar.gz micropython-eaaebf3291a12ff65ca5c7f16e0d486fbde10efa.zip |
stmhal: Initialise stack pointer correctly.
Stack is full descending and must be 8-byte aligned. It must start off
pointing to just above the last byte of RAM.
Previously, stack started pointed to last byte of RAM (eg 0x2001ffff)
and so was not 8-byte aligned. This caused a bug in combination with
alloca.
This patch also updates some debug printing code.
Addresses issue #872 (among many other undiscovered issues).
Diffstat (limited to 'tests/basics/string_startswith.py')
0 files changed, 0 insertions, 0 deletions