Change TKey RAM and APP mem size for QEMU build#71
Conversation
|
Just a glance at the diff right now, but this also moves the stack to almost beginning of RAM, right? Perhaps update the commit message to make that clear? Moving the stack to the beginning of memory is really good and something we've been talking about for a long time. It would enable the hardware Security Monitor to check for stack overflows. However, this change also limits the stack to something predefined in the linker script (16 kByte), which is a huge change compared to what we had earlier. This needs to be both documented and communicated. Also relates to #37 I'll have a closer look soon. |
|
We also need to take the |
9ead38e to
38cf299
Compare
|
In discussion with @jthornblad he came up with the idea to move both .data and .bss together with the stack, so it would be a continous area of memory. This would probably fix the problems with what |
38cf299 to
cecb3c1
Compare
Increase the size of the emulated RAM for TKey in QEMU. This is to be able to build large TKey apps without optimization and do debugging with gdb through QEMU.
930181c to
1a2111f
Compare
|
Jonas changed this PR to be just about the RAM size. Stack move PR is now in #73 |
|
We would need to change RAM size in linker script |
Description
Increase the size of the emulated RAM for TKey in QEMU. This is to be able to build large TKey apps without optimization and do debugging with gdb through QEMU.
Type of change
Please tick any that are relevant to this PR and remove any that aren't.
Submission checklist