Where is the Cy_PDL_Init() function supposed to be added? The document isn't clear on that.
Are there any changes in App0 and also do I assume that anything from bootload_user.c/h should be added to dfu_user.c/h if it is missing?
For example in App0 in dfu_user.c
When the PDL is changed to 3.1.0, cy_dfu_metadata contains
CY_DFU_APP0_VERIFY_START, CY_DFU_APP0_VERIFY_LENGTH, /* The App0 base address and length */ CY_DFU_APP1_VERIFY_START, CY_DFU_APP1_VERIFY_LENGTH, /* The App1 base address and length */ 0u /* The rest does not matter */
But using 3.0.4, in bootload_user.c, cy_bootload_metadata contains
CY_BOOTLOAD_APP0_VERIFY_START, CY_BOOTLOAD_APP0_VERIFY_LENGTH, /* The App0 base address and length */ CY_BOOTLOAD_APP1_VERIFY_START, CY_BOOTLOAD_APP1_VERIFY_LENGTH, /* The App1 base address and length */ CY_BOOTLOAD_APP2_VERIFY_START, CY_BOOTLOAD_APP2_VERIFY_LENGTH, /* The App2 base address and length */ /* Initialize vApps with dummy data */ 0xFFFFFFFF, 0x00000000, /* vApp3 stores the temporal stack update location */ 0xFFFFFFFF, 0x00000000, /* vApp4 stores stack update destination */ 0u /* The rest does not matter */
And CY_BOOTLOAD_APP2_VERIFY_START isn't defined when I switch to 3.1.0