Page 1 of 1

Build error on hal_usb_lld.c  Topic is solved

Posted: Thu May 18, 2017 1:05 pm
by josesimoes
This is in master branch.
Compiling with GCC give an error in hal_usb_lld.c line 295 because

Code: Select all

asm
is unknown.
Replacing with

Code: Select all

__asm
does build fine.

Re: Build error on hal_usb_lld.c

Posted: Thu May 18, 2017 2:11 pm
by Giovanni
Hi,

Which GCC are you using? asm is used everywhere.

Giovanni

Re: Build error on hal_usb_lld.c

Posted: Thu May 18, 2017 2:29 pm
by josesimoes
v6-2017-q1 and if, it matters, c11

Re: Build error on hal_usb_lld.c

Posted: Thu May 18, 2017 2:31 pm
by Giovanni
Moving this topic in bug reports.

Giovanni

Re: Build error on hal_usb_lld.c

Posted: Thu May 18, 2017 2:43 pm
by Giovanni
Hi,

That asm was a debug leftover, I just removed it.

Giovanni

Re: Build error on hal_usb_lld.c

Posted: Thu May 18, 2017 2:51 pm
by josesimoes
awesome! thanks :)

Re: Build error on hal_usb_lld.c

Posted: Sat May 20, 2017 1:33 pm
by networkfusion
Hi Giovanni,

Is there any chance the GitHub repo can be synchronised so that this fix is available to us?

Many thanks,

Robin.

Re: Build error on hal_usb_lld.c

Posted: Sat May 20, 2017 2:36 pm
by Giovanni
Hi,

I don't manage it, try sending a private message to barthess, he does the synchronization.

If you are in a hurry then checkout the main subversion repository (trunk), you may also create your own git clone and update at will.

Giovanni

Re: Build error on hal_usb_lld.c

Posted: Sat May 20, 2017 6:09 pm
by networkfusion
Thanks, will do.