Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

da1469x: Specify custom location of da1469x_flash_loader #2842

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions hw/bsp/dialog_da1469x-dk-pro/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ syscfg.defs:
- 331_O7_B
- 331_O7_C

FLASH_LOADER_TARGET:
description: >
Flash loader target name. Used when da1469x bootloader is placed
in other folder than /targets.
value: 'targets/da1469x_flash_loader'

syscfg.defs.BUS_DRIVER_PRESENT:
BSP_FLASH_SPI_NAME:
description: 'SPIFLASH device name'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ JLINK_LOG_FILE=.jlink_log

# flash_loader build for this BSP
if [ -z $FLASH_LOADER ]; then
FL_TGT=da1469x_flash_loader
FLASH_LOADER=$BIN_ROOT/targets/$FL_TGT/app/@apache-mynewt-core/apps/flash_loader/flash_loader.elf
FL_TGT=${MYNEWT_VAL_FLASH_LOADER_TARGET}
FLASH_LOADER=$BIN_ROOT/$FL_TGT/app/@apache-mynewt-core/apps/flash_loader/flash_loader.elf
fi
if [ ! -f $FLASH_LOADER ]; then
FILE=${FLASH_LOADER##$(pwd)/}
Expand Down