From ba7e3cf7699b3f57fc25a048b3d4646a6960f662 Mon Sep 17 00:00:00 2001 From: Sebastian Romero <s.hunkeler@arduino.cc> Date: Mon, 8 Feb 2021 11:46:26 +0100 Subject: [PATCH 1/4] Move KVS tutorial --- .../FlashKeyValueStore/FlashIAPLimits.h | 0 .../FlashKeyValueStore/FlashKeyValueStore.ino | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename examples/{Storage => }/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashIAPLimits.h (100%) rename examples/{Storage => }/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashKeyValueStore.ino (100%) diff --git a/examples/Storage/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashIAPLimits.h b/examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashIAPLimits.h similarity index 100% rename from examples/Storage/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashIAPLimits.h rename to examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashIAPLimits.h diff --git a/examples/Storage/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashKeyValueStore.ino b/examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashKeyValueStore.ino similarity index 100% rename from examples/Storage/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashKeyValueStore.ino rename to examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore/FlashKeyValueStore.ino From 8573cf517d2e152732135f5ab1d177ba9f5bdd16 Mon Sep 17 00:00:00 2001 From: Sebastian Romero <s.hunkeler@arduino.cc> Date: Mon, 8 Feb 2021 11:47:06 +0100 Subject: [PATCH 2/4] Use camel case for BLE tutorial --- .../{portentaBLE/portentaBLE.ino => PortentaBLE/PortentaBLE.ino} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/BLE Connectivity on Portenta H7/{portentaBLE/portentaBLE.ino => PortentaBLE/PortentaBLE.ino} (100%) diff --git a/examples/BLE Connectivity on Portenta H7/portentaBLE/portentaBLE.ino b/examples/BLE Connectivity on Portenta H7/PortentaBLE/PortentaBLE.ino similarity index 100% rename from examples/BLE Connectivity on Portenta H7/portentaBLE/portentaBLE.ino rename to examples/BLE Connectivity on Portenta H7/PortentaBLE/PortentaBLE.ino From dc688c5318638d13022faa2061a6e784a3a0e2f8 Mon Sep 17 00:00:00 2001 From: Sebastian Romero <s.hunkeler@arduino.cc> Date: Mon, 8 Feb 2021 11:55:29 +0100 Subject: [PATCH 3/4] Fix incorrect code in blink examples --- .../BlinkGreenLed_M4/BlinkGreenLed_M4.ino | 26 ++++++++--------- .../BlinkRedLed/BlinkRedLed.ino | 28 +++++++++---------- .../BlinkRedLed_M7/BlinkRedLed_M7.ino | 26 ++++++++--------- 3 files changed, 40 insertions(+), 40 deletions(-) diff --git a/examples/Dual Core Processing/BlinkGreenLed_M4/BlinkGreenLed_M4.ino b/examples/Dual Core Processing/BlinkGreenLed_M4/BlinkGreenLed_M4.ino index 432fdf8..6524ad6 100644 --- a/examples/Dual Core Processing/BlinkGreenLed_M4/BlinkGreenLed_M4.ino +++ b/examples/Dual Core Processing/BlinkGreenLed_M4/BlinkGreenLed_M4.ino @@ -1,13 +1,13 @@ -// the setup function runs once when you press reset or power the board -void setup() { - // initialize digital pin LED_BUILTIN as an output. - pinMode(LEDG, OUTPUT); -} - -// the loop function runs over and over again forever -void loop() { - digitalWrite(LEDG, HIGH); // turn the LED on (HIGH is the voltage level) - delay(500); // wait for a second - digitalWrite(LEDG, LOW); // turn the LED off by making the voltage LOW - delay(500); // wait for a second -} +// the setup function runs once when you press reset or power the board +void setup() { + // initialize digital pin LED_BUILTIN as an output. + pinMode(LEDG, OUTPUT); +} + +// the loop function runs over and over again forever +void loop() { + digitalWrite(LEDG, LOW); // turn the LED on (LOW is the voltage level) + delay(500); // wait for half a second + digitalWrite(LEDG, HIGH); // turn the LED off by making the voltage HIGH + delay(500); // wait for half a second +} diff --git a/examples/Dual Core Processing/BlinkRedLed/BlinkRedLed.ino b/examples/Dual Core Processing/BlinkRedLed/BlinkRedLed.ino index a36e7c4..6508281 100644 --- a/examples/Dual Core Processing/BlinkRedLed/BlinkRedLed.ino +++ b/examples/Dual Core Processing/BlinkRedLed/BlinkRedLed.ino @@ -1,14 +1,14 @@ -// the setup function runs once when you press reset or power the board -void setup() { - // initialize digital pin LED_BUILTIN as an output. - bootM4(); - pinMode(LEDR, OUTPUT); -} - -// the loop function runs over and over again forever -void loop() { - digitalWrite(LEDR, LOW); // turn the LED on (HIGH is the voltage level) - delay(200); // wait for a second - digitalWrite(LEDR, HIGH); // turn the LED off by making the voltage LOW - delay(200); // wait for a second -} +// the setup function runs once when you press reset or power the board +void setup() { + // initialize digital pin LED_BUILTIN as an output. + bootM4(); + pinMode(LEDR, OUTPUT); +} + +// the loop function runs over and over again forever +void loop() { + digitalWrite(LEDR, LOW); // turn the red LED on (LOW is the voltage level) + delay(200); // wait for 200 milliseconds + digitalWrite(LEDR, HIGH); // turn the LED off by setting the voltage HIGH + delay(200); // wait for 200 milliseconds +} diff --git a/examples/Dual Core Processing/BlinkRedLed_M7/BlinkRedLed_M7.ino b/examples/Dual Core Processing/BlinkRedLed_M7/BlinkRedLed_M7.ino index beb91fc..f342d4a 100644 --- a/examples/Dual Core Processing/BlinkRedLed_M7/BlinkRedLed_M7.ino +++ b/examples/Dual Core Processing/BlinkRedLed_M7/BlinkRedLed_M7.ino @@ -1,13 +1,13 @@ -// the setup function runs once when you press reset or power the board -void setup() { - // initialize digital pin LED_BUILTIN as an output. - pinMode(LEDR, OUTPUT); -} - -// the loop function runs over and over again forever -void loop() { - digitalWrite(LEDR, HIGH); // turn the LED on (HIGH is the voltage level) - delay(200); // wait for a second - digitalWrite(LEDR, LOW); // turn the LED off by making the voltage LOW - delay(200); // wait for a second -} +// the setup function runs once when you press reset or power the board +void setup() { + // initialize digital pin LED_BUILTIN as an output. + pinMode(LEDR, OUTPUT); +} + +// the loop function runs over and over again forever +void loop() { + digitalWrite(LEDR, HIGH); // turn the LED off (HIGH is the voltage level) + delay(200); // wait for 200 milliseconds + digitalWrite(LEDR, LOW); // turn the LED on by making the voltage LOW + delay(200); // wait for 200 milliseconds +} From 2ac77f24c8726eb92df7be859fcd4454ef60ce17 Mon Sep 17 00:00:00 2001 From: Sebastian Romero <s.hunkeler@arduino.cc> Date: Mon, 8 Feb 2021 11:58:47 +0100 Subject: [PATCH 4/4] Rename web server sketch --- .../simpleWebServer/{simpleWebServer.ino => SimpleWebServer.ino} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/Portenta H7 as a WiFi Access Point/simpleWebServer/{simpleWebServer.ino => SimpleWebServer.ino} (100%) diff --git a/examples/Portenta H7 as a WiFi Access Point/simpleWebServer/simpleWebServer.ino b/examples/Portenta H7 as a WiFi Access Point/simpleWebServer/SimpleWebServer.ino similarity index 100% rename from examples/Portenta H7 as a WiFi Access Point/simpleWebServer/simpleWebServer.ino rename to examples/Portenta H7 as a WiFi Access Point/simpleWebServer/SimpleWebServer.ino