Skip to content

Commit 49b3378

Browse files
committed
applications: Do not unset nRF5 bootloader
Remove override for (now promptless) Kconfig. Remove the override to ROM_START_OFFSET, which is already changes if the partition manager is enabled. Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent 66c5939 commit 49b3378

16 files changed

+18
-25
lines changed

applications/nrf_desktop/board_configuration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ nRF52840 USB Dongle (``nrf52840dongle/nrf52840``) and nRF52833 USB Dongle (``nrf
9393
* Bluetooth uses Nordic Semiconductor's SoftDevice link layer and is configured to act as a central.
9494
Input data comes from Bluetooth and is retransmitted to USB.
9595
* The configuration with the B0 bootloader is set as default for the ``nrf52840dongle/nrf52840`` board and with the MCUboot bootloader is set as default for the ``nrf52833dongle`` board.
96+
* The nRF5 MBR partition (``nrf5_mbr``) added by the ``nrf52840dongle/nrf52840`` board is not used.
97+
It is statically defined with address and size both set to zero to prevent Partition Manager from trying to place it dynamically.
98+
The application did not switch to the ``bare`` board variant to keep backwards compatibility.
9699

97100
nRF52820 USB Dongle (``nrf52820dongle``)
98101
* The application is configured to act as a dongle that forwards data from both mouse and keyboard.

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/images/b0/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM=n
4040
CONFIG_UART_INTERRUPT_DRIVEN=n
4141
CONFIG_ASSERT=n
4242

43-
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
44-
4543
# Use minimal C library instead of the Picolib
4644
CONFIG_MINIMAL_LIBC=y
4745

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/images/b0/prj_3bleconn.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM=n
4040
CONFIG_UART_INTERRUPT_DRIVEN=n
4141
CONFIG_ASSERT=n
4242

43-
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
44-
4543
# Use minimal C library instead of the Picolib
4644
CONFIG_MINIMAL_LIBC=y
4745

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/images/b0/prj_4llpmconn.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM=n
4040
CONFIG_UART_INTERRUPT_DRIVEN=n
4141
CONFIG_ASSERT=n
4242

43-
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
44-
4543
# Use minimal C library instead of the Picolib
4644
CONFIG_MINIMAL_LIBC=y
4745

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/images/b0/prj_release.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM=n
4040
CONFIG_UART_INTERRUPT_DRIVEN=n
4141
CONFIG_ASSERT=n
4242

43-
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
44-
4543
# Use minimal C library instead of the Picolib
4644
CONFIG_MINIMAL_LIBC=y
4745

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/images/b0/prj_release_4llpmconn.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM=n
4040
CONFIG_UART_INTERRUPT_DRIVEN=n
4141
CONFIG_ASSERT=n
4242

43-
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
44-
4543
# Use minimal C library instead of the Picolib
4644
CONFIG_MINIMAL_LIBC=y
4745

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/pm_static.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ s1_image:
3838
settings_storage:
3939
address: 0xfe000
4040
size: 0x2000
41+
nrf5_mbr:
42+
address: 0x0
43+
size: 0x0

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/pm_static_3bleconn.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ s1_image:
3838
settings_storage:
3939
address: 0xfe000
4040
size: 0x2000
41+
nrf5_mbr:
42+
address: 0x0
43+
size: 0x0

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/pm_static_4llpmconn.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ s1_image:
3838
settings_storage:
3939
address: 0xfe000
4040
size: 0x2000
41+
nrf5_mbr:
42+
address: 0x0
43+
size: 0x0

applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/pm_static_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ s1_image:
3838
settings_storage:
3939
address: 0xfe000
4040
size: 0x2000
41+
nrf5_mbr:
42+
address: 0x0
43+
size: 0x0

0 commit comments

Comments
 (0)