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:
parent
bc98a06771
commit
3405648b7d
2 changed files with 0 additions and 8 deletions
|
@ -12,10 +12,6 @@
|
||||||
#include <offsets_short_arch.h>
|
#include <offsets_short_arch.h>
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
|
|
||||||
#if !defined(__GNUC__)
|
|
||||||
#error __FILE__ goes only with Cortex-M GCC
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) && \
|
#if !defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) && \
|
||||||
!defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
|
!defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
|
||||||
#error "Unsupported architecture"
|
#error "Unsupported architecture"
|
||||||
|
|
|
@ -12,10 +12,6 @@
|
||||||
#include <offsets_short_arch.h>
|
#include <offsets_short_arch.h>
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
|
|
||||||
#if !defined(__GNUC__)
|
|
||||||
#error __FILE__ goes only with Cortex-M GCC
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) && \
|
#if !defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) && \
|
||||||
!defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
|
!defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
|
||||||
#error "Unsupported architecture"
|
#error "Unsupported architecture"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue