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
This bug report is a follow-up on this StackOverflow question.
The user had a project that mysteriously stopped working after taking a copy.
Crucially, the copy ended up as serial_pico (copy), which fails with errors: (see SO question)
The cause of this error seems to be src/rp2_common.cmake on lines 15 and 16. Adding the VERBATIM option after the COMMAND stanzas and adding a space after the > and >> respectively allows the build to proceed a bit further, after which it complains about a similar objcopy call.
The text was updated successfully, but these errors were encountered:
It seems that adding the VERBATIM keyword to every add_custom_command fixes this.
If VERBATIM is given then all arguments to the commands will be escaped properly
for the build tool so that the invoked command receives each argument unchanged.
Note that one level of escapes is still used by the CMake language processor before
add_custom_target even sees the arguments. Use of VERBATIM is recommended as it
enables correct behavior. When VERBATIM is not given the behavior is platform
specific because there is no protection of tool-specific special characters.
This bug report is a follow-up on this StackOverflow question.
The user had a project that mysteriously stopped working after taking a copy.
Crucially, the copy ended up as
serial_pico (copy)
, which fails with errors: (see SO question)Steps to reproduce:
/tmp/test checkout (copy)
)On my system, the failing command is:
The cause of this error seems to be src/rp2_common.cmake on lines 15 and 16. Adding the
VERBATIM
option after theCOMMAND
stanzas and adding a space after the>
and>>
respectively allows the build to proceed a bit further, after which it complains about a similarobjcopy
call.The text was updated successfully, but these errors were encountered: