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
The ac6_linker_script.sct.pp file is created sucessfully.
Environment (please complete the following information):
CMSIS-Toolbox
v1.7.0
OS: Ubuntu 22.04
Additional context
Same behavior with AC6@8.20.1
In AC6.6.18.0.cmake, this line configures the call: set(CPP_ARGS_LD_SCRIPT "${CPP_FLAGS} ${CPP_DEFINES} -include \"${LD_REGIONS}\" \"${LD_SCRIPT}\" -o \"${LD_SCRIPT_PP}\"") but I don't understand where ${LD_SCRIPT} comes from and why it's a full path.
Is this an issue with CMSIS-toolbox or AC6?
Any help is appreciated, I'm stuck in the middle of a migration which takes way too long already.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @jankap, first of all I would recommend to use the latest cmsis-toolbox 2.0.0-dev1.
Anyway I tried with the cmsis-toolbox 1.7.0 and AC6 6.20.1 in Linux and in Windows and it works with absolute paths in both cases. You can inspect the generated CMakeLists.txt where you should always find absolute paths.
Something that I have observed in your comment is that you do a cd /workspaces/prj and then the preprocessor includes a relative file -include prj/RTE/... that would result in /workspaces/prj/prj/RTE/... - note the double prj, it does not match the absolute path mentioned in the first call.
Would you be able to provide the full project in order to reproduce the issue you are facing? Thanks!
Describe the bug
The linking step fails due to absolute paths in
armclang
call:Results in
It works well with cding into the path:
The
ac6_linker_script.sct.pp
file is created sucessfully.Environment (please complete the following information):
Additional context
Same behavior with AC6@8.20.1
In AC6.6.18.0.cmake, this line configures the call:
set(CPP_ARGS_LD_SCRIPT "${CPP_FLAGS} ${CPP_DEFINES} -include \"${LD_REGIONS}\" \"${LD_SCRIPT}\" -o \"${LD_SCRIPT_PP}\"")
but I don't understand where${LD_SCRIPT}
comes from and why it's a full path.Is this an issue with CMSIS-toolbox or AC6?
Any help is appreciated, I'm stuck in the middle of a migration which takes way too long already.
Thanks.
The text was updated successfully, but these errors were encountered: