2019-01-23 23:31:19 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2020-05-12 04:08:19 +08:00
|
|
|
/* This file mocks zephyr's flash map / DT macro */
|
2019-01-23 23:31:19 +08:00
|
|
|
|
2020-01-13 19:06:44 +08:00
|
|
|
#ifndef __DEVICETREE_H__
|
|
|
|
#define __DEVICETREE_H__
|
2019-01-23 23:31:19 +08:00
|
|
|
|
2020-05-12 04:08:19 +08:00
|
|
|
#define FLASH_AREA_ID(x) FLASH_AREA_ID_##x
|
|
|
|
|
|
|
|
#define FLASH_AREA_ID_image_0 1
|
|
|
|
#define FLASH_AREA_ID_image_1 2
|
|
|
|
#define FLASH_AREA_ID_image_scratch 3
|
|
|
|
#define FLASH_AREA_ID_image_2 4
|
|
|
|
#define FLASH_AREA_ID_image_3 5
|
2019-01-23 23:31:19 +08:00
|
|
|
|
2020-01-13 19:06:44 +08:00
|
|
|
#endif /*__DEVICETREE_H__*/
|