Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
wsnfly
Level 3
Level 3
First solution authored 10 replies posted 25 sign-ins

An error occurred when compiling a project from many years ago. This problem occurs in many projects. I don’t know how to solve it.

 

 

微信截图_20240415195946.jpg

 

 

19:39:24 **** Build of configuration Release for project sihekou_XMC1302-T038x0016_0 ****
"\"D:\\soft\\dave\\4.5.0.202105191637\\eclipse\\ARM-GCC-49\\bin\\make\"" --output-sync -j12 all
'Building file: ../Libraries/XMCLib/src/xmc1_eru.c'
In file included from C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Libraries/XMCLib/inc/xmc_common.h:76:0,
'Invoking: ARM-GCC C Compiler'
from C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Libraries/XMCLib/inc/xmc_eru.h:62,
"D:/soft/dave/4.5.0.202105191637/eclipse/ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Libraries/XMCLib/src/xmc1_eru.o" -I"C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Libraries/XMCLib/inc" -I"C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Libraries/CMSIS/Include" -I"C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Libraries/CMSIS/Infineon/XMC1300_series/Include" -I"C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0" -I"C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Dave/Generated" -I"C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Libraries" -Os -ffunction-sections -fdata-sections -Wall -std=gnu99 -Wa,-adhlns="Libraries/XMCLib/src/xmc1_eru.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Libraries/XMCLib/src/xmc1_eru.d" -MT"Libraries/XMCLib/src/xmc1_eru.d Libraries/XMCLib/src/xmc1_eru.o" -mcpu=cortex-m0 -mthumb -o "Libraries/XMCLib/src/xmc1_eru.o" "../Libraries/XMCLib/src/xmc1_eru.c"
from ../Libraries/XMCLib/src/xmc1_eru.c:45:
Libraries/XMCLib/src/subdir.mk:93: recipe for target 'Libraries/XMCLib/src/xmc1_eru.o' failed
C:/Users/wangs/Desktop/20211001-dave/sihekou_XMC1302-T038x0016_0/Libraries/XMCLib/inc/xmc_device.h:1455:2: error: #error "xmc_device.h: device not supported"
'Building file: ../Libraries/XMCLib/src/xmc1_flash.c'
#error "xmc_device.h: device not supported"
'Invoking: ARM-GCC C Compiler'

0 Likes
1 Solution
wsnfly
Level 3
Level 3
First solution authored 10 replies posted 25 sign-ins

I solved the problem, changed the model of the microcontroller, and then changed it back. In this way, DAVE created the project twice and solved the original "unsupported hardware".

QQ截图20240416120309.jpg

View solution in original post

0 Likes
3 Replies
Pradeep_PN
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 100 solutions authored

Hi @wsnfly ,

Which version of DAVE are you using at your end ? I can see from your console you are using V4.5 Please confirm this.

I have imported your project at my end and tested this and it is working without any issues, Please refer to the below figure.

Pradeep_PN_0-1713188606100.png

I am using the latest version of DAVE V4.5 .

Best Regards
Pradeep.

0 Likes
wsnfly
Level 3
Level 3
First solution authored 10 replies posted 25 sign-ins

I am also using 4.5 and the system is WIN11.QQ截图20240416101428.jpg

0 Likes
wsnfly
Level 3
Level 3
First solution authored 10 replies posted 25 sign-ins

I solved the problem, changed the model of the microcontroller, and then changed it back. In this way, DAVE created the project twice and solved the original "unsupported hardware".

QQ截图20240416120309.jpg

0 Likes