Skip to content

Commit 2de633b

Browse files
Update to Pico-SDK 2.2.0 release, remove multi-lib LWIP, clean up CMake, clean up P.IO build hardcoded defines (#3049)
* Update to Pico-SDK 2.2.0 release Doesn't seem to have many additions since the develop branch we were using, but this one is nice and official and tagged. * Add LIB_PICO_MULTICORE to libpico build Fixes #3058 * Clean up some unused param warnings * Fix olimex XL/XXL RP2350A redefinition * Clean up SDK defines in IDE builds * Build LWIP at app compile time, no need for multi We needed about 6 copies of the LWIP/BT library for each CPU when the LWIP library was built as part of the SDK libpico. Remove LWIP from the SDK builds and replace it with the actual LWIP source (linked via `#include`) so we can adjust for IPv4/IPv^/32K/16K at runtime. Shrinks download size of a release significantly. Still need separate LWIP-BT library because the CYW43 driver is different when BT is enabled. Update and clean up the libpico CMakefile and common platform_def.txt Link to config includes, don't copy, where possible * Platform.IO build fixes * Use platform_def files for p.io builds * Allow for no PIN_LED for board variants * Update Mozilla CCADB URL in CertStore example Thanks to @jpoikela for esp8266/Arduino#9264 * Update TZ.h from ESP8266 repo Use newer script which parses local tzdata files * Re-enable BOOT2.S compiles in libpico No actual changes to output boot2 files, but if they ever do update we'll catch it. * Update LittleFS to latest release 2.11.1
1 parent c6a726c commit 2de633b

File tree

353 files changed

+2100
-2045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+2100
-2045
lines changed

boards.txt

Lines changed: 1056 additions & 1056 deletions
Large diffs are not rendered by default.

cores/rp2040/SemiFS.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class SemiFSFileImpl : public FileImpl {
113113
}
114114

115115
bool truncate(uint32_t size) override {
116+
(void) size;
116117
return false; // Not allowed
117118
}
118119

@@ -215,6 +216,7 @@ class SemiFSImpl : public FSImpl {
215216
}
216217

217218
DirImplPtr openDir(const char* path) override {
219+
(void) path;
218220
// No directories
219221
return DirImplPtr();
220222
}
@@ -229,6 +231,7 @@ class SemiFSImpl : public FSImpl {
229231
}
230232

231233
bool info(FSInfo& info) override {
234+
(void) info;
232235
// Not available
233236
return false;
234237
}
@@ -241,11 +244,13 @@ class SemiFSImpl : public FSImpl {
241244
}
242245

243246
bool mkdir(const char* path) override {
247+
(void) path;
244248
// No mkdir
245249
return false;
246250
}
247251

248252
bool rmdir(const char* path) override {
253+
(void) path;
249254
// No rmdir
250255
return false;
251256
}
@@ -271,6 +276,7 @@ class SemiFSImpl : public FSImpl {
271276
}
272277

273278
bool setConfig(const FSConfig &cfg) override {
279+
(void) cfg;
274280
return true;
275281
}
276282

0 commit comments

Comments
 (0)