diff options
| author | Väinö Kauppila <vaino@vke.fi> | 2026-04-20 15:11:08 +0300 |
|---|---|---|
| committer | Väinö Kauppila <vaino@vke.fi> | 2026-04-20 15:11:08 +0300 |
| commit | b33ebdfd1087bd1de038e23fd256ad5cc6576cfd (patch) | |
| tree | 4d1118c3c7f3a2bc9d283049ea07f6726048ceda /Makefile | |
| parent | 922c620bf0921a60e15e8abe627b3199e7e1e12a (diff) | |
| download | vhdl_pic-b33ebdfd1087bd1de038e23fd256ad5cc6576cfd.tar.gz vhdl_pic-b33ebdfd1087bd1de038e23fd256ad5cc6576cfd.zip | |
4K progmem
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
