diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /firmware/test/i2c/gendata.c | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip |
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'firmware/test/i2c/gendata.c')
-rw-r--r-- | firmware/test/i2c/gendata.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/firmware/test/i2c/gendata.c b/firmware/test/i2c/gendata.c deleted file mode 100644 index dc5989ee66..0000000000 --- a/firmware/test/i2c/gendata.c +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | |||
3 | int main(int argc, char *argv[]) | ||
4 | { | ||
5 | FILE *f; | ||
6 | int i; | ||
7 | unsigned char buf[128000]; | ||
8 | |||
9 | f = fopen("mp.mp3", "r"); | ||
10 | |||
11 | if(f) | ||
12 | { | ||
13 | if(fread(buf, 1, 128000, f) < 128000) | ||
14 | { | ||
15 | fprintf(stderr, "FAN!\n"); | ||
16 | exit(1); | ||
17 | } | ||
18 | |||
19 | printf("int mp3datalen = 128000;\n"); | ||
20 | printf("unsigned char mp3data[128000] =\n{"); | ||
21 | for(i = 0;i < 128000;i++) | ||
22 | { | ||
23 | if(i % 8 == 0) | ||
24 | { | ||
25 | printf("\n"); | ||
26 | } | ||
27 | printf("0x%02x, ", buf[i]); | ||
28 | } | ||
29 | printf("};\n"); | ||
30 | } | ||
31 | } | ||