undefine reference

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

undefine reference

Postby tfAteba » Tue Jan 10, 2017 9:58 pm

Hi Giovanni,

I'm updating all the AVR demos and testhal for the next release.

Some of these code are old and don't compile anymore.

I then have a questionst:
for example os/testhal/AVR/ICU/main.c use the following functions:
icuEnable(&ICUD3)
icuDisable(&ICUD3)


- They are no more define ?
I'm getting the following error message while compiling:

main.o: In function `main':
/home/naft/Documents/chibios/chibios-svn/testhal/AVR/ICU/main.c:117: undefined reference to `icuEnable'
/home/naft/Documents/chibios/chibios-svn/testhal/AVR/ICU/main.c:119: undefined reference to `icuDisable'
collect2: error: ld returned 1 exit status
make: *** [ch.elf] Error 1


- Maybe these function have another name now?

Thanks.
regards,

Theo.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: undefine reference

Postby Giovanni » Wed Jan 11, 2017 8:42 am

Hi,

Yes, the ICU driver changed significantly in 16.1.x, see the new demos and templates.

Giovanni

User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

Re: undefine reference

Postby tfAteba » Wed Jan 11, 2017 8:41 pm

Hello,

I will then rewrite this demo and also the PWM one.
All other code are ready now. :D

Thanks for your feedback.
regards,

Theo.


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 11 guests