4 Replies Latest reply on Jan 4, 2018 2:24 AM by bob.marlowe

    Irregular .lst file generation

    bob.marlowe

      Attached project opened and built with Creator 4.2 Beta 2.

      Open in "Results" both main files (main_cm0p.lst and main_cm4.lst) and see

       

        28         .file 1 "main_cm4.c"
         1:main_cm4.c**** /*****************************************************************************
         2:main_cm4.c**** * File Name: main_cm0p.c

       

      and

        27         .file 1 "main_cm0p.c"

         1:main_cm0p.c   **** /*****************************************************************************

         2:main_cm0p.c   **** * File Name: main_cm0p.c

       

      Both showing in line 2: the same line referring to main_cm0p which is not written in the original .c source.

       

      Seems as if something is mixed from the projects

       

       

      Bob

        • 1. Re: Irregular .lst file generation
          msur

          Bob,

           

          Seems like the comments in both files are same i.e. "File name" in both the .c files read "main_cm0p.c"

           

          I think it could be a minor mistake while writing the comments. Please check the next few lines of comment and see if they differ.

           

          Regards,

          Meenakshi Sundaram R

          • 2. Re: Irregular .lst file generation
            bob.marlowe

            That is the problem: The comments in the mainxxx.c files are different! Further investigations show that  the issue does not occur when there is only one project in the workspace.

             

            Bob

            • 3. Re: Irregular .lst file generation
              msur

              In the archive you attached, I see the comment for m0p.c as below

               

              /*****************************************************************************

              * File Name: main_cm0p.c

              *

              * Version: 1.10

              *

              * Description: Demonstrates blinking an LED under firmware control. This is done

              * by the Cortex-M0+ in a dual-CPU PSoC 6, while at the same time the Cortex-M4

              * in the same device blinks a different LED at a different rate.

               

              For m4.c:

              /*****************************************************************************

              * File Name: main_cm0p.c

              *

              * Version: 1.10

              *

              * Description: Demonstrates blinking an LED under firmware control. This is done

              * by the Cortex-4 in a dual-CPU PSoC 6, while at the same time the Cortex-M0+

              * in the same device blinks a different LED at a different rate.

               

              I am seeing these in the lst files as well.

              • 4. Re: Irregular .lst file generation
                bob.marlowe

                Sorry, please remove this thread, apologies. I fetched the .lst files from the first project, but wanted to view the second one's results.

                The mainxxx.c had the correct comments for the file names.

                 

                Bob