Skip to content

Commit d803a20

Browse files
dgarskedanielinux
authored andcommitted
Switch to using IPC for communicating state. Prevents possible hard fault on network core reset. Cleanup make logic for using custom partition id (WOLFBOOT_PART_ID). On net update allow app core to continue booting if synchronization is enabled.
1 parent 7260ecb commit d803a20

File tree

6 files changed

+223
-118
lines changed

6 files changed

+223
-118
lines changed

config/examples/nrf5340_net.config

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,15 @@ WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x100000
4343
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x12E000
4444

4545
# Network core uses partition ID 2
46-
CFLAGS_EXTRA+=-DHDR_IMG_TYPE_APP=0x2
46+
WOLFBOOT_PART_ID=2
4747

4848
V?=0
4949
DEBUG?=0
5050
DEBUG_UART?=1
5151
USE_GCC=1
5252
OPTIMIZATION_LEVEL=2
5353

54-
SIGN_OPTIONS_EXTRA=--id 2
55-
5654
#CFLAGS_EXTRA+=-DDEBUG_FLASH
5755

58-
# If debugging network core disable the shared memory, since app core has not enabled access to it
59-
#CFLAGS_EXTRA+=-DDISABLE_SHARED_MEM
60-
6156
# Hard fault debugging
6257
#CFLAGS_EXTRA+=-DDEBUG_HARDFAULT

0 commit comments

Comments
 (0)