1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

Merge pull request #21884 from maribu/tests/periph/selftest_shield

tests/periph/selftest_shield: Add NONSTRING attribute to test data
This commit is contained in:
crasbe 2025-11-17 08:22:04 +00:00 committed by GitHub
commit 0a2e1649bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ extern "C" {
* zero byte.)
*/
#ifndef NONSTRING
# if (__GNUC__ >= 15)
# if ((__GNUC__ >= 15) || (__clang_major__ >= 21))
# define NONSTRING __attribute__((nonstring))
# else
# define NONSTRING

View File

@ -172,6 +172,7 @@
# endif
#endif
NONSTRING
static const char testdata[8] = "Selftest";
static const spi_t spi_buses[] = {
#ifdef ARDUINO_SPI_D11D12D13