Can't compile this..

Projects that are not for RC, but are cool and worthy of development.
Post Reply
User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Can't compile this..

Post by jhsa » Mon Nov 04, 2013 6:23 pm

Hi guys, I'm a bit desperate here.. I'm trying to build a USB keyboard emulator to work as a stompbox when connected to my laptop. This will for example emulate the space bar for play/pause of the media player (VLC)

The problem is that after downloading the files I'm trying to compile it with AVR Studio 4 but am getting errors. Must be something I'm doing wrong for sure. I'm on windows XP.

http://redfelineninja.org.uk/software/rfstompbox.html

Also i uploaded a zip file with the source files in it..

Thanks in advance for looking into this

João

P.S: I'm trying to compile it for an ATTiny45.. I think the makefile is configured for a ATTiny85
Attachments
rfstompbox-0.5.zip
(151.34 KiB) Downloaded 65 times
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 15561
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Can't compile this..

Post by MikeB » Mon Nov 04, 2013 6:52 pm

What errors are you getting?

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Can't compile this..

Post by jhsa » Mon Nov 04, 2013 6:54 pm

The same as here.. I just found this forum but don't understand what they mean :(

http://forums.obdev.at/viewtopic.php?f=8&t=6424

Thanks

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 15561
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Can't compile this..

Post by MikeB » Mon Nov 04, 2013 7:17 pm

All it is saying is change all lines like:
PROGMEM char usbDescriptorString0[] = { /* language descriptor */
to:
const PROGMEM char usbDescriptorString0[] = { /* language descriptor */

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Can't compile this..

Post by jhsa » Mon Nov 04, 2013 7:20 pm

ok, thanks, will try that and see what happens
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW


User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Can't compile this..

Post by jhsa » Mon Nov 04, 2013 11:03 pm

Done, it is working..

Mike, Romolo, Thank you so much.

In case someone wants to try this project here are source the files + the hex file

João
Attachments
rfstompbox-0.5.zip
(169 KiB) Downloaded 69 times
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “Other Electronic Projects”