Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
iar.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 IAR Systems AB
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_IAR_H_
8#define ZEPHYR_INCLUDE_TOOLCHAIN_IAR_H_
9
10#ifdef TOOLCHAIN_PRAGMA
11#define _TOOLCHAIN_DISABLE_WARNING(warning) TOOLCHAIN_PRAGMA(diag_suppress = warning)
12#define _TOOLCHAIN_ENABLE_WARNING(warning) TOOLCHAIN_PRAGMA(diag_default = warning)
13
14#define TOOLCHAIN_DISABLE_WARNING(warning) _TOOLCHAIN_DISABLE_WARNING(warning)
15#define TOOLCHAIN_ENABLE_WARNING(warning) _TOOLCHAIN_ENABLE_WARNING(warning)
16#endif
17
18#ifdef __ICCARM__
19#include "iar/iccarm.h"
20#endif
21#ifdef __ICCRISCV__
22#include "iar/iccriscv.h"
23#endif
24
25#endif /* ZEPHYR_INCLUDE_TOOLCHAIN_ICCARM_H_ */
ICCARM toolchain abstraction.