tests: arm: remove GNUC ifdef

It is better to get compile error rather than #error

Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
This commit is contained in:
Robin Kastberg 2024-11-29 15:52:26 +00:00 committed by Benjamin Cabé
commit 3405648b7d
2 changed files with 0 additions and 8 deletions

View file

@ -12,10 +12,6 @@
#include <offsets_short_arch.h>
#include <ksched.h>
#if !defined(__GNUC__)
#error __FILE__ goes only with Cortex-M GCC
#endif
#if !defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) && \
!defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
#error "Unsupported architecture"

View file

@ -12,10 +12,6 @@
#include <offsets_short_arch.h>
#include <ksched.h>
#if !defined(__GNUC__)
#error __FILE__ goes only with Cortex-M GCC
#endif
#if !defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) && \
!defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
#error "Unsupported architecture"