Skip to content

[MP1] Add RPMsg virtual serial protocol support (VirtIOSerial) #766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 17, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[CI] Add virtio in CI builds
  • Loading branch information
kbumsik committed Mar 15, 2020
commit a6dcefeb3ad1a4cc259e01f2113dfd5d6e9cbe0c
8 changes: 8 additions & 0 deletions CI/build/conf/cores_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
{
"name": "STEVAL_MKSBOX1V1",
"options": "usb=CDCgen"
},
{
"name": "STM32MP157A_DK1",
"options": "virtio=enabled"
},
{
"name": "STM32MP157C_DK2",
"options": "virtio=generic"
}
],
"sketches": [
Expand Down
8 changes: 8 additions & 0 deletions CI/build/conf/cores_config_ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
{
"name": "STEVAL_MKSBOX1V1",
"options": "usb=CDCgen"
},
{
"name": "STM32MP157A_DK1",
"options": "virtio=enabled"
},
{
"name": "STM32MP157C_DK2",
"options": "virtio=generic"
}
],
"sketches": [
Expand Down
8 changes: 8 additions & 0 deletions CI/build/conf/cores_config_travis.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
{
"name": "NUCLEO_L031K6",
"options": "opt=oslto"
},
{
"name": "STM32MP157A_DK1",
"options": "virtio=enabled"
},
{
"name": "STM32MP157C_DK2",
"options": "virtio=generic"
}
],
"sketches": [
Expand Down
3 changes: 2 additions & 1 deletion CI/build/examples/BareMinimum/BareMinimum.ino
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ SoftwareSerial swSerial(10, 11);

void setup() {
// Serial HW & SW
#if !defined(USBD_USE_CDC) && !defined(DISABLE_GENERIC_SERIALUSB)
#if (!defined(USBD_USE_CDC) && !defined(DISABLE_GENERIC_SERIALUSB)) &&\
(!defined(VIRTIOCON) && !defined(DISABLE_GENERIC_SERIALVIRTIO))
Serial.setRx(PIN_SERIAL_RX);
Serial.setTx(digitalPinToPinName(PIN_SERIAL_TX));
#endif
Expand Down