ADC001 stops Projekt

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

cross mob
Not applicable
Hallo,
i have an RUNNING projekt where i use the USBVC001, GUISL001 and PWMSP001 apps allready.
When ever i try to add the ADC001 i cant rebuild the projekt anymore.
There are no problems with the "solver" or " generate code" but rebuilding
ends up with: make: *** Error 1

Any ideas?
0 Likes
7 Replies
Not applicable
Hi,

Could you pls provide your project configuration details eg. signal connection and pin assignments etc.? If possible, send us the .log file which can be found in workspace folder \.metadata\
(ex: C:\Temp\DAVE_CE_WS_v316\.metadata)

Best regards,
Sophia
0 Likes
lock attach
Attachments are accessible only for community members.
Not applicable
First of all: Thank you Sophia!
I am trying to get this running for 5 Days now and sill cant make it work.
I even started from scratch a few times, nothing! When ever i add the ADC001
i cant rebuild.
I put all the info you asked for in the attachments.
Thank you again in advance.

Gunter
0 Likes
Not applicable
I just found out that if i empty my main.c it rebuilds.
Could it be that there is a conflict there?
0 Likes
Not applicable
Hi,

I've built a project using XMC4500-F144x1024 according your configurations. It can be compiled without error. Of course, the main.c is empty. But I am unable to confirm whether this is the cause? Let's check the Apps version/connectivity 1st. The App Connectivity in my project is a slightly different to yours (highlighted an example). Attached is the Apps version I used (the latest release DAVEAppsLibrary001 v 1.0.38). Could you pls check yours?

96.attach
97.attach

Best regards,
Sophia
0 Likes
lock attach
Attachments are accessible only for community members.
Not applicable
Thanks for the fast reply.
I am also using the XMC4500-F144x1024, so it cnt be that.
I checked the report and found that i have a MOTORLIBS/0 in it but the rest seems to be the same.
Just for your ensurance i attatched the screenshot. As far as the connectivity goes its the same.
I reasambled mine to look like yours, as can be seen in the attatchment as well. I also added my main.c
with the working code (as long there is no adc in my projekt).

Gunter
0 Likes
Not applicable
Hallo again,
I finnaly figured out what was wrong:
the makefile called the libraries in the wrong order, it called:
"-lm -lguisl001_WithoutMouse"
instead of
" -lguisl001_WithoutMouse -lm".
Normally it shouldnt make a difference but somehow it did.
Thanks to all who tryed to help.

Gunter
0 Likes
Not applicable
Hi Gunter,

I just found the issue. The SEGGER GUI library has to be listed above the math library (m) in project settings. Press >Project >Active Project Properties >C/C++ Build >Settings >ARM-GCC Linker >Libraries move "guisl001_WithoutMouse" above "m" The details is documented in Apps help file: Go to > Help > Help Contents > DAVE Apps>GUISL001[1.0.14] GUI_SeggerLib_GUISL001 App > App Configuration Documentation

Best regards,
Sophia
0 Likes