aboutsummaryrefslogtreecommitdiff
path: root/src/stm32
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-22 17:30:42 +0100
committerlonkaars <loek@pipeframe.xyz>2023-03-22 17:30:42 +0100
commit1cd0285b22755a21cbc367213a143ec33d298c95 (patch)
tree8b7848f74d3512d74507abee781005c64b82a0f3 /src/stm32
parent8495bc3169939d034622dcbf6fb84016a7430ef2 (diff)
add static makefile targets to main gamefile, and add target to flash static rom to stm32
Diffstat (limited to 'src/stm32')
-rw-r--r--src/stm32/setup.c4
1 files changed, 4 insertions, 0 deletions
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,