diff options
| author | hathach <[email protected]> | 2019-11-18 12:37:34 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-18 12:37:34 +0700 |
| commit | c2fb813658d6242dbea13d9f811482e34cd712c0 (patch) | |
| tree | a2298b7108ecce66607741f3359192292a8d9849 /examples | |
| parent | 56abce44f32710f28fc55a175b744ce6852f399e (diff) | |
| parent | 679821e9174f9410960f974eefd46a94e74cfeda (diff) | |
Merge pull request #217 from xobs/valentyusb-eptri
WIP: Add Valentyusb eptri
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk index c2e0559fb..5bb556870 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -2,8 +2,12 @@ # Common make definition for all examples # -# Compiler +# Compiler +ifeq ($(BOARD), fomu) +CROSS_COMPILE = riscv-none-embed- +else CROSS_COMPILE = arm-none-eabi- +endif CC = $(CROSS_COMPILE)gcc CXX = $(CROSS_COMPILE)g++ OBJCOPY = $(CROSS_COMPILE)objcopy |
