|
20 | 20 | #define __RTOS__ // supports Free RTOS |
21 | 21 | #define __LWIP__ // use lwip socket implementation |
22 | 22 | #define TASK_STACK_SIZE configMINIMAL_STACK_SIZE |
| 23 | + #define RAWWAVE_PATH "/sdcard/rawwaves/" |
23 | 24 |
|
24 | 25 | // Uncomment after installing https://github.com/pschatzmann/ESP32-A2DP |
25 | 26 | // #define __BT_A2DP__ // output to A2DP sink |
|
31 | 32 | #define __NO_EXCEPTIONS__ // comment out exceptions |
32 | 33 | #define __NO_FSTREAM__ // No Messanger, MidiFileIn and Skini and FileRead |
33 | 34 | #define __NO_RT__ // no STK RT functions |
| 35 | + #define RAWWAVE_PATH "/sdcard/rawwaves/" |
34 | 36 |
|
35 | 37 | #include "FS.h" |
36 | 38 | #undef round |
|
42 | 44 | #define __NO_EXCEPTIONS__ // comment out exceptions |
43 | 45 | #define __NO_FSTREAM__ // No Messanger, MidiFileIn and Skini and FileRead |
44 | 46 | #define __NO_RT__ // no STK RT functions |
45 | | - |
46 | | - // Logging support |
47 | | - #define STK_ERROR_MSG_LEN 200 |
48 | | - extern char stk_error_msg[STK_ERROR_MSG_LEN]; |
49 | | - #define ESP_LOGD(APP,...) { snprintf(stk_error_msg, STK_ERROR_MSG_LEN, __VA_ARGS__); Serial.println(stk_error_msg); } |
| 47 | + #define RAWWAVE_PATH "/rawwaves/" |
50 | 48 |
|
51 | 49 | #elif defined(IS_DESKTOP) |
52 | 50 | // #define __MIDI__ // support Midi |
|
56 | 54 | // #define __NO_FSTREAM__ // No Messanger, MidiFileIn and Skini and FileRead |
57 | 55 | // #define __NO_RT__ // no STK RT functions |
58 | 56 |
|
59 | | - // Logging support |
60 | | - #define STK_ERROR_MSG_LEN 200 |
61 | | - extern char stk_error_msg[STK_ERROR_MSG_LEN]; |
62 | | - #define ESP_LOGD(APP,...) { snprintf(stk_error_msg, STK_ERROR_MSG_LEN, __VA_ARGS__); Serial.println(stk_error_msg); } |
63 | | - |
64 | 57 | #endif |
65 | 58 |
|
66 | 59 | // rtos must be loaded on top of other classes - so we add it here |
|
0 commit comments