@@ -286,7 +286,6 @@ typedef WiFiClient WiFiClientSecure;
286
286
#endif
287
287
288
288
#define USE_TYPETRAITS
289
- #define USE_EFFECTS_SUITE
290
289
#define USE_STREAM_WRITE_OVERRIDE
291
290
#define USE_STREAM_READ_OVERRIDE
292
291
#define USE_TOUCH_READ
@@ -356,7 +355,6 @@ typedef uint32_t eps32_i2s_sample_rate_type;
356
355
#define USE_I2S
357
356
#define USE_AUDIO_SERVER
358
357
#define USE_TYPETRAITS
359
- #define USE_EFFECTS_SUITE
360
358
#define USE_TIMER
361
359
#define USE_STREAM_WRITE_OVERRIDE
362
360
#define USE_STREAM_READ_OVERRIDE
@@ -413,7 +411,6 @@ typedef uint32_t eps32_i2s_sample_rate_type;
413
411
#define USE_I2S
414
412
#define USE_PDM
415
413
#define USE_TYPETRAITS
416
- #define USE_EFFECTS_SUITE
417
414
#define USE_TIMER
418
415
#define USE_STREAM_WRITE_OVERRIDE
419
416
#define USE_STREAM_READ_OVERRIDE
@@ -447,7 +444,6 @@ typedef uint32_t eps32_i2s_sample_rate_type;
447
444
// #define USE_URL_ARDUINO // commented out because of compile errors
448
445
#define USE_I2S
449
446
#define USE_TYPETRAITS
450
- #define USE_EFFECTS_SUITE
451
447
#define USE_TIMER
452
448
#define USE_WIFI
453
449
#define USE_AUDIO_SERVER
@@ -471,13 +467,12 @@ typedef uint32_t eps32_i2s_sample_rate_type;
471
467
#endif
472
468
473
469
// ------ NANO33BLE ----------
474
- #if defined(ARDUINO_SEEED_XIAO_NRF52840_SENSE) || defined(ARDUINO_ARDUINO_NANO33BLE)
470
+ #if ( defined(ARDUINO_SEEED_XIAO_NRF52840_SENSE) || defined(ARDUINO_ARDUINO_NANO33BLE) || defined(ARDUINO_ARCH_MBED_NANO)) && !defined(ARDUINO_ARCH_ZEPHYR )
475
471
#define USE_NANO33BLE
476
472
#define USE_INT24_FROM_INT
477
473
#define USE_I2S
478
474
#define USE_PWM
479
475
#define USE_TYPETRAITS
480
- #define USE_EFFECTS_SUITE
481
476
#define USE_TIMER
482
477
// #define USE_INITIALIZER_LIST
483
478
#define USE_ALT_PIN_SUPPORT
@@ -493,15 +488,14 @@ typedef uint32_t eps32_i2s_sample_rate_type;
493
488
#define PIN_CS SS
494
489
#endif
495
490
496
- // ----- MBED -----------
497
- #if defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_MBED_NANO)
491
+ // ----- RP2040 MBED -----------
492
+ #if defined(ARDUINO_ARCH_MBED_RP2040)
498
493
// install https://github.com/pschatzmann/rp2040-i2s
499
494
#define RP2040_MBED
500
495
#define USE_I2S 1
501
496
#define USE_PWM
502
497
#define USE_ANALOG_ARDUINO
503
498
#define USE_TYPETRAITS
504
- #define USE_EFFECTS_SUITE
505
499
#define USE_TIMER
506
500
#define USE_INT24_FROM_INT
507
501
@@ -537,7 +531,6 @@ typedef uint32_t eps32_i2s_sample_rate_type;
537
531
#define USE_PWM
538
532
#define USE_ANALOG_ARDUINO
539
533
#define USE_TYPETRAITS
540
- #define USE_EFFECTS_SUITE
541
534
#define USE_TIMER
542
535
#define USE_INT24_FROM_INT
543
536
@@ -566,7 +559,7 @@ typedef uint32_t eps32_i2s_sample_rate_type;
566
559
#define ANALOG_BUFFERS 100
567
560
#endif
568
561
569
- #define USE_CONCURRENCY
562
+ // #define USE_CONCURRENCY
570
563
#define USE_SD_SUPPORTS_SPI
571
564
572
565
// default pins for VS1053 shield
@@ -695,7 +688,6 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
695
688
#define IS_MBED
696
689
#define USE_INT24_FROM_INT
697
690
#define USE_TYPETRAITS
698
- #define USE_EFFECTS_SUITE
699
691
#define USE_ANALOG
700
692
#define USE_STREAM_WRITE_OVERRIDE
701
693
#define ANALOG_BUFFER_SIZE 1024
@@ -717,7 +709,6 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
717
709
#define IS_MBED
718
710
#define USE_INT24_FROM_INT
719
711
#define USE_TYPETRAITS
720
- #define USE_EFFECTS_SUITE
721
712
#define USE_ANALOG
722
713
#define USE_TIMER
723
714
#define USE_PWM
@@ -743,7 +734,6 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
743
734
#define USE_INT24_FROM_INT
744
735
#define IS_RENESAS 1
745
736
#define USE_TYPETRAITS
746
- #define USE_EFFECTS_SUITE
747
737
#define USE_TIMER
748
738
#define USE_PWM
749
739
#define PIN_PWM_START D2
@@ -774,6 +764,13 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
774
764
775
765
#endif
776
766
767
+
768
+ // ------ Zephyr -------
769
+ #ifdef ARDUINO_ARCH_ZEPHYR
770
+ # define IS_ZEPHYR
771
+ # define NO_INPLACE_INIT_SUPPORT
772
+ #endif
773
+
777
774
// ------ VS1053 ----------
778
775
// see https://github.com/pschatzmann/arduino-vs1053/wiki/Pinouts-for-Processors-and-Tested-Boards#microcontrollers
779
776
// Default Pins for VS1053
@@ -840,6 +837,7 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
840
837
#pragma GCC diagnostic ignored "-Wvla"
841
838
#pragma GCC diagnostic ignored "-Wsign-compare"
842
839
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
840
+ #pragma GCC diagnostic ignored "-Wdouble-promotion"
843
841
844
842
#ifdef USE_NO_MEMACCESS
845
843
#pragma GCC diagnostic ignored "-Wclass-memaccess"
0 commit comments