Skip to content

Commit a6dcefe

Browse files
committed
[CI] Add virtio in CI builds
1 parent f7c1d95 commit a6dcefe

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed

CI/build/conf/cores_config.json

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
{
1212
"name": "STEVAL_MKSBOX1V1",
1313
"options": "usb=CDCgen"
14+
},
15+
{
16+
"name": "STM32MP157A_DK1",
17+
"options": "virtio=enabled"
18+
},
19+
{
20+
"name": "STM32MP157C_DK2",
21+
"options": "virtio=generic"
1422
}
1523
],
1624
"sketches": [

CI/build/conf/cores_config_ci.json

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
{
1212
"name": "STEVAL_MKSBOX1V1",
1313
"options": "usb=CDCgen"
14+
},
15+
{
16+
"name": "STM32MP157A_DK1",
17+
"options": "virtio=enabled"
18+
},
19+
{
20+
"name": "STM32MP157C_DK2",
21+
"options": "virtio=generic"
1422
}
1523
],
1624
"sketches": [

CI/build/conf/cores_config_travis.json

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
{
88
"name": "NUCLEO_L031K6",
99
"options": "opt=oslto"
10+
},
11+
{
12+
"name": "STM32MP157A_DK1",
13+
"options": "virtio=enabled"
14+
},
15+
{
16+
"name": "STM32MP157C_DK2",
17+
"options": "virtio=generic"
1018
}
1119
],
1220
"sketches": [

CI/build/examples/BareMinimum/BareMinimum.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ SoftwareSerial swSerial(10, 11);
4242

4343
void setup() {
4444
// Serial HW & SW
45-
#if !defined(USBD_USE_CDC) && !defined(DISABLE_GENERIC_SERIALUSB)
45+
#if (!defined(USBD_USE_CDC) && !defined(DISABLE_GENERIC_SERIALUSB)) &&\
46+
(!defined(VIRTIOCON) && !defined(DISABLE_GENERIC_SERIALVIRTIO))
4647
Serial.setRx(PIN_SERIAL_RX);
4748
Serial.setTx(digitalPinToPinName(PIN_SERIAL_TX));
4849
#endif

0 commit comments

Comments
 (0)