Updated compiler version for RX RDK demo and completed initial web server demo. Still some tidying up to do.

This commit is contained in:
Richard Barry 2010-09-09 08:39:10 +00:00
parent a4893aed60
commit a91ec6efe7
17 changed files with 4241 additions and 4683 deletions

View file

@ -27,13 +27,14 @@ foreach $file (@files) {
print "Adding file $file\n";
open(FILE, $file) || die "Could not open file $file\n";
binmode FILE;
$file =~ s-^-/-;
$fvar = $file;
$fvar =~ s-/-_-g;
$fvar =~ s-\.-_-g;
# for AVR, add PROGMEM here
print(OUTPUT "static const unsigned char data".$fvar."[] = {\n");
print(OUTPUT "static const char data".$fvar."[] = {\n");
print(OUTPUT "\t/* $file */\n\t");
for($j = 0; $j < length($file); $j++) {
printf(OUTPUT "%#02x, ", unpack("C", substr($file, $j, 1)));