[riot-commits] [RIOT-OS/RIOT] f3e720: pkg/nordic_softdevice_ble: reset memory in the .he...

Alexandre Abadie noreply at github.com
Tue Sep 10 14:38:35 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: f3e72009e8ac8a149f315910bc808aff2baaddf6
      https://github.com/RIOT-OS/RIOT/commit/f3e72009e8ac8a149f315910bc808aff2baaddf6
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M boards/common/nrf52/Makefile.include
    M pkg/nordic_softdevice_ble/Makefile

  Log Message:
  -----------
  pkg/nordic_softdevice_ble: reset memory in the .hex file

softdevice needs the memory at 0x2000 to be initialized to 0xffffffff
according to #5893 and testing. However, the addresses [0x8bc, 0x3000[ are not
set in softdevice.hex.

So use a modified hex file with all the memory set to 0xff as it is the rom
reset value anyway.

This change updates the `.hex` file instead on relying on erasing the
memory.


  Commit: 3059e03c7ca7637fb51a60a11dd3aecbd779f9cd
      https://github.com/RIOT-OS/RIOT/commit/3059e03c7ca7637fb51a60a11dd3aecbd779f9cd
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2019-09-10 (Tue, 10 Sep 2019)

  Changed paths:
    M boards/common/nrf52/Makefile.include
    M pkg/nordic_softdevice_ble/Makefile

  Log Message:
  -----------
  Merge pull request #11620 from cladmi/pr/softdevice/ensure_memory_value

pkg/nordic_softdevice_ble: reset memory in the .hex file


Compare: https://github.com/RIOT-OS/RIOT/compare/abc25f07156d...3059e03c7ca7


More information about the commits mailing list