From b33ebdfd1087bd1de038e23fd256ad5cc6576cfd Mon Sep 17 00:00:00 2001 From: Väinö Kauppila Date: Mon, 20 Apr 2026 15:11:08 +0300 Subject: 4K progmem --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 633a174..d442655 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,9 @@ $(BUILD): # -- Host-side C compilation (sdcc on host) -------------------------------------------- $(BUILD)/%.hex: fw/%.c | $(BUILD) - cd $(BUILD) && sdcc --use-non-free -mpic14 -p16f84a $(CURDIR)/fw/$*.c + cd $(BUILD) && sdcc --use-non-free -mpic14 -p16f84a \ + -Wl-s -Wl$(CURDIR)/fw/fpga_pic.lkr \ + $(CURDIR)/fw/$*.c # program.hex is what the testbench loads at runtime $(BUILD)/program.hex: $(BUILD)/$(PROG).hex -- cgit v1.3