[PATCH 2/2] sptests/spstdc17: New test

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 27 13:18:13 UTC 2022


Hello,

On 25/07/2022 10:02, Sebastian Huber wrote:
> +cflags:
> +- -std=c17
> +- -pedantic
> +- -Wextra

this test case causes build issue on several BSPs, because the <bsp.h> 
is not C17 compatible. Example error:

bsps/arm/beagle/include/bsp.h:298:5: error: 'asm' undeclared (first use 
in this function)
   298 |     asm volatile("mcr p15, 0, %[zero], c8, c7, 0 @ TLBIALL\n\t"
       |     ^~~

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list