Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1704

Linker script include is broken in Qbs 1.22+ for the IAR STM8 toolchain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 1.23
    • None
    • Other
    • 235bb0a2b9 (qbs/qbs/1.23) 235bb0a2b9 (qbs/qbs/master) 235bb0a2b9 (qbs/qbs/1.24)

    Description

      In QtCreator 8 such a definition:

       

      //from the old project, works previously    
      Group {
            name: "Linker script"
            prefix: cpp.toolchainInstallPath + "/../config/"
            fileTags: ["linkerscript"]
            files: ["lnkstm8s103f3.icf"]
      }
      

      lead to the error:

       

       

      Command line error: Unexpected command line arguments:
                  --configC:/Program Files (x86)/IAR Systems/Embedded Workbench
                            8.3/stm8/config/lnkstm8s103f3.icf
      

      Concatenation doesn't preserve a whitespace

       

      Possible workaround:

       

          cpp.driverLinkerFlags: [
              "--config", product.sourceDirectory + "/config/lnkstm8s103f3.icf",
          ]

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            hrandib Dmytro Shestakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes