@@ -169,6 +169,7 @@ set_board(<boardName>
169
169
[USB <usbSetting>]
170
170
[XUSB <usbSpeed>]
171
171
[VIRTIO <virtioSetting>]
172
+ [BOOTLOADER <bootloader>]
172
173
)
173
174
```
174
175
@@ -178,9 +179,10 @@ and caches the result in a CMake-readable database.
178
179
179
180
The first argument to this function must be the board codename, as used in boards.txt.
180
181
E.g., "GENERIC_L010RBTX", not "Generic L010RBTx" (the latter being what the IDE displays).
181
- Then come any number of the four keywords, in any order. As with ` overall_settings ` , default values are used on fallback.
182
+ Then come any number of the five keywords, in any order. As with ` overall_settings ` , default values are used on fallback.
182
183
Depending on your board, not all features may be meaningful. Note: the values for each keyword are case-sensitive!
183
184
- SERIAL: Serial support. Usually one of ` generic ` , ` disabled ` , ` none ` (standing for "Enabled (no generic 'Serial')");
184
185
- USB: USB support. Usually one of ` none ` , ` CDCgen ` , ` CDC ` , ` HID ` ;
185
186
- XUSB: USB speed. Usually one of ` FS ` , ` HS ` , ` HSFS ` ;
186
- - VIRTIO: virtIO support. Usually one of ` disable ` , ` generic ` , ` enabled ` .
187
+ - VIRTIO: virtIO support. Usually one of ` disable ` , ` generic ` , ` enabled ` ;
188
+ - BOOTLOADER: third-party bootloader impacting the build (link step). Usually one of ` hid ` , ` dfuo ` , ` dfu2 ` .
0 commit comments