diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-05-28 15:43:55 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-05-28 15:43:55 -0700 |
| commit | 796373b8be015644425a1167c5c3b64f7a010c8d (patch) | |
| tree | d5fbbc64a7b688bfe3a50be8b8cc03c3e42f6e61 /ports/litex/Makefile | |
| parent | a9419b5d46b00bfcb7577ef5ad3149d57308d00a (diff) | |
A number of small ESP32S2 fixes:
* Fix flash writes that don't end on a sector boundary. Fixes #2944
* Fix enum incompatibility with IDF.
* Fix printf output so it goes out debug UART.
* Increase stack size to 8k.
* Fix sleep of less than a tick so it doesn't crash.
Diffstat (limited to 'ports/litex/Makefile')
| -rw-r--r-- | ports/litex/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/litex/Makefile b/ports/litex/Makefile index 596eaf2bb..d75a4da28 100644 --- a/ports/litex/Makefile +++ b/ports/litex/Makefile @@ -83,14 +83,14 @@ else ### CFLAGS += -flto endif -CFLAGS += $(INC) -Werror -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS) $(C_DEFS) $(CFLAGS_MOD) $(COPT) +CFLAGS += $(INC) -Werror -Wall -std=gnu11 -nostdlib -fshort-enums $(BASE_CFLAGS) $(C_DEFS) $(CFLAGS_MOD) $(COPT) # TODO: check this CFLAGS += -D__START=main -DFOMU LD_FILE := boards/$(BOARD)/$(BOARD)-spi.ld -LDFLAGS = $(CFLAGS) -fshort-enums -Wl,-nostdlib -Wl,-T,$(LD_FILE) -Wl,-Map=$@.map -Wl,-cref -Wl,-gc-sections -specs=nano.specs -Wl,-melf32lriscv +LDFLAGS = $(CFLAGS) -Wl,-nostdlib -Wl,-T,$(LD_FILE) -Wl,-Map=$@.map -Wl,-cref -Wl,-gc-sections -specs=nano.specs -Wl,-melf32lriscv LIBS := -lgcc -lc |
