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.
Missing directory in firmware: EU1
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Missing directory in firmware: EU1
dont use the parser, thats our special utility, just comment out whatever you dont want
- dion.swamp.dk
- Posts: 9
- Joined: Sat Sep 01, 2007 5:53 pm
Re: Missing directory in firmware: EU1
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.
I've already cleaned up the script so I can read it, but it's pointless to keep working on it without the data.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Missing directory in firmware: EU1
isnt it all #ifdef'd in the codes file anyways?
- dion.swamp.dk
- Posts: 9
- Joined: Sat Sep 01, 2007 5:53 pm
Re: Missing directory in firmware: EU1
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?
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?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Missing directory in firmware: EU1
we're all good, but you can attach it here, someone may find it useful!
- dion.swamp.dk
- Posts: 9
- Joined: Sat Sep 01, 2007 5:53 pm
Re: Missing directory in firmware: EU1
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
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Please be positive and constructive with your questions and comments.