Enable DFU USB support on Thingy53

Hello, I am following the official tutorial (academy.nordicsemi.com/.../) to enable DFU over USB function on both nrf5340DK and thingy53. I am using sysbuild for both board. In my mcuboot.conf file, I specified a partition size for MCUboot as CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x12000 to solve the issue where data overflow when USB driver is enabled in MCUboot. This works fine for the nrf5340DK. But, no matter what value I change here, I still get a overflow error for my thingy53. Then I realise that thingy53 is using a static partition manager which strictly defines the size of the MCUboot partition to be 0x10000. Now, according to the tutorial:"For DFU/FOTA, developers must enable static partitioning before the firmware production release.", one should always use static partition for code release. My question is, how can I solve the overflow issue without modifying the static partition yaml file that comes within the SDK but particularly for my current project? And if I am going to work with my own custom board, should I always choose static partition?

Parents Reply Children
No Data
Related