summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-01 13:28:28 +0700
committerhathach <[email protected]>2023-06-01 13:28:28 +0700
commitaf59864ab51d43b0308df617097949b399c5d112 (patch)
treefe07568ebc4c0a3ce9acdecad249c5208498445c /examples/make.mk
parent412b557a080526fbfe7b42dd8aa07468c16413cc (diff)
parent77714e02caa6b873a78737385e603cdae1f9f109 (diff)
Merge branch 'master' into feature/STM32G0
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 2ce6fb398..28ebc62da 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -2,6 +2,8 @@
# Common make definition for all examples
# ---------------------------------------
+TOOLCHAIN ?= gcc
+
#-------------- TOP and CURRENT_PATH ------------
# Set TOP to be the path to get from the current directory (where make was
@@ -75,6 +77,7 @@ else
endif
#-------------- Cross Compiler ------------
+
# Can be set by board, default to ARM GCC
CROSS_COMPILE ?= arm-none-eabi-