Initial commit
Initial commit.
This commit is contained in:
20
bootloader/mcuboot/sim/mcuboot-sys/csupport/devicetree.h
Normal file
20
bootloader/mcuboot/sim/mcuboot-sys/csupport/devicetree.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/* This file mocks zephyr's flash map / DT macro */
|
||||
|
||||
#ifndef __DEVICETREE_H__
|
||||
#define __DEVICETREE_H__
|
||||
|
||||
#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
|
||||
|
||||
#endif /*__DEVICETREE_H__*/
|
||||
Reference in New Issue
Block a user