mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Add test for string reading off end of extram
This commit is contained in:
parent
2039de73f2
commit
6429d2cdaf
3 changed files with 36 additions and 0 deletions
|
|
@ -73,6 +73,10 @@ void main(void) {
|
|||
// pass a slice beyond end of extram
|
||||
printbuf((uint32_t)UVM32_EXTRAM_BASE + 32, 64); // extram has been shrunk, this is now out of bounds,
|
||||
} break;
|
||||
case TEST14: {
|
||||
// pass a string beyond end of extram
|
||||
println((uint32_t)UVM32_EXTRAM_BASE); // extram has been shrunk, this is now out of bounds,
|
||||
} break;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue