Skip to content

Commit 0b0a781

Browse files
Add Makefile option TOOLCHAIN_PREFIX to cheatsheet
1 parent f92752f commit 0b0a781

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cheatsheets/makefile-options.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ _Defaults to: `../../tools/bin`_
3838

3939
The `TOOLCHAIN_PATH` variable can be set to define a non-standard location for the toolchain. With setting this variable, it is also possible to use different versions of the toolchain for different projects. By default, this variable is set to use the tools located at the in the setup guide recommended place. To use the globally installed tools, set the `TOOLCHAIN_PATH` to undefined in your projects makefile like this: `TOOLCHAIN_PATH =`.
4040

41+
### TOOLCHAIN_PREFIX
42+
43+
_Defaults to: `arm-none-eabi-`_
44+
45+
The `TOOLCHAIN_PREFIX` variable can be set to define the prefix used in toolchain application names. For example: GCC is invoked as `arm-none-eabi-gcc`. However, if you set this variable to `my-prefix-`, it will be invoked as `my-prefix-gcc`.
46+
4147
### BIN_FOLDER
4248

4349
_Defaults to: `./bin`_

0 commit comments

Comments
 (0)