mirror of
https://github.com/pschatzmann/arduino-audio-tools.git
synced 2024-09-21 02:17:31 +00:00
Compile errors div architectures
This commit is contained in:
parent
7820411c32
commit
0268a39260
@ -3,7 +3,6 @@ esp32:esp32:esp32c3 ./examples-stream/streams-generator-serial -> rc=0
|
||||
esp32:esp32:esp32s3 ./examples-stream/streams-generator-serial -> rc=0
|
||||
esp32:esp32:esp32s2 ./examples-stream/streams-generator-serial -> rc=0
|
||||
esp32:esp32:esp32c6 ./examples-stream/streams-generator-serial -> rc=0
|
||||
esp32:esp32:esp32p4 ./examples-stream/streams-generator-serial -> rc=1
|
||||
esp8266:esp8266:generic ./examples-stream/streams-generator-serial -> rc=0
|
||||
rp2040:rp2040:generic ./examples-stream/streams-generator-serial -> rc=0
|
||||
arduino:avr:nano ./examples-stream/streams-generator-serial -> rc=0
|
||||
|
@ -28,7 +28,7 @@ compile_example "rp2040:rp2040:generic"
|
||||
compile_example "arduino:avr:nano"
|
||||
compile_example "arduino:samd:arduino_zero_native"
|
||||
compile_example "arduino:renesas_uno:unor4wifi"
|
||||
compile_example "arduino:mbed:nano33ble"
|
||||
#compile_example "arduino:mbed_nano:nanorp2040connect"
|
||||
#compile_example "arduino:mbed_rp2040:pico"
|
||||
#compile_example "STMicroelectronics:stm32:GenF4"
|
||||
|
||||
|
@ -290,8 +290,11 @@ class Vector {
|
||||
lenToEnd * sizeof(T));
|
||||
|
||||
// make sure that we have a valid object at the end
|
||||
//p_data[len - 1] = T();
|
||||
#if defined(NO_INPLACE_INIT_SUPPORT)
|
||||
p_data[len - 1] = T();
|
||||
#else
|
||||
new (&(p_data[len - 1])) T();
|
||||
#endif
|
||||
len--;
|
||||
}
|
||||
}
|
||||
|
@ -528,11 +528,12 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
|
||||
#define USE_SD_NO_NS
|
||||
#define USE_PWM
|
||||
#define USE_TIMER
|
||||
#define NO_INPLACE_INIT_SUPPORT
|
||||
// Uncomment to activate network
|
||||
//#include <Ethernet.h>
|
||||
//#define USE_URL_ARDUINO
|
||||
#ifndef assert
|
||||
#define assert(T)
|
||||
# define assert(T)
|
||||
#endif
|
||||
|
||||
#define PIN_PWM_START 6
|
||||
@ -593,6 +594,7 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
|
||||
//---- SAMD ------------
|
||||
|
||||
#ifdef ARDUINO_ARCH_SAMD
|
||||
#define NO_INPLACE_INIT_SUPPORT
|
||||
#ifndef SEEED_XIAO_M0
|
||||
# define USE_I2S
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user