mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-28 16:47:22 -04:00
Support for displaying stack on screen after a fault (for debug) (#1416)
* Support for displaying stack on screen after a fault * Update debug.cpp * Highlight possible addresses on stack & support Up key * Add small background white style * Add small background white style * Update debug.cpp * Highlight fault PC in yellow * Add bg_yellow_small style * Add bg_yellow_small style * Clang - trailing space
This commit is contained in:
parent
de81156223
commit
4774b3097f
3 changed files with 144 additions and 14 deletions
|
@ -44,6 +44,18 @@ const Style Styles::white_small{
|
|||
.foreground = Color::white(),
|
||||
};
|
||||
|
||||
const Style Styles::bg_white_small{
|
||||
.font = ui::font::fixed_5x8,
|
||||
.background = ui::Color::white(),
|
||||
.foreground = ui::Color::black(),
|
||||
};
|
||||
|
||||
const Style Styles::bg_yellow_small{
|
||||
.font = ui::font::fixed_5x8,
|
||||
.background = ui::Color::yellow(),
|
||||
.foreground = ui::Color::black(),
|
||||
};
|
||||
|
||||
const Style Styles::yellow{
|
||||
.font = font::fixed_8x16,
|
||||
.background = Color::black(),
|
||||
|
@ -102,4 +114,4 @@ const Style Styles::orange{
|
|||
.font = font::fixed_8x16,
|
||||
.background = Color::black(),
|
||||
.foreground = Color::orange(),
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue