Missing directory in firmware: EU1

Get help and show off your TV-B-Gone kit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
dion.swamp.dk
 
Posts: 9
Joined: Sat Sep 01, 2007 5:53 pm

Missing directory in firmware: EU1

Post by dion.swamp.dk »

I'm trying to fix the parsegen3.pl code generator so I can leave out the NA codes from the WORLDcodes.c filem but I'm missing the EU1 subdirectory.

Does anyone have the EU1 captures?

... I guess I could write a parser to yank the data out of the WORLDcodes.c file, buy that would be a pain.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Missing directory in firmware: EU1

Post by adafruit »

dont use the parser, thats our special utility, just comment out whatever you dont want

User avatar
dion.swamp.dk
 
Posts: 9
Joined: Sat Sep 01, 2007 5:53 pm

Re: Missing directory in firmware: EU1

Post by dion.swamp.dk »

I'm actually fixing the parsegen script so it can generate the entire WORLDcodes.c file with support for leaving out the NA codes, without a lot of manual editing.

I've already cleaned up the script so I can read it, but it's pointless to keep working on it without the data.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Missing directory in firmware: EU1

Post by adafruit »

isnt it all #ifdef'd in the codes file anyways?

User avatar
dion.swamp.dk
 
Posts: 9
Joined: Sat Sep 01, 2007 5:53 pm

Re: Missing directory in firmware: EU1

Post by dion.swamp.dk »

Nah, not correctly, it some of the NA codes are reused in the EU table, so undeffing NA_CODES makes it fail.

I ended up moving all the NA codes that are reused in the EU table outside the ifdef, so they never disappear and that works well.

Do you want a diff?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Missing directory in firmware: EU1

Post by adafruit »

we're all good, but you can attach it here, someone may find it useful!

User avatar
dion.swamp.dk
 
Posts: 9
Joined: Sat Sep 01, 2007 5:53 pm

Re: Missing directory in firmware: EU1

Post by dion.swamp.dk »

Ok, here is a diff that moves the shared NA codes out of the #ifdef so it's possible to drop the NA codes.
Attachments
WORLDcodes.c.patch.gz
(1.27 KiB) Downloaded 174 times

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Missing directory in firmware: EU1

Post by adafruit »

thanks! :)

Locked
Please be positive and constructive with your questions and comments.

Return to “TV-B-Gone Kit”