This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Suppressing "warning: section falls in unconfigured memory (skipped)"

Following on from the related question, now I am generating an additional hex file only for FLASHM in the F28379D:

..\CPU1_FLASH\OBC_CPU1.out
--image
--intel
ROMS
{
    CAL_PARAMS: org = 0xBC000, len = 0x2000, romwidth = 16, fill = 0xFFFF
                       files = { OBC_CPU1_CAL.hex }
}

The hex file contents are correct but I get the following warning among many others of the same type:

warning: section ..\CPU1_FLASH\OBC_CPU1.out(.cinit) at 080028h falls in unconfigured memory (skipped)

From the answer to the related question, I understand that hex2000 is warning me about items outside of the org and length area. However, it is my intention to exclude anything but the target range so ideally I do not want to be warned about it.

Can I suppress this warning please and, if so, how?

Thank you.

  • Can I suppress this warning

    Yes.

    Build with the option --display_error_number and the diagnostic will appear similar to ...

    warning #21042-D: section ..\CPU1_FLASH\OBC_CPU1.out(.cinit) at 080028h falls in unconfigured memory (skipped)

    The 21042 is the ID number of the diagnostic, and the -D means it can be controlled by other related options (the D stands for discretionary).  In this case, you want to suppress it, so add the option --diag_suppress=21042.  For more details, please search the C28x assembly tools manual for the sub-chapter titled Control Hex Conversion Utility Diagnostics.

    Thanks and regards,

    -George

  • Many thanks. That's ideal.