ArduinoCore-API
ArduinoCore-API copied to clipboard
Hardware independent layer of the Arduino cores defining the official API
### Description Missing virtual destructor - memory leak and UB ### Environment First found on R4, but it is general ### Current behavior Warning while compiling sketch, possible UB. ```...
### API component stream.cpp ### Description Text files can be read using readBytesUntil with the LineFeed character but with Windows files the CR character has to be dealt with. readln...
### Description Update various API implementations that use c-style pointer casting and other c-style approaches to use modern C++ casts. ### Is this a breaking change? The function signatures would...
Always true condition in IPAddress string-to-ipv6 conversion https://github.com/arduino/ArduinoCore-API/blob/master/api/IPAddress.cpp#L204 `*address` is checked to be `':'` so it cannot be `'\0'`. I'm not really sure what the intended behaviour is here.
### API component There should be consideration for improving the Wire library. ### Description I propose a lower-level version of the Wire library that is more tethered to what's actually...
### API component SPI API ### Description SPI API add ``` virtual void transfer(const void *tx_buffer, void *rx_buffer, size_t count); ``` [Expand SPI API and Functionality for High Speed Devices](https://github.com/arduino/ArduinoCore-API/discussions/189)...