1 /* 2 * Copyright (c) 2019 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /* This file mocks zephyr's flash map / DT macro */ 8 9 #ifndef __DEVICETREE_H__ 10 #define __DEVICETREE_H__ 11 12 #define FLASH_AREA_ID(x) FLASH_AREA_ID_##x 13 14 #define FLASH_AREA_ID_image_0 1 15 #define FLASH_AREA_ID_image_1 2 16 #define FLASH_AREA_ID_image_scratch 3 17 #define FLASH_AREA_ID_image_2 4 18 #define FLASH_AREA_ID_image_3 5 19 20 #endif /*__DEVICETREE_H__*/ 21