stp: move the STP module to code bank 2

The always-mapped common area is nearly full (349 bytes free before this
change), and the STP state machine that follows does not fit there. Move
the module to BANK2 next to the other protocol code; its public entry
points are already __banked, and cmpMAC/stp_cnf_send have no callers
outside the file.
This commit is contained in:
d00f
2026-08-04 03:18:28 +02:00
parent b236a30564
commit fad7170518
+6
View File
@@ -6,6 +6,12 @@
// #define REGDBG // #define REGDBG
// #define DEBUG // #define DEBUG
/* Place this module's code and constants in code bank 2 (cf. rtl837x_igmp.c):
* the always-mapped common area is nearly full, and the full state machine
* does not fit there. */
#pragma codeseg BANK2
#pragma constseg BANK2
#include <stdint.h> #include <stdint.h>
#include "rtl837x_common.h" #include "rtl837x_common.h"
#include "rtl837x_sfr.h" #include "rtl837x_sfr.h"