summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-09-23 10:59:05 +0100
committerDamien George <damien.p.george@gmail.com>2014-09-23 10:59:05 +0100
commiteaaebf3291a12ff65ca5c7f16e0d486fbde10efa (patch)
treecbfa01bb3b66abb38f367d09754724f19cc64137 /tests/basics
parent2c180f7ccc456e1768fd1cb9a86399808672a237 (diff)
downloadmicropython-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')
0 files changed, 0 insertions, 0 deletions