File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,8 @@ typedef uint32_t eps32_i2s_sample_rate_type;
237
237
#define SOFT_MUTE_VALUE LOW
238
238
#define PIN_CS PIN_SPI0_SS
239
239
240
+ // fix missing __sync_synchronize symbol
241
+ #define FIX_SYNC_SYNCHRONIZE
240
242
#define IRAM_ATTR
241
243
242
244
#endif
Original file line number Diff line number Diff line change
1
+ /* *
2
+ * @file AudioRuntime.cpp
3
+ * @author Phil Schatzmann
4
+ * @brief Some platform specific exceptional things which can't be implemented in a header
5
+ * @version 0.1
6
+ * @date 2022-02-01
7
+ *
8
+ * @copyright Copyright (c) 2022
9
+ *
10
+ */
11
+ #include " AudioConfig.h"
12
+ #include " AudioTools/AudioLogger.h"
13
+
14
+ #if defined(ARDUINO_ARCH_RP2040) && defined(FIX_SYNC_SYNCHRONIZE)
15
+ extern " C" void __sync_synchronize (){
16
+ LOGE (" __sync_synchronize not implemented" )
17
+ }
18
+ #endif
Original file line number Diff line number Diff line change 7
7
8
8
9
9
/// stops any further processing by spinning in an endless loop
10
- void stop () {
10
+ inline void stop () {
11
11
#ifdef EXIT_ON_STOP
12
12
exit (0 );
13
13
#else
@@ -23,4 +23,6 @@ inline static void checkMemory(bool stackCheck=false) {
23
23
assert (heap_caps_check_integrity_all (true));
24
24
if (stackCheck ) printf ("stack available: %d \n'" , uxTaskGetStackHighWaterMark (NULL ));
25
25
#endif
26
- }
26
+ }
27
+
28
+
You can’t perform that action at this time.
0 commit comments