161
161
#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32C3)
162
162
#define ESP32C3
163
163
#define ESP32X
164
+ #define USE_INT24_FROM_INT
164
165
#endif
165
166
#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32S2)
166
167
#define ESP32S2
@@ -369,6 +370,7 @@ uint64_t millis() {return (xTaskGetTickCount() * portTICK_PERIOD_MS);}
369
370
#define USE_TYPETRAITS
370
371
#define USE_EFFECTS_SUITE
371
372
#define USE_TIMER
373
+ #define USE_INT24_FROM_INT
372
374
373
375
#define PIN_ADC_START 26
374
376
#define PIN_PWM_START 6
@@ -403,6 +405,7 @@ uint64_t millis() {return (xTaskGetTickCount() * portTICK_PERIOD_MS);}
403
405
#define USE_TYPETRAITS
404
406
#define USE_EFFECTS_SUITE
405
407
#define USE_TIMER
408
+ #define USE_INT24_FROM_INT
406
409
407
410
#define PIN_ADC_START 26
408
411
#define PIN_PWM_START 6
@@ -481,9 +484,10 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
481
484
#define USE_PWM
482
485
#define USE_TIMER
483
486
#define USE_ADC_ARDUINO
487
+ #define USE_INT24_FROM_INT
488
+
484
489
#define ADC_BUFFER_SIZE 1024
485
490
#define ADC_BUFFERS 20
486
-
487
491
#define PIN_ADC_START PA0
488
492
#define PIN_PWM_START PA0
489
493
#define PWM_DEFAULT_TIMER TIM2
@@ -502,6 +506,7 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
502
506
503
507
#ifdef ARDUINO_ARCH_SAMD
504
508
#define USE_I2S
509
+ #define USE_INT24_FROM_INT
505
510
#define PIN_I2S_BCK 1
506
511
#define PIN_I2S_WS PIN_I2S_BCK+1
507
512
#define PIN_I2S_DATA_IN 3
@@ -549,6 +554,9 @@ typedef WiFiClient WiFiClientSecure;
549
554
# define USE_STREAM_READ_OVERRIDE
550
555
#endif
551
556
557
+ #ifdef AUDIOKIT_USE_IDF
558
+ # define USE_INT24_FROM_INT
559
+ #endif
552
560
553
561
#if USE_INLINE_VARS && !defined(INGNORE_INLINE_VARS)
554
562
# define INLINE_VAR inline
0 commit comments