r5171 - in trunk/gta02-core: . scripts

werner at docs.openmoko.org werner at docs.openmoko.org
Sun Jun 21 19:03:33 CEST 2009


Author: werner
Date: 2009-06-21 19:03:33 +0200 (Sun, 21 Jun 2009)
New Revision: 5171

Modified:
   trunk/gta02-core/Makefile
   trunk/gta02-core/audio.sch
   trunk/gta02-core/cpu.sch
   trunk/gta02-core/gta02-core.sch
   trunk/gta02-core/io.sch
   trunk/gta02-core/scripts/all-sheets-ps
Log:
Upgraded compilation-making system for main schematics:

- gta02-core.sch, io.sch, cpu.sch, audio.sch: changed paper size from A4 to A3

- Makefile: added targets "gen", "generate", and "upload" (same function as in
  expanded/Makefile)

- scripts/all-sheets-ps: copy %%Orientation and %%DocumentMedia from first file



Modified: trunk/gta02-core/Makefile
===================================================================
--- trunk/gta02-core/Makefile	2009-06-21 16:15:01 UTC (rev 5170)
+++ trunk/gta02-core/Makefile	2009-06-21 17:03:33 UTC (rev 5171)
@@ -1,9 +1,18 @@
-.PHONY:		all sch
+.PHONY:		all gen generate sch upload
 
 all:
-		@echo "make what ? target: sch"
+		@echo "make what ? target: gen generate sch upload"
 		@exit 1
 
+gen generate:
+		eeschema --plot `pwd`/gta02-core.sch
+		GS_OPTIONS=-sPAPERSIZE=a3 scripts/all-sheets-ps gta02-core
+		gzip -f -9 gta02-core-all.ps
+
+upload:		generate
+		scp gta02-core-all.ps.gz \
+		  werner at sita.openmoko.org:public_html/gta02-core/
+
 sch:
 		eeschema `pwd`/gta02-core.sch
 

Modified: trunk/gta02-core/audio.sch
===================================================================
--- trunk/gta02-core/audio.sch	2009-06-21 16:15:01 UTC (rev 5170)
+++ trunk/gta02-core/audio.sch	2009-06-21 17:03:33 UTC (rev 5171)
@@ -1,9 +1,9 @@
-EESchema Schematic File Version 2  date Thu May 14 20:34:54 2009
-LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,sc32442,gta02-core-cache
+EESchema Schematic File Version 2  date Sun Jun 21 13:20:16 2009
+LIBS:power,device,conn,gta02-core
 EELAYER 24  0
 EELAYER END
-$Descr A4 11700 8267
-Sheet 3 6
+$Descr A3 16535 11700
+Sheet 6 8
 Title ""
 Date ""
 Rev ""
@@ -14,12 +14,12 @@
 Comment4 ""
 $EndDescr
 $Comp
-L WM8753L U?
-U 1 1 4A0CA9FA
-P 5000 3800
-F 0 "U?" H 4600 3800 60  0000 C CNN
-F 1 "WM8753L" H 5400 3800 60  0000 C CNN
-	1    5000 3800
+L WM8753LGEFL U?
+U 1 1 4A3E5D6A
+P 5300 3650
+F 0 "U?" H 4900 3650 60  0000 C CNN
+F 1 "WM8753LGEFL" H 5700 3650 60  0000 C CNN
+	1    5300 3650
 	1    0    0    -1  
 $EndComp
 $EndSCHEMATC

Modified: trunk/gta02-core/cpu.sch
===================================================================
--- trunk/gta02-core/cpu.sch	2009-06-21 16:15:01 UTC (rev 5170)
+++ trunk/gta02-core/cpu.sch	2009-06-21 17:03:33 UTC (rev 5171)
@@ -1,9 +1,9 @@
-EESchema Schematic File Version 2  date Thu May 14 20:34:54 2009
-LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,sc32442,gta02-core-cache
+EESchema Schematic File Version 2  date Sun Jun 21 13:20:02 2009
+LIBS:power,device,conn,gta02-core
 EELAYER 24  0
 EELAYER END
-$Descr A4 11700 8267
-Sheet 6 6
+$Descr A3 16535 11700
+Sheet 2 8
 Title ""
 Date ""
 Rev ""

Modified: trunk/gta02-core/gta02-core.sch
===================================================================
--- trunk/gta02-core/gta02-core.sch	2009-06-21 16:15:01 UTC (rev 5170)
+++ trunk/gta02-core/gta02-core.sch	2009-06-21 17:03:33 UTC (rev 5171)
@@ -1,8 +1,8 @@
-EESchema Schematic File Version 2  date Sat 20 Jun 2009 17:06:05 WEST
-LIBS:,power,device,conn,gta02-core,cgta02-core-cache
+EESchema Schematic File Version 2  date Sun Jun 21 13:20:39 2009
+LIBS:power,device,conn,gta02-core
 EELAYER 24  0
 EELAYER END
-$Descr A4 11700 8267
+$Descr A3 16535 11700
 Sheet 1 8
 Title "GTA02-CORE"
 Date "20 jun 2009"

Modified: trunk/gta02-core/io.sch
===================================================================
--- trunk/gta02-core/io.sch	2009-06-21 16:15:01 UTC (rev 5170)
+++ trunk/gta02-core/io.sch	2009-06-21 17:03:33 UTC (rev 5171)
@@ -1,9 +1,9 @@
-EESchema Schematic File Version 2  date Thu May 14 20:34:54 2009
-LIBS:power,device,conn,aat1275,k4m51323pe,lis302dl,pcf50633-04-n3,wm8753l,sc32442,gta02-core-cache
+EESchema Schematic File Version 2  date Sun Jun 21 13:20:10 2009
+LIBS:power,device,conn,gta02-core
 EELAYER 24  0
 EELAYER END
-$Descr A4 11700 8267
-Sheet 4 6
+$Descr A3 16535 11700
+Sheet 4 8
 Title ""
 Date ""
 Rev ""

Modified: trunk/gta02-core/scripts/all-sheets-ps
===================================================================
--- trunk/gta02-core/scripts/all-sheets-ps	2009-06-21 16:15:01 UTC (rev 5170)
+++ trunk/gta02-core/scripts/all-sheets-ps	2009-06-21 17:03:33 UTC (rev 5171)
@@ -7,5 +7,9 @@
 SHEETS="$SHEETS $B-AUDIO $B-USB $B-IO $B-LCM $B-SD-SIM"
 SHEETS="$SHEETS $B-GPS $B-BT $B-WLAN"
 
-psmerge `for n in $SHEETS; do echo $n.ps; done` |
-  sed '1a%%Orientation: Landscape' >$OUT.ps
+{
+    sed 1q $B.ps
+    sed '/^%%Orientation: /q;d' $B.ps
+    sed '/^%%DocumentMedia: /q;d' $B.ps
+    psmerge `for n in $SHEETS; do [ -f $n.ps ] && echo $n.ps; done` | sed 1d
+} >$OUT.ps




More information about the commitlog mailing list