From 0ddc9358660b8af912b10a14121e607767376ee3 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Thu, 4 Mar 2021 20:13:45 +0000 Subject: [PATCH] Fix symbol size calculation in dht_logging --- software/apps/dht_logging/main.c | 2 +- software/gdbinit | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/software/apps/dht_logging/main.c b/software/apps/dht_logging/main.c index 29d8202..3af78a4 100644 --- a/software/apps/dht_logging/main.c +++ b/software/apps/dht_logging/main.c @@ -108,7 +108,7 @@ void core1_main() { for (uint component = 0; component < 3; ++component) { tmds_encode_1bpp( (const uint32_t*)&framebuf[y * FRAME_WIDTH / 8 + component * PLANE_SIZE_BYTES], - tmdsbuf + component * FRAME_WIDTH, + tmdsbuf + component * FRAME_WIDTH / DVI_SYMBOLS_PER_WORD, FRAME_WIDTH ); } diff --git a/software/gdbinit b/software/gdbinit index 720f7ae..8a99cba 100644 --- a/software/gdbinit +++ b/software/gdbinit @@ -1,5 +1,5 @@ set arch arm -set confirm off +targ rem localhost:3333 set disassemble-next-line on -target remote localhost:3333 -file picodvi.elf +set confirm off +file apps/sprite_bounce/sprite_bounce.elf