diff options
| author | hathach <[email protected]> | 2020-03-22 17:19:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-03-22 17:19:57 +0700 |
| commit | 4f871063fd33db2b55c6f78130c723a8854e0b11 (patch) | |
| tree | ddc78bd68c16a0895e0a7b4f9d1aff6380a20484 /examples/make.mk | |
| parent | 1ab3a1035c997e66b2014e8edfb92e10202cd988 (diff) | |
| parent | e47f9921570c75afd3288407601897c5b283f043 (diff) | |
Merge branch 'master' into cr1901-msp430f5529
Diffstat (limited to 'examples/make.mk')
| -rw-r--r-- | examples/make.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/make.mk b/examples/make.mk index fc9745131..4c8b703c2 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -5,6 +5,8 @@ # Compiler ifeq ($(BOARD), msp_exp430f5529lp) CROSS_COMPILE = msp430-elf- +else ifeq ($(BOARD), fomu) + CROSS_COMPILE = riscv-none-embed- else CROSS_COMPILE = arm-none-eabi- endif @@ -74,6 +76,7 @@ CFLAGS += \ -Wno-deprecated-declarations \ -Wnested-externs \ -Wunreachable-code \ + -Wno-error=lto-type-mismatch \ -ffunction-sections \ -fdata-sections @@ -84,11 +87,7 @@ CFLAGS += \ ifeq ($(DEBUG), 1) CFLAGS += -Og -ggdb else - ifneq ($(BOARD),spresense) - CFLAGS += -flto -Os - else - CFLAGS += -Os - endif + CFLAGS += -Os endif # TUSB Logging option |
