As clarified in AN213924 chapter4.3 -> step#8,
"For updateable application projects, add to the main_cm4.c file a global array to store the application signature. For example, for checksum, the simplest and most common signature type, add the following:
/* This section holds signature data for application verification.
For checksum verification, set the number of elements in the array to 1,
and in bootload_common.ld set __cy_boot_signature_size = 4. */
CY_SECTION(".cy_app_signature") __USED static const uint32_t cy_bootload_appSignature;"
Please add this line and check if it helps.
Thank you for the reply! I tried what you recommended and declared the appSignature variable in my main_cm4.c file as a global variable, but I'm still getting the same errors.
This is my main_cm4.c file:
CY_SECTION(".cy_app_signature") __USED static const uint32_t cy_bootload_appSignature;
__enable_irq(); /* Enable global interrupts. */
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
/* Place your application code here. */
I suggest you to repeat the steps in that doc from modifying your general application, and to find out at which step exactly this error shows.