4 Replies Latest reply on Mar 20, 2017 5:43 AM by user_1377889

    Linker Not Called

    shawn.lammers_2252246

      I am having an issue with PSoc Creator 4.0 Update 1 where it does not properly detect when a link is required. If I change a .c file and select build project, it compiles the c file but then said the link step is up to date and does not link in the changes. Here is an example output. As you can see I changed PIDControl.c so it compiled the file but then the linker was not called.

         

      Does anyone know what would cause this?

         

      --------------- Build Started: 03/19/2017 09:12:51 Project: MacanumBuggy, Configuration: ARM GCC 4.9-2015-q1-update Debug ---------------

         

      The code generation step is up to date.

         

      arm-none-eabi-gcc.exe -mcpu=cortex-m3 -mthumb -I. -IGenerated_Source\PSoC5 -Wa,-alh=.\CortexM3\ARM_GCC_493\Debug/PIDControl.lst -g -D DEBUG -Wall -ffunction-sections -Og -ffat-lto-objects -c PIDControl.c -o .\CortexM3\ARM_GCC_493\Debug\PIDControl.o

         

      The link step is up to date, no work needs to be done.

         

      cyelftool.exe -C "Z:\Programming\Cypress\RC Projects\MacanumBuggy.cydsn\CortexM3\ARM_GCC_493\Debug\MacanumBuggy.elf" --flash_row_size 256 --flash_size 262144

         

      cyelftool.exe -S "Z:\Programming\Cypress\RC Projects\MacanumBuggy.cydsn\CortexM3\ARM_GCC_493\Debug\MacanumBuggy.elf"

         

      Flash used: 37572 of 262144 bytes (14.3 %).

         

      SRAM used: 3957 of 65536 bytes (6.0 %). Stack: 2048 bytes. Heap: 512 bytes.

         

      --------------- Build Succeeded: 03/19/2017 09:12:54 ---------------