stp: host the spanning tree module in BANK2

All entry points are already __banked and none of the code runs in
interrupt context, so the module can leave the resident bank. This
relieves pressure on bank 0, which no longer fits a machine with a
custom init table.
This commit is contained in:
bloqaudio
2026-08-25 10:05:19 -05:00
parent 1a743b3889
commit 801150431b
+5
View File
@@ -14,6 +14,11 @@
#include "uip.h"
#include "machine.h"
// All entry points are __banked and nothing here runs from an interrupt,
// so the module does not need to stay in the resident bank
#pragma codeseg BANK2
#pragma constseg BANK2
extern __code struct machine machine;
extern __xdata uint8_t sfr_data[4];