This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Basic SPI reads and writes

Hi,

I have a SPI peripheral connected to the nRF960 DK. In order to access this correctly, I need to be able to write a byte to a specific address first and then read back from specific addresses. 

I can run the basic SPI example

https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/spi

which carries out a basic loop back. This all works fine but I can't see how to write a specific byte to a specific address or read a specific address.

So, ideally I would like to write 0xD2 to address 0x80, wait 1 second and then read data from address 0x00.

Can you point me to a simple example please?

Ta,
Rod

  • Can you also run "git log" in your nrf folder, so see what the last commit was?

  • I should have the latest and greatest, after installing I did run west update. How can I check the version?

  • commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    Author: Marek Pieta <[email protected]>
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    Author: Marek Pieta <[email protected]>
    Date:   Wed Mar 27 13:42:34 2019 +0100
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    Author: Marek Pieta <[email protected]>
    Date:   Wed Mar 27 13:42:34 2019 +0100
    
        samples: nrf_desktop: USB charging control
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    Author: Marek Pieta <[email protected]>
    Date:   Wed Mar 27 13:42:34 2019 +0100
    
        samples: nrf_desktop: USB charging control
        
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    Author: Marek Pieta <[email protected]>
    Date:   Wed Mar 27 13:42:34 2019 +0100
    
        samples: nrf_desktop: USB charging control
        
        Change adds USB charging control.
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    Author: Marek Pieta <[email protected]>
    Date:   Wed Mar 27 13:42:34 2019 +0100
    
        samples: nrf_desktop: USB charging control
        
        Change adds USB charging control.
        
    :...skipping...
    commit d2b6870ebc535ab3e777fc88053a7fc0ad76f416 (HEAD -> master, origin/master, origin/HEAD)
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 12:04:20 2019 +0000
    
        cmake: kconfig: samples: build bootloader as zephyr app
        
        Prepare for bootloader being built as multi image.
        Use zephyr cmake library for all source code.
        Move provision and signing targets to image being booted.
        Split in two kconfig options SECURE_BOOT and IS_SECURE_BOOTLOADER.
        The first is set by the app being booted, the second by the bootloader.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit bba06682c5bf056320d5bd1b5a68b8dd91cb3106
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:59:43 2019 +0000
    
        cmake: add target for signed image
        
        For other targets to depend on the signed image,
        a target is needed.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 1caa9929a6efae23d6d0b420feb51e7c14630805
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:52:22 2019 +0000
    
        kconfig: remove unused option
        
        This option is not used, remove it.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 3c5139d18c28f939a1540a16171988ba48948ef8
    Author: Håkon Øye Amundsen <[email protected]>
    Date:   Thu Mar 21 11:46:49 2019 +0000
    
        bootloader: move bootloader.h to include/
        
        Do this to avoid having to use relative includes.
        
        Signed-off-by: Håkon Øye Amundsen <[email protected]>
    
    commit 12cc53ac4364f29c49c25c8edf422ebc40261bfd
    Author: Marek Pieta <[email protected]>
    Date:   Wed Mar 27 13:42:34 2019 +0100
    
        samples: nrf_desktop: USB charging control
        
        Change adds USB charging control.
        
        JIRA:DESK-414
    :
    

  • The code doesn't build when I remove the SPI references, so her his may conf and overlay just now

    &spi3 {
            status = "ok";
    	sck-pin = <10>;
    	mosi-pin = <11>;
    	miso-pin = <12>;
    	ss-pin = <13>;
    	spi-max-frequency = <8000000>;
    	bme280@76 {
    		compatible = "bosch,bme280";
    		reg = <0x76>;
    		spi-max-frequency = <8000000>;
    		label = "BME280";
    	};
    
    };

    CONFIG_CONSOLE_SUBSYS=y
    CONFIG_CONSOLE_GETCHAR=y
    CONFIG_GPIO=y
    CONFIG_STDOUT_CONSOLE=y
    
    CONFIG_SERIAL=y
    CONFIG_STDOUT_CONSOLE=y
    CONFIG_UART_INTERRUPT_DRIVEN=y
    CONFIG_TEST_RANDOM_GENERATOR=y
    
    CONFIG_SENSOR=y
    
    CONFIG_NET_BUF_USER_DATA_SIZE=1
    
    CONFIG_LOG=n
    CONFIG_LOG_DEFAULT_LEVEL=4
    CONFIG_HEAP_MEM_POOL_SIZE=1024
    CONFIG_MAIN_STACK_SIZE=4096
    CONFIG_NEWLIB_LIBC=y
    
    # SPI
    CONFIG_SPI=y
    CONFIG_SPI_3=y
    CONFIG_SPI_3_NRF_SPIM=y
    CONFIG_BME280=y
    CONFIG_SPI_NRFX=y
    

    The current error

    Secure Boot: MSP_NS 20021680
    Secure Boot: prepare to jump to Non-Secure image
    ***** Booting Zephyr OS v1.13.99-ncs1-5561-gde69d2df908f *****
    Exception occurred in Secure State
    ***** HARD FAULT *****
      Fault escalation (see below)
    ***** BUS FAULT *****
      Precise data bus error
      BFAR Address: 0x50008120
    ***** Hardware exception *****
    Current thread ID = 0x20020120
    Faulting instruction address = 0x41f98
    Fatal fault in ISR! Spinning...
    

  • From the log, you are running master branch from March 27. Can you please do the following:

    cd ncs/nrf
    git checkout c1939d963fe2c18013ffb8de0bd8f6fc1d91724d
    git checkout -b <choose_branch_name>
    west update 

    There is continuous work ongoing on the master branch and is better to ensure have the latest stable version. 

    See this thread as well.

    Then try to load the latest Secure Boot, now called SPM, and your application.

Related