infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

Dave

+ Reply to Thread
Results 1 to 3 of 3

Thread: "recipe for target" error

  1. #1
    Beginner Beginner Nicolaj is on a distinguished road
    Join Date
    Dec 2015
    Posts
    4
    Points
    53.75

    "recipe for target" error

    Hi

    I'm using 4.2.8 and have checked for updates as well as app updates.

    I've made a new workspace "C:\Workspaces\DAVE-4.2\ADC".
    In this workspace I created a new DAVE CE Project for a XMC4504-F100x512

    Doing nothing more than this i get a "recipe for target" compiler error when I build the project.

    Problem occurs almost at the end of the build, while building xmc_usbh.o
    It did successfully build numerous library files before getting to xmc_usbh, which I've removed most of due to thread size limitations on forum

    What am I missing?

    Code:
    10:50:57 **** Build of configuration Debug for project adc ****
    "\"C:\\DAVEv4\\DAVE-4.2.4\\eclipse\\ARM-GCC-49\\bin\\make\"" --output-sync -j4 all 
    'Building file: ../Startup/startup_XMC4504.S'
    'Invoking: ARM-GCC Assembler'
    "C:\DAVEv4\DAVE-4.2.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Startup/startup_XMC4504.o" -x assembler-with-cpp -DXMC4504_F100x512 -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries\XMCLib\inc" -I"C:\Workspaces\DAVE-4.2\ADC\adc" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Dave\Generated" -Wall -Wa,-adhlns="Startup/startup_XMC4504.o.lst" -mfloat-abi=softfp -c -fmessage-length=0 -MMD -MP -MF"Startup/startup_XMC4504.d" -MT"Startup/startup_XMC4504.d Startup/startup_XMC4504.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Startup/startup_XMC4504.o" "../Startup/startup_XMC4504.S"
    'Finished building: ../Startup/startup_XMC4504.S'
    
    'Building file: ../Startup/system_XMC4500.c'
    'Invoking: ARM-GCC C Compiler'
    "C:\DAVEv4\DAVE-4.2.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Startup/system_XMC4500.o" -DXMC4504_F100x512 -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries\XMCLib\inc" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Infineon/XMC4500_series/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Dave\Generated" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="Startup/system_XMC4500.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Startup/system_XMC4500.d" -MT"Startup/system_XMC4500.d Startup/system_XMC4500.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Startup/system_XMC4500.o" "../Startup/system_XMC4500.c"
    'Finished building: ../Startup/system_XMC4500.c'
    
    'Building file: ../Libraries/XMCLib/src/xmc_usbh.c'
    'Invoking: ARM-GCC C Compiler'
    "C:\DAVEv4\DAVE-4.2.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Libraries/XMCLib/src/xmc_usbh.o" -DXMC4504_F100x512 -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries\XMCLib\inc" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Infineon/XMC4500_series/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Dave\Generated" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="Libraries/XMCLib/src/xmc_usbh.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Libraries/XMCLib/src/xmc_usbh.d" -MT"Libraries/XMCLib/src/xmc_usbh.d Libraries/XMCLib/src/xmc_usbh.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Libraries/XMCLib/src/xmc_usbh.o" "../Libraries/XMCLib/src/xmc_usbh.c"
    Libraries/XMCLib/src/subdir.mk:111: recipe for target 'Libraries/XMCLib/src/xmc_usbh.o' failed
    ../Libraries/XMCLib/src/xmc_usbh.c: In function 'XMC_USBH_PowerControl':
    ../Libraries/XMCLib/src/xmc_usbh.c:403:43: error: 'XMC_SCU_PERIPHERAL_RESET_USB0' undeclared (first use in this function)
           XMC_SCU_RESET_AssertPeripheralReset(XMC_SCU_PERIPHERAL_RESET_USB0); /* reset USB */
                                               ^
    ../Libraries/XMCLib/src/xmc_usbh.c:403:43: note: each undeclared identifier is reported only once for each function it appears in
    make: *** [Libraries/XMCLib/src/xmc_usbh.o] Error 1
    make: *** Waiting for unfinished jobs....
    'Building file: ../Libraries/XMCLib/src/xmc_usbd.c'
    'Invoking: ARM-GCC C Compiler'
    "C:\DAVEv4\DAVE-4.2.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Libraries/XMCLib/src/xmc_usbd.o" -DXMC4504_F100x512 -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries\XMCLib\inc" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Infineon/XMC4500_series/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Dave\Generated" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="Libraries/XMCLib/src/xmc_usbd.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Libraries/XMCLib/src/xmc_usbd.d" -MT"Libraries/XMCLib/src/xmc_usbd.d Libraries/XMCLib/src/xmc_usbd.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Libraries/XMCLib/src/xmc_usbd.o" "../Libraries/XMCLib/src/xmc_usbd.c"
    'Finished building: ../Libraries/XMCLib/src/xmc_usbd.c'
    
    'Building file: ../Libraries/XMCLib/src/xmc_usic.c'
    'Invoking: ARM-GCC C Compiler'
    "C:\DAVEv4\DAVE-4.2.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Libraries/XMCLib/src/xmc_usic.o" -DXMC4504_F100x512 -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries\XMCLib\inc" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Infineon/XMC4500_series/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Dave\Generated" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="Libraries/XMCLib/src/xmc_usic.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Libraries/XMCLib/src/xmc_usic.d" -MT"Libraries/XMCLib/src/xmc_usic.d Libraries/XMCLib/src/xmc_usic.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Libraries/XMCLib/src/xmc_usic.o" "../Libraries/XMCLib/src/xmc_usic.c"
    'Finished building: ../Libraries/XMCLib/src/xmc_usic.c'
    
    'Building file: ../Libraries/XMCLib/src/xmc_vadc.c'
    'Invoking: ARM-GCC C Compiler'
    "C:\DAVEv4\DAVE-4.2.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Libraries/XMCLib/src/xmc_vadc.o" -DXMC4504_F100x512 -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries\XMCLib\inc" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc/Libraries/CMSIS/Infineon/XMC4500_series/Include" -I"C:\Workspaces\DAVE-4.2\ADC\adc" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Dave\Generated" -I"C:\Workspaces\DAVE-4.2\ADC\adc\Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="Libraries/XMCLib/src/xmc_vadc.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Libraries/XMCLib/src/xmc_vadc.d" -MT"Libraries/XMCLib/src/xmc_vadc.d Libraries/XMCLib/src/xmc_vadc.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Libraries/XMCLib/src/xmc_vadc.o" "../Libraries/XMCLib/src/xmc_vadc.c"
    'Finished building: ../Libraries/XMCLib/src/xmc_vadc.c'
    
    
    10:51:10 Build Finished (took 13s.16ms)

  2. #2
    New Member New Member µCFriend is on a distinguished road
    Join Date
    Aug 2017
    Posts
    1
    Points
    40
    Had a similar (beginner-)problem:
    Fault was that I didn't select my correct XMC4500 Relax Lite kit Version. Obviously, the system was not able to identify my device via USB

  3. #3
    Beginner Beginner Nicolaj is on a distinguished road
    Join Date
    Dec 2015
    Posts
    4
    Points
    53.75
    I had forgotten I even wrote this post, but thank you for the reply...

    Hope I won't have to rely on this forum for support, EVER.
    LOL.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.