039ec75473
- external/cspot: git submodule, pinned to philippe44/cspot 3010349 (bell ed2d6e9); GPL-3.0. - components/spotify: project component wrapping cspot. bell trimmed to what cspot needs (Tremor Vorbis; no codec wrapper, sinks, MQTT, web server, fmt, regex; cJSON from IDF). Xtensa biquad assembly filtered out (P4 is RISC-V). CMAKE_POLICY_VERSION_MINIMUM 3.5 for CMake 4. - Patches in components/spotify/patches, applied at configure time: nanopb generator works with protobuf >= 5 (MakeClass removed); URLParser.cpp missing <cstdio>/<cstring> for GCC 14. - CONFIG_COMPILER_CXX_EXCEPTIONS=y (cspot needs exceptions). - spotify_init() only builds a LoginBlob (link check). - CLAUDE.md: submodule init and IDF-venv Python packages for nanopb. - Verified on board: "cspot linked: device "P4 AES67", zeroconf info 588 bytes"; HLS still playing, PTP locked; image 1.83 MB (70% free). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
348 B
Diff
14 lines
348 B
Diff
diff --git a/main/io/URLParser.cpp b/main/io/URLParser.cpp
|
|
index 4a50ab1..af679ec 100644
|
|
--- a/main/io/URLParser.cpp
|
|
+++ b/main/io/URLParser.cpp
|
|
@@ -1,5 +1,8 @@
|
|
#include "URLParser.h"
|
|
|
|
+#include <cstdio> // sscanf (GCC 14 / ESP-IDF 5.5: not included transitively)
|
|
+#include <cstring> // strstr
|
|
+
|
|
namespace bell {
|
|
|
|
#ifdef BELL_DISABLE_REGEX
|