From 002236b93a2415fe2ce78cd03688f85f01e7e9dc Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Fri, 14 Mar 2025 10:19:19 -0500 Subject: [PATCH] WIP don't optimize the setup function at all --- src/video_hstx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video_hstx.c b/src/video_hstx.c index 5541cd0..76ab416 100644 --- a/src/video_hstx.c +++ b/src/video_hstx.c @@ -133,6 +133,7 @@ static void __not_in_flash_func(dma_irq_handler)(void) { #error Only VGA resolution is supported #endif +__attribute__((optimize("-O0"))) void video_init(uint32_t *framebuffer) { picodvi_framebuffer_obj_t *self = &picodvi;