fixed debug
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
app:
|
||||||
|
address: 0x10000
|
||||||
|
end_address: 0x36000
|
||||||
|
region: flash_primary
|
||||||
|
size: 0x26000
|
||||||
|
|
||||||
mcuboot:
|
mcuboot:
|
||||||
address: 0x0
|
address: 0x0
|
||||||
end_address: 0x10000
|
end_address: 0x10000
|
||||||
@@ -17,8 +23,13 @@ mcuboot_primary:
|
|||||||
end_address: 0x36000
|
end_address: 0x36000
|
||||||
region: flash_primary
|
region: flash_primary
|
||||||
size: 0x26000
|
size: 0x26000
|
||||||
|
orig_span:
|
||||||
|
- mcuboot_pad
|
||||||
|
- app
|
||||||
mcuboot_primary_app:
|
mcuboot_primary_app:
|
||||||
|
orig_span:
|
||||||
|
- app
|
||||||
|
region: flash_primary
|
||||||
address: 0x10200
|
address: 0x10200
|
||||||
end_address: 0x36000
|
end_address: 0x36000
|
||||||
region: flash_primary
|
region: flash_primary
|
||||||
|
|||||||
2
prj.conf
2
prj.conf
@@ -21,4 +21,4 @@ CONFIG_USB_CDC_ACM=y
|
|||||||
CONFIG_USB_DEVICE_PRODUCT="Zephyr USB console sample"
|
CONFIG_USB_DEVICE_PRODUCT="Zephyr USB console sample"
|
||||||
|
|
||||||
# STEP 1.1 - Enable MCUboot
|
# STEP 1.1 - Enable MCUboot
|
||||||
#CONFIG_IBOOTLOADER_MCUBOOT=y
|
CONFIG_BOOTLOADER_MCUBOOT=y
|
||||||
@@ -14,3 +14,5 @@ CONFIG_BOOT_SERIAL_CDC_ACM=y
|
|||||||
CONFIG_MCUBOOT_INDICATION_LED=y
|
CONFIG_MCUBOOT_INDICATION_LED=y
|
||||||
|
|
||||||
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
|
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
|
||||||
|
|
||||||
|
#CONFIG_BOOT_SIGNATURE_TYPE_NONE=y
|
||||||
Reference in New Issue
Block a user