Closed RudolphRiedel closed 11 months ago
…ino implementation
By creating this pull request you agree to the terms in CONTRIBUTING.md. https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md --- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
Description This fixes the implementation of transfer(buf, count) from void transfer(uint8_t buf, uint8_t count) to void transfer(void buf, size_t count)
As the latter is what is used by the standard Arduino API, see https://github.com/arduino/ArduinoCore-API/blob/master/api/HardwareSPI.h
On top it also removes the limitation in length to 256 bytes while not using an extra buffer anymore that is allocated from the stack.
…ino implementation
By creating this pull request you agree to the terms in CONTRIBUTING.md. https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md --- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
Description This fixes the implementation of transfer(buf, count) from void transfer(uint8_t buf, uint8_t count) to void transfer(void buf, size_t count)
As the latter is what is used by the standard Arduino API, see https://github.com/arduino/ArduinoCore-API/blob/master/api/HardwareSPI.h
On top it also removes the limitation in length to 256 bytes while not using an extra buffer anymore that is allocated from the stack.