-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmake-variants.yaml
41 lines (41 loc) · 1.51 KB
/
cmake-variants.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
buildType:
default: Develop
choices:
Develop:
short: Develop
long: Emit debug information but also optimize
buildType: Develop
Debug:
short: Debug
long: Emit debug information and don't optimize
buildType: Debug
Release:
short: Release
long: Optimize generated code
buildType: Release
board:
# Fill name of your targer which has to corespond to
# target name in targets.json5 file or custom_targets.json5 in case of custom target.
# For simplified just replace every occurrence of YOUR_MBED_TARGET with Mbed target name.
# For example LPC1768 or NUCLEO_L452RE
default: L452RE_SIMPLE # default variant (choose) from bellow
choices:
L452RE_SIMPLE: # Name of one variant
short: L452RE_SIMPLE # Short name of the variant
settings:
MBED_TARGET: L452RE_SIMPLE # Your mbed target name from targets.json5 file
# Fill your upload method according to variants bellow
# - universal: NONE, MBED, JLINK, PYOCD, OPENOCD
# - target specific: STLINK, STM32CUBE, LINKSERVER, PICOTOOL, ARDUINO_BOSSAC
# For more visit - https://github.com/mbed-ce/mbed-os/wiki/Upload-Methods#upload-method-list
UPLOAD_METHOD: STM32CUBE
L452RE_CUSTOM_PINMAP:
short: L452RE_CUSTOM_PINMAP
settings:
MBED_TARGET: L452RE_CUSTOM_PINMAP
UPLOAD_METHOD: STM32CUBE
L452RE_CUSTOM_CLOCK:
short: L452RE_CUSTOM_CLOCK
settings:
MBED_TARGET: L452RE_CUSTOM_CLOCK
UPLOAD_METHOD: STM32CUBE