You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Seeing an issue whereby in a project add_compile_definitions() is used to add a compile definition for the code, upon building however a warning it emitted when doing the code relocation part:
/tmp/aa/zephyr/scripts/build/gen_relocate_app.py:547: UserWarning: File: MIN_SECTOR_COUNT=866 Not found
warnings.warn("File: "+file_glob+" Not found")
grepping for this yields this in the code relocation file:
Invalid bug, missed that add_compile_definitions() is the raw cmake function and should not be used, zephyr_compile_definitions() is the correct function
Describe the bug
Seeing an issue whereby in a project add_compile_definitions() is used to add a compile definition for the code, upon building however a warning it emitted when doing the code relocation part:
grepping for this yields this in the code relocation file:
I'm not really sure why that is being put there?
To Reproduce
Get mcu-tools/mcuboot#2019
Then build MCUboot using
cmake -GNinja -DBOARD=mimxrt595_evk/mimxrt595s/cm33 ..
and warning will showExpected behavior
No warning
Impact
Annoyance in this case, could be more if other definitions start getting put there
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: