From 74929c74302957eafe9a1505aa3af85d19c5cef2 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Thu, 9 Mar 2023 10:18:41 +0100 Subject: [PATCH 1/2] Rename library everywhere to Arduino_USBHostMbed5. --- README.md | 10 +++++----- examples/DirList/DirList.ino | 2 +- examples/FileRead/FileRead.ino | 2 +- examples/FileWrite/FileWrite.ino | 2 +- examples/PortentaOTA/PortentaOTA.ino | 2 +- library.properties | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e4e4a01..38701e7 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -`USBHostMbed5` +`Arduino_USBHostMbed5` ============== -[![Compile Examples status](https://github.com/arduino-libraries/Arduino_USBHostMbed5/actions/workflows/compile-examples.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_USBHostMbed5/actions/workflows/compile-examples.yml) -[![Spell Check status](https://github.com/arduino-libraries/Arduino_USBHostMbed5/actions/workflows/spell-check.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_USBHostMbed5/actions/workflows/spell-check.yml) -[![Sync Labels status](https://github.com/arduino-libraries/Arduino_USBHostMbed5/actions/workflows/sync-labels.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_USBHostMbed5/actions/workflows/sync-labels.yml) -[![Arduino Lint](https://github.com/arduino-libraries/Arduino_USBHostMbed5/workflows/Arduino%20Lint/badge.svg)](https://github.com/arduino-libraries/Arduino_USBHostMbed5/actions?workflow=Arduino+Lint) +[![Compile Examples status](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/actions/workflows/compile-examples.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/actions/workflows/compile-examples.yml) +[![Spell Check status](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/actions/workflows/spell-check.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/actions/workflows/spell-check.yml) +[![Sync Labels status](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/actions/workflows/sync-labels.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/actions/workflows/sync-labels.yml) +[![Arduino Lint](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/workflows/Arduino%20Lint/badge.svg)](https://github.com/arduino-libraries/Arduino_Arduino_USBHostMbed5/actions?workflow=Arduino+Lint) ARM Mbed5 USB Host library ported for [ArduinoCore-mbed](https://github.com/arduino/ArduinoCore-mbed) enabled boards. diff --git a/examples/DirList/DirList.ino b/examples/DirList/DirList.ino index bda4d57..52d687a 100644 --- a/examples/DirList/DirList.ino +++ b/examples/DirList/DirList.ino @@ -12,7 +12,7 @@ #include #include -#include +#include USBHostMSD msd; mbed::FATFileSystem usb("usb"); diff --git a/examples/FileRead/FileRead.ino b/examples/FileRead/FileRead.ino index a36df7f..750d1b9 100644 --- a/examples/FileRead/FileRead.ino +++ b/examples/FileRead/FileRead.ino @@ -12,7 +12,7 @@ This example code is in the public domain. */ -#include +#include #include #include diff --git a/examples/FileWrite/FileWrite.ino b/examples/FileWrite/FileWrite.ino index a7c0ede..55498bb 100644 --- a/examples/FileWrite/FileWrite.ino +++ b/examples/FileWrite/FileWrite.ino @@ -10,7 +10,7 @@ This example code is in the public domain. */ -#include +#include #include #include diff --git a/examples/PortentaOTA/PortentaOTA.ino b/examples/PortentaOTA/PortentaOTA.ino index 0cbc416..f1210ec 100644 --- a/examples/PortentaOTA/PortentaOTA.ino +++ b/examples/PortentaOTA/PortentaOTA.ino @@ -1,5 +1,5 @@ #include -#include +#include #include diff --git a/library.properties b/library.properties index 1a2bc8c..fd79a62 100644 --- a/library.properties +++ b/library.properties @@ -1,9 +1,9 @@ -name=USBHostMbed5 +name=Arduino_USBHostMbed5 version=0.0.2 author=Arduino maintainer=Arduino sentence=Porting mbed5 usbhost library paragraph=Porting mbed5 usbhost library category=Communication -url=https://github.com/facchinm/USBHostMbed5 +url=https://github.com/arduino-libraries/Arduino_USBHostMbed5 architectures=mbed,mbed_portenta,mbed_giga From c3182e90de6ee60ae50619fbd80c30f4fc1f6a39 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Thu, 9 Mar 2023 10:21:30 +0100 Subject: [PATCH 2/2] Rename primary include file to be consistent with library name. --- src/{USBHostMbed5.h => Arduino_USBHostMbed5.h} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/{USBHostMbed5.h => Arduino_USBHostMbed5.h} (100%) diff --git a/src/USBHostMbed5.h b/src/Arduino_USBHostMbed5.h similarity index 100% rename from src/USBHostMbed5.h rename to src/Arduino_USBHostMbed5.h