From 1cd0285b22755a21cbc367213a143ec33d298c95 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 22 Mar 2023 17:30:42 +0100 Subject: add static makefile targets to main gamefile, and add target to flash static rom to stm32 --- src/stm32/setup.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stm32/setup.c') diff --git a/src/stm32/setup.c b/src/stm32/setup.c index 2c3552b..2102347 100644 --- a/src/stm32/setup.c +++ b/src/stm32/setup.c @@ -8,6 +8,10 @@ #include "main.h" #include "setup.h" #include "ppu/ppu.h" +#include "tilemap.h" + +// hex(0x0803_ffff - 0xd000 + 1) (stm32f091rc rm0091 table 5, flash memory organization) +uint32_t* g_hh_tilemap_rom = 0x08033000; UART_HandleTypeDef huart2 = { .Instance = USART2, -- cgit v1.2.3