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 1
1
esp32:esp32:esp32 ./examples-stream/streams-generator-serial -> rc=0
2
2
esp32: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
5
4
esp32: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
6
7
esp32:esp32:esp32h2 ./examples-stream/streams-generator-serial -> rc=0
8
+ esp32:esp32:esp32p4 ./examples-stream/streams-generator-serial -> rc=0
7
9
esp8266:esp8266:generic ./examples-stream/streams-generator-serial -> rc=0
8
10
rp2040:rp2040:generic ./examples-stream/streams-generator-serial -> rc=0
9
11
arduino: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 {
20
20
rm build-arch-log.txt
21
21
compile_example " esp32:esp32:esp32"
22
22
compile_example " esp32:esp32:esp32c3"
23
- compile_example " esp32:esp32:esp32s3"
24
- compile_example " esp32:esp32:esp32s2"
23
+ compile_example " esp32:esp32:esp32c5"
25
24
compile_example " esp32:esp32:esp32c6"
25
+ compile_example " esp32:esp32:esp32s2"
26
+ compile_example " esp32:esp32:esp32s3"
26
27
compile_example " esp32:esp32:esp32h2"
28
+ compile_example " esp32:esp32:esp32p4"
27
29
compile_example " esp8266:esp8266:generic"
28
30
compile_example " rp2040:rp2040:generic"
29
31
compile_example " arduino:avr:nano"
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ namespace audio_tools {
28
28
*/
29
29
class StreamingDecoder : public AudioInfoSource , public AudioInfoSupport {
30
30
public:
31
+
32
+ virtual ~StreamingDecoder () = default ;
33
+
31
34
/* *
32
35
* @brief Starts the processing
33
36
*
Original file line number Diff line number Diff line change 1
- #pragme once
1
+ #pragma once
2
2
3
3
#define USE_SD_NO_NS
4
4
#define USE_PWM
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
- // install https://github.com/pschatzmann/rp2040-i2s
4
3
#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
+
6
10
#define USE_PWM
7
11
#define USE_ANALOG_ARDUINO
8
12
#define USE_TYPETRAITS
23
27
// fix missing __sync_synchronize symbol
24
28
#define FIX_SYNC_SYNCHRONIZE
25
29
#define IRAM_ATTR
30
+
26
31
#ifndef ANALOG_BUFFER_SIZE
27
- #define ANALOG_BUFFER_SIZE 1024
32
+ # define ANALOG_BUFFER_SIZE 1024
28
33
#endif
29
34
30
35
#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 187
187
# include " AudioTools/PlatformConfig/esp8266.h"
188
188
#endif
189
189
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"
193
193
#endif
194
194
195
195
// ----- RP2040 MBED -----------
199
199
#endif
200
200
201
201
// ----- RP2040 -----------
202
- #if defined(ARDUINO_ARCH_RP2040)
202
+ #if defined(ARDUINO_ARCH_RP2040) && !defined(ARDUINO_ARCH_MBED)
203
203
# include " AudioTools/PlatformConfig/rp2040hower.h"
204
204
#endif
205
205
You can’t perform that action at this time.
0 commit comments