Objcopy text sections to irom0 (no more ICACHE_FLASH_ATTR, yay!)
This commit is contained in:
parent
b3c674d89d
commit
5825ce763c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -99,7 +99,7 @@ $1/%.o: %.c
|
||||||
$(vecho) "CC $$<"
|
$(vecho) "CC $$<"
|
||||||
$(CC_ARGS) -c $$< -o $$@
|
$(CC_ARGS) -c $$< -o $$@
|
||||||
$(CC_ARGS) -MM -MT $$@ -MF $$(@:.o=.d) $$<
|
$(CC_ARGS) -MM -MT $$@ -MF $$(@:.o=.d) $$<
|
||||||
# $(Q) $(OBJCOPY) --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal $$@
|
$(Q) $(OBJCOPY) --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal $$@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
.PHONY: all checkdirs clean
|
.PHONY: all checkdirs clean
|
||||||
|
|
Loading…
Reference in a new issue