Skip to content

Commit

Permalink
Update patchset
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed May 10, 2022
1 parent 36476e0 commit 881722c
Show file tree
Hide file tree
Showing 158 changed files with 876 additions and 67,582 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 3d7f8d18abca4e6132611fe544bf94b5d3483af3 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Thu, 11 Mar 2021 15:05:20 +0100
Subject: [PATCH 001/138] PACKAGING: remove gdb exta information to slim
Subject: [PATCH 001/157] PACKAGING: remove gdb exta information to slim
library

---
Expand All @@ -22,5 +22,5 @@ index 21ba5c88d5..5995d276e4 100644
"c": ["-c", "-std=gnu11"],
"cxx": ["-c", "-std=gnu++14", "-fno-rtti", "-Wvla"],
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0002-Portenta-enable-certificates-in-filesystem.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From cb1899e821138682f821ef80b4d1480c013ad3bd Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Wed, 28 Oct 2020 15:26:21 +0100
Subject: [PATCH 002/138] Portenta: enable certificates in filesystem
Subject: [PATCH 002/157] Portenta: enable certificates in filesystem

---
targets/targets.json | 2 ++
Expand All @@ -21,5 +21,5 @@ index f4d4055553..8732ee0ba8 100644
"QSPI_NO_SAMPLE_SHIFT",
"CYW43XXX_UNBUFFERED_UART"
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 3659582e80ee60cd6f393318f54c51b90ef6703e Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Wed, 1 Apr 2020 12:21:59 +0200
Subject: [PATCH 003/138] I2CSlave.read(buf, count) returns the number of bytes
Subject: [PATCH 003/157] I2CSlave.read(buf, count) returns the number of bytes
actually read

---
Expand Down Expand Up @@ -36,5 +36,5 @@ index 4317df9656..e4515820ad 100644

int I2CSlave::read(void)
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0004-Add-AnalogIn-configure-function.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 7abd4be4ee59e6e96f250f9a79c5d70d365a2417 Mon Sep 17 00:00:00 2001
From: Paolo Calao <paolo.calao@gmail.com>
Date: Wed, 13 May 2020 11:59:46 +0200
Subject: [PATCH 004/138] Add AnalogIn configure function
Subject: [PATCH 004/157] Add AnalogIn configure function

This adds a weak method to configure AnalogIn objects.
Also, a strong implementation of such method for NRF5284 is provided.
Expand Down Expand Up @@ -169,5 +169,5 @@ index 41b87722ac..4466f680c7 100644
uint32_t ch;
};
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0005-HACK-avoid-10862-by-not-firing-the-assert.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 5722a9ef477e5a3f4470898c7028633f1f004ff6 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Wed, 31 Jul 2019 12:48:04 +0200
Subject: [PATCH 005/138] HACK: avoid #10862 by not firing the assert
Subject: [PATCH 005/157] HACK: avoid #10862 by not firing the assert

---
drivers/usb/source/USBDevice.cpp | 18 ++++++++++--------
Expand Down Expand Up @@ -44,5 +44,5 @@ index 6d3cfc87d4..ddeabcfa15 100644
}

--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0006-portentaH7-Change-BLE-public-address.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 7670c4f59b63a06fea0fc6dcd96af6976a548317 Mon Sep 17 00:00:00 2001
From: Paolo Calao <paolo.calao@gmail.com>
Date: Thu, 29 Oct 2020 15:40:32 +0100
Subject: [PATCH 006/138] portentaH7: Change BLE public address
Subject: [PATCH 006/157] portentaH7: Change BLE public address

---
.../ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp | 11 +++++++++++
Expand Down Expand Up @@ -37,5 +37,5 @@ index 957e37594b..ff389c9f81 100644
} else {
}
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d1ded30e5559b403dd49378bfaf9e7fab87d4ffa Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Mon, 9 Nov 2020 10:00:01 +0100
Subject: [PATCH 007/138] TLSSocketWrapper: add method to retrieve certificates
Subject: [PATCH 007/157] TLSSocketWrapper: add method to retrieve certificates
from filesystem

---
Expand Down Expand Up @@ -90,5 +90,5 @@ index cebaf04703..8202151eb7 100644
{
return set_client_cert_key(client_cert_pem, strlen(client_cert_pem) + 1, client_private_key_pem, strlen(client_private_key_pem) + 1);
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From ec10b2d3b5671f72ff3be6510f561dcc15712d5e Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Mon, 9 Nov 2020 13:34:18 +0100
Subject: [PATCH 008/138] TLSSocketWrapper: Add unit test for
Subject: [PATCH 008/157] TLSSocketWrapper: Add unit test for
set_root_ca_cert_path

---
Expand Down Expand Up @@ -57,5 +57,5 @@ index 4f9ce6b96c..ad2d3d8d44 100644

#endif /* UNITTESTS_FEATURES_NETSOCKET_TLSSOCKET_TLS_TEST_CONFIG_H_ */
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From b61ee5dcb0010d99b8260457ac8286bb1078412b Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Mon, 9 Nov 2020 13:52:28 +0100
Subject: [PATCH 009/138] TLSSocketWrapper: add test for certificates stored in
Subject: [PATCH 009/157] TLSSocketWrapper: add test for certificates stored in
filesystem

---
Expand Down Expand Up @@ -95,5 +95,5 @@ index 0000000000..cf3dff2e93
+}
\ No newline at end of file
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0010-Initial-support-Portenta-Beta.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 43be92f77f5c5e4ea6c6b9b3b9f9b1adc08bc2e3 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Thu, 10 Dec 2020 19:39:01 +0100
Subject: [PATCH 010/138] Initial: support Portenta Beta
Subject: [PATCH 010/157] Initial: support Portenta Beta

TODO: add 27mhz clock configuration
---
Expand All @@ -22,5 +22,5 @@ index 8732ee0ba8..f79bc4f63f 100644
"network-default-interface-type": "ETHERNET",
"i2c_timing_value_algo": true
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 2bdb291a44fd149d38662f70a574b1a06380fca7 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Thu, 11 Mar 2021 11:50:18 +0100
Subject: [PATCH 011/138] STM32: USB: allow dynamic USB speed configuration
Subject: [PATCH 011/157] STM32: USB: allow dynamic USB speed configuration
based on bootloader parameters

---
Expand Down Expand Up @@ -141,5 +141,5 @@ index c45150de4b..40f1044216 100644
instance->events->start_process();
}
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0012-Increase-Cordio-memory-pool-for-nRF52832.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 66c314a029c7db96c88c9155ec2db93f4f48ab72 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Thu, 10 Dec 2020 09:43:14 +0100
Subject: [PATCH 012/138] Increase Cordio memory pool for nRF52832
Subject: [PATCH 012/157] Increase Cordio memory pool for nRF52832

completes 9354bc2a958966739adb0b9584c966bc13e675d5
---
Expand All @@ -22,5 +22,5 @@ index 05e5a45eee..3a3d85128d 100644
"wsf-pool-buffer-size": {
"help": "Defines the memory allocated for the wsf memory pool.",
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 7001a3f148125888a91e33c949340b13af855242 Mon Sep 17 00:00:00 2001
From: Paolo Calao <paolo.calao@gmail.com>
Date: Wed, 26 Aug 2020 17:57:42 +0200
Subject: [PATCH 013/138] Cordio Add sendCmplt Callback for updating
Subject: [PATCH 013/157] Cordio Add sendCmplt Callback for updating
NumCmplPckts on disconnection

---
Expand Down Expand Up @@ -32,5 +32,5 @@ index 766c5170ec..5bc2190144 100644
if (pLctrVsHdlrs && pLctrVsHdlrs->connCleanup)
{
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0014-Add-support-for-Arduino-Edge-Control.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d7f2002260d93cbd4424dca524ac0b5ac8855d9e Mon Sep 17 00:00:00 2001
From: Giampaolo Mancini <giampaolo@trampolineup.com>
Date: Wed, 8 Jan 2020 16:42:46 +0100
Subject: [PATCH 014/138] Add support for Arduino Edge Control
Subject: [PATCH 014/157] Add support for Arduino Edge Control

---
.../TARGET_EDGE_CONTROL/PinNames.h | 207 ++++++++++++++++++
Expand Down Expand Up @@ -293,5 +293,5 @@ index f79bc4f63f..0bc010dbea 100644
"core": "Cortex-M4F",
"components_add": [
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0015-RASPBERRYPI-import-pico-sdk.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d0d987ef31108b9372818f7c728a29986a8b85de Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Mon, 3 May 2021 10:45:27 +0200
Subject: [PATCH 015/138] RASPBERRYPI: import pico-sdk
Subject: [PATCH 015/157] RASPBERRYPI: import pico-sdk

---
.../TARGET_RP2040/pico-sdk/CMakeLists.txt | 89 +
Expand Down Expand Up @@ -122065,5 +122065,5 @@ index 0000000000..6c361e0002
+ * \brief <a href="https://github.com/hathach/tinyusb">TinyUSB</a> Host-mode support for the RP2040
+ */
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0016-RP2040-add-NANO_RP2040_CONNECT-target.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From da155e47b873ca2844201f68e8733dd7a2f85bf2 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Mon, 3 May 2021 10:56:43 +0200
Subject: [PATCH 016/138] RP2040: add NANO_RP2040_CONNECT target
Subject: [PATCH 016/157] RP2040: add NANO_RP2040_CONNECT target

---
targets/CMakeLists.txt | 1 +
Expand Down Expand Up @@ -1031,5 +1031,5 @@ index 0bc010dbea..5bdddb968d 100644
"version": "1",
"public": false
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From b2beb1cd8085dff199987ae140ea679bd671f62e Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Fri, 12 Feb 2021 13:29:58 +0100
Subject: [PATCH 017/138] RP2040: add placeholder files for includes like
Subject: [PATCH 017/157] RP2040: add placeholder files for includes like
pico/*.h

---
Expand All @@ -23,5 +23,5 @@ diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/pico-sdk/common/pico_time/
new file mode 100644
index 0000000000..e69de29bb2
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0018-RP2040-implement-serial-api.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 374ca188ae04f1fc9cd2f2739448e37b290dfd35 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Fri, 12 Feb 2021 15:49:55 +0100
Subject: [PATCH 018/138] RP2040: implement serial api
Subject: [PATCH 018/157] RP2040: implement serial api

---
.../TARGET_RP2040/PeripheralPins.c | 85 +++++++
Expand Down Expand Up @@ -514,5 +514,5 @@ index 5bdddb968d..596670be3d 100644
},
"__build_tools_metadata__": {
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0019-RP2040-add-pinmap-for-i2c-spi-pwm.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d2769007537ff59f08fd97d9c67eee05139bc0f5 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Fri, 12 Feb 2021 17:03:32 +0100
Subject: [PATCH 019/138] RP2040: add pinmap for i2c, spi, pwm
Subject: [PATCH 019/157] RP2040: add pinmap for i2c, spi, pwm

---
.../TARGET_RP2040/PeripheralNames.h | 6 +-
Expand Down Expand Up @@ -179,5 +179,5 @@ index abeaed1d82..482f8f499c 100644

//*** ADC ***
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0020-RP2040-Mark-.init-section-as-KEEP.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From b1f552e3a7735549513bf9806f37bfc16685bee9 Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Mon, 15 Feb 2021 12:24:50 +0100
Subject: [PATCH 020/138] RP2040: Mark .init section as KEEP
Subject: [PATCH 020/157] RP2040: Mark .init section as KEEP

---
.../TARGET_RP2040/TOOLCHAIN_GCC_ARM/memmap_default.ld | 2 +-
Expand All @@ -21,5 +21,5 @@ index 07d5812db1..fb2ff6d18a 100644
*(.fini)
/* Pull all c'tors into .text */
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0021-RP2040-implement-mbed-api-analogin.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 1a814e88b4c9077aa5458e9639080429691de2e1 Mon Sep 17 00:00:00 2001
From: Alexander Entinger <cto@lxrobotics.com>
Date: Mon, 15 Feb 2021 13:52:41 +0100
Subject: [PATCH 021/138] RP2040: implement mbed api analogin.
Subject: [PATCH 021/157] RP2040: implement mbed api analogin.

---
.../TARGET_RP2040/PeripheralNames.h | 5 +-
Expand Down Expand Up @@ -129,5 +129,5 @@ index 7272492f2f..16dab0daaf 100644
};

--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0022-RP2040-add-SPI-support.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 7a040207fa7a36319e1d2e26516210d9cdc44d6c Mon Sep 17 00:00:00 2001
From: Alexander Entinger <cto@lxrobotics.com>
Date: Mon, 15 Feb 2021 15:51:03 +0100
Subject: [PATCH 022/138] RP2040: add SPI support
Subject: [PATCH 022/157] RP2040: add SPI support

---
.../TARGET_RP2040/PeripheralPins.c | 16 +--
Expand Down Expand Up @@ -207,5 +207,5 @@ index 596670be3d..98997cd193 100644
},
"NANO_RP2040_CONNECT": {
--
2.25.1
2.36.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From a82090cdeb83df83716f8f9303d17dbf7f85050f Mon Sep 17 00:00:00 2001
From: Alexander Entinger <cto@lxrobotics.com>
Date: Tue, 16 Feb 2021 06:30:59 +0100
Subject: [PATCH 023/138] RP2040: prefix pico-sdk's i2c_init function with a
Subject: [PATCH 023/157] RP2040: prefix pico-sdk's i2c_init function with a
'_'

to avoid name clashes with mbed I2C API.
Expand Down Expand Up @@ -37,5 +37,5 @@ index dda598c3e0..ead7bf1b1b 100644
/*! \brief Disable the I2C HW block
* \ingroup hardware_i2c
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0024-RP2040-add-I2C-peripheral-support.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d6cbdb2efee07a2ae881023b42522a71d9b54eb9 Mon Sep 17 00:00:00 2001
From: Alexander Entinger <cto@lxrobotics.com>
Date: Tue, 16 Feb 2021 06:29:59 +0100
Subject: [PATCH 024/138] RP2040: add I2C peripheral support
Subject: [PATCH 024/157] RP2040: add I2C peripheral support

---
.../TARGET_RP2040/i2c_api.c | 88 +++++++++++++++++++
Expand Down Expand Up @@ -129,5 +129,5 @@ index 98997cd193..3f8b505fd3 100644
"PORT_OUT",
"SERIAL",
--
2.25.1
2.36.0

4 changes: 2 additions & 2 deletions patches/0025-RP2040-implement-USBDevice.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0c8b279a5eec6de39843ed2f4f346a9ffdb35eab Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Tue, 23 Feb 2021 10:41:45 +0100
Subject: [PATCH 025/138] RP2040: implement USBDevice
Subject: [PATCH 025/157] RP2040: implement USBDevice

Code by @ghollingworth
---
Expand Down Expand Up @@ -633,5 +633,5 @@ index 3f8b505fd3..c9601649d8 100644
"MBED_MPU_CUSTOM",
"PICO_TIME_DEFAULT_ALARM_POOL_DISABLED",
--
2.25.1
2.36.0

Loading

0 comments on commit 881722c

Please sign in to comment.