# bank_local_data — code AND static data live in BANK1. # # HUGE mode: HOME at 0x4100 (W1), DATA at 0x8000 (W2), BANK1 in W3. # sprinter-cc compiles bank1.c with --codeseg/--constseg/--dataseg BANK1 # automatically (via --bank 1=bank1.c). mkexe gets `-p 0` so BSS pages # in the bank land as zero-filled — no runtime zeroing needed. PROJ_ROOT := $(abspath $(CURDIR)/../..) EXAMPLE := banklocl MEMORY := huge EXTRA_FLAGS := --bank 1=bank1.c --mkexe -p --mkexe 0 include $(PROJ_ROOT)/app.mk