Skip to content

Commit fd1f766

Browse files
committed
zephyr: Add Hexiwear k64 support
The hexiwear k64 is very similar to the frdm_k64, as far as mcuboot is concerned. The partitions are now defined in DTS in Zephyr, and this target file just needs the device name, sector size, and alignment. Signed-off-by: David Brown <david.brown@linaro.org>
1 parent 35fd554 commit fd1f766

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

boot/zephyr/targets/hexiwear_k64.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright (c) 2017 Linaro
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* @file
19+
* @brief Bootloader device specific configuration.
20+
*/
21+
22+
#define FLASH_DRIVER_NAME CONFIG_SOC_FLASH_MCUX_DEV_NAME
23+
#define FLASH_ALIGN 8
24+
#define FLASH_AREA_IMAGE_SECTOR_SIZE 0x01000

0 commit comments

Comments
 (0)