File tree Expand file tree Collapse file tree 7 files changed +26
-13
lines changed Expand file tree Collapse file tree 7 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 11esp32:esp32:esp32 ./examples-stream/streams-generator-serial -> rc=0
22esp32:esp32:esp32c3 ./examples-stream/streams-generator-serial -> rc=0
3- esp32:esp32:esp32s3 ./examples-stream/streams-generator-serial -> rc=0
4- esp32:esp32:esp32s2 ./examples-stream/streams-generator-serial -> rc=0
3+ esp32:esp32:esp32c5 ./examples-stream/streams-generator-serial -> rc=0
54esp32:esp32:esp32c6 ./examples-stream/streams-generator-serial -> rc=0
5+ esp32:esp32:esp32s2 ./examples-stream/streams-generator-serial -> rc=0
6+ esp32:esp32:esp32s3 ./examples-stream/streams-generator-serial -> rc=0
67esp32:esp32:esp32h2 ./examples-stream/streams-generator-serial -> rc=0
8+ esp32:esp32:esp32p4 ./examples-stream/streams-generator-serial -> rc=0
79esp8266:esp8266:generic ./examples-stream/streams-generator-serial -> rc=0
810rp2040:rp2040:generic ./examples-stream/streams-generator-serial -> rc=0
911arduino:avr:nano ./examples-stream/streams-generator-serial -> rc=0
Original file line number Diff line number Diff line change @@ -20,10 +20,12 @@ function compile_example {
2020rm build-arch-log.txt
2121compile_example " esp32:esp32:esp32"
2222compile_example " esp32:esp32:esp32c3"
23- compile_example " esp32:esp32:esp32s3"
24- compile_example " esp32:esp32:esp32s2"
23+ compile_example " esp32:esp32:esp32c5"
2524compile_example " esp32:esp32:esp32c6"
25+ compile_example " esp32:esp32:esp32s2"
26+ compile_example " esp32:esp32:esp32s3"
2627compile_example " esp32:esp32:esp32h2"
28+ compile_example " esp32:esp32:esp32p4"
2729compile_example " esp8266:esp8266:generic"
2830compile_example " rp2040:rp2040:generic"
2931compile_example " arduino:avr:nano"
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ namespace audio_tools {
2828 */
2929class StreamingDecoder : public AudioInfoSource , public AudioInfoSupport {
3030 public:
31+
32+ virtual ~StreamingDecoder () = default ;
33+
3134 /* *
3235 * @brief Starts the processing
3336 *
Original file line number Diff line number Diff line change 1- #pragme once
1+ #pragma once
22
33#define USE_SD_NO_NS
44#define USE_PWM
File renamed without changes.
Original file line number Diff line number Diff line change 11#pragma once
22
3- // install https://github.com/pschatzmann/rp2040-i2s
43#define RP2040_MBED
5- #define USE_I2S 1
4+
5+ // install https://github.com/pschatzmann/rp2040-i2s and set USE_I2S to 1
6+ #ifndef USE_I2S
7+ # define USE_I2S 0
8+ #endif
9+
610#define USE_PWM
711#define USE_ANALOG_ARDUINO
812#define USE_TYPETRAITS
2327// fix missing __sync_synchronize symbol
2428#define FIX_SYNC_SYNCHRONIZE
2529#define IRAM_ATTR
30+
2631#ifndef ANALOG_BUFFER_SIZE
27- #define ANALOG_BUFFER_SIZE 1024
32+ # define ANALOG_BUFFER_SIZE 1024
2833#endif
2934
3035#ifndef ANALOG_BUFFERS
31- #define ANALOG_BUFFERS 50
36+ # define ANALOG_BUFFERS 50
37+ #endif
Original file line number Diff line number Diff line change 187187# include " AudioTools/PlatformConfig/esp8266.h"
188188#endif
189189
190- // ------ NANO33BLE ----------
191- #if (defined(ARDUINO_SEEED_XIAO_NRF52840_SENSE) || defined(ARDUINO_ARDUINO_NANO33BLE) || defined(ARDUINO_ARCH_MBED_NANO) ) && !defined(ARDUINO_ARCH_ZEPHYR)
192- # include " AudioTools/PlatformConfig/nano33ble .h"
190+ // ------ nRF52840: e.g. NANO33BLE ----------
191+ #if (defined(ARDUINO_SEEED_XIAO_NRF52840_SENSE) || defined(ARDUINO_ARDUINO_NANO33BLE) ) && !defined(ARDUINO_ARCH_ZEPHYR)
192+ # include " AudioTools/PlatformConfig/nrf52840 .h"
193193#endif
194194
195195// ----- RP2040 MBED -----------
199199#endif
200200
201201// ----- RP2040 -----------
202- #if defined(ARDUINO_ARCH_RP2040)
202+ #if defined(ARDUINO_ARCH_RP2040) && !defined(ARDUINO_ARCH_MBED)
203203# include " AudioTools/PlatformConfig/rp2040hower.h"
204204#endif
205205
You can’t perform that action at this time.
0 commit comments