Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[csolution] does not check if the specified linker script file is present #1952

Open
ReinhardKeil opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ReinhardKeil
Copy link
Collaborator

Describe the bug
csolution does not check if the linker script file is present. Instead an error at CMake build level is generated that is misleading.

ninja: error: 'C:/w/csolution-examples/CubeMX/RTE/Device/STM32U585AIIx/ac6_linker_script.sct.srcx', needed by 'C:/w/csolution-examples/CubeMX/out/CubeMX/MyBoard_ROM/Debug/CubeMX.axf', missing and no known rule to make it

To Reproduce

Use csolution-examples CubeMX and change *.cproject.yml the linker script file name, i.e.

  linker:
    - script: RTE/Device/STM32U585AIIx/ac6_linker_script.sct.srcx
    - regions: $regions_header$
      for-compiler: AC6

Expected behavior
Missing source files are flagged by csolution. Implement a similar behavour for linker script file.

Environment (please complete the following information):

  • CMSIS-Toolbox 2.7.0
  • Windows
@ReinhardKeil ReinhardKeil added the bug Something isn't working label Feb 7, 2025
@jkrech jkrech moved this to Todo in CMSIS-Toolbox 2.8.0 Feb 11, 2025
@jkrech jkrech changed the title csolution does not check if the linker script file is present [csolution] does not check if the szpecified linker script file is present Feb 11, 2025
@jkrech jkrech changed the title [csolution] does not check if the szpecified linker script file is present [csolution] does not check if the specified linker script file is present Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants