Compile errors div architectures

This commit is contained in:
pschatzmann 2024-05-16 09:58:19 +02:00
parent 7820411c32
commit 0268a39260
4 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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"

View File

@ -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--;
}
}

View File

@ -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