Benutzer:Asklepios/SVN for the wild: Unterschied zwischen den Versionen
(29 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
= SVN Infos = | = SVN Infos = | ||
Diese Seite ist erstmal dafuer gedacht das im Hinterkopf zu behalten was ich sonst vergesse. Es wird hier auch ein kleines Howto entstehen, wie man das SVN benutzen sollte und wo was zu finden ist. | Diese Seite ist erstmal dafuer gedacht das im Hinterkopf zu behalten was ich sonst vergesse. Es wird hier auch ein kleines Howto entstehen, wie man das SVN benutzen sollte und wo was zu finden ist. | ||
== bzr notes == | |||
Bazaar unterstuetzt leider keine externen branches. Damit ist es nicht moeglich das allg. konzept von externen SVNs, die bei bedarf eingebunden werden wie z.B. libs dafuer zu bauen (Stand 19.06.2009). | |||
(Kommentar: Ich bin mir nicht ganz sicher, was du genau suchst/brauchst. bzr unterstützt sog. "nested trees" ganz gut. Das war sogar der primäre Grund, warum ich mich damals für bzr entschieden habe: http://bazaar-vcs.org/NestedTreesDesign. Eventuell ist das aber nicht das, as du suchst? (joerg) | |||
bezog mich dabei auf http://bazaar-vcs.org/BzrForeignBranches/Subversion#unsupported-subversion-file-properties spez 'svn:externals' (Alex) ) | |||
(Ah, right! Falls also jemand Projekt-X mit bzr verwalten wollte, und dass brauch Lib-A, dann kann sie nicht direkt auf das SVN von Lib-A verweisen, sondern muss erstmal einen bzr-mirror von Lib-A anlegen, der dann aber mit dem "nested-tree" support benutzt werden könnte.... Nicht das sich glaube, dass das jemand machen will.....(joerg)) | |||
(genau: gedanke war, dass der speicher SVN ist. Der locale nutzer aber die Wahl hat ob er auf den speicher via svn oder bzr zugreifen will (Alex)) | |||
== svn - notes == | |||
externals | |||
svnadmin create /tmp/base | |||
svnadmin create /tmp/overlay | |||
svn co file://localhost/tmp/overlay | |||
svn co file://localhost/tmp/base | |||
cd base | |||
mkdir trunk, branch, tag | |||
touch trunk/sourcefile.c | |||
svn add trunk, branch, tag | |||
svn ci -m 'mycode' | |||
cd .. | |||
cd overlay | |||
svn propset svn:externals "lib file://localhost/tmp/base/trunk" . | |||
svn up | |||
cd .. | |||
cd base | |||
svn copy file://localhost/tmp/base/trunk/ file://localhost/tmp/base/branch/for_base -m 'create of branch' | |||
cd .. | |||
cd overlay | |||
svn propset svn:externals "lib file://localhost/tmp/base/branch/for_base" . | |||
svn up | |||
sonderzeichen | |||
LANG="en_US.UTF-8" svn up | |||
== allg Plan - may change == | == allg Plan - may change == | ||
Zeile 9: | Zeile 42: | ||
| comment | | comment | ||
|- | |- | ||
| /microcontroller/lib | | /microcontroller/lib, /microcontroller-2/lib | ||
| /lib-labor | | /lib-labor | ||
| alles was irgendwie direkt im Labor ans laufen gebracht wurde und spez. fuer das Labor bedeutung hat protokolle und aehnliches eben. | | alles was irgendwie direkt im Labor ans laufen gebracht wurde und spez. fuer das Labor bedeutung hat protokolle und aehnliches eben. | ||
|- | |- | ||
| /microcontroller/src-atmel/lib | | /microcontroller/src-atmel/lib, /microcontroller-2/lib | ||
| /lib-laborHW | | /lib-laborHW | ||
| Code der zum ansteuern verschiedener ICs von Noeten ist spez rfm12/can/uart/spi | | Code der zum ansteuern verschiedener ICs von Noeten ist spez rfm12/can/uart/spi | ||
Zeile 21: | Zeile 54: | ||
| basis-code verschiedener Borgs eben - unabhaengig vom verwendetem AVR - hier sollten animationen, prng, spiele, fonts... ihren ort finden | | basis-code verschiedener Borgs eben - unabhaengig vom verwendetem AVR - hier sollten animationen, prng, spiele, fonts... ihren ort finden | ||
|} | |} | ||
* Anmerkung: microcontroller-2/lib enthaelt Komponenten die sowohl aus microcontroller/lib als auch aus microcontroller/src-atmel/lib kommen. dies sollte mal zusammengefasst werden. | |||
* aufsetzen eines Borg-Projects-SVNs Inhalt sollte sein | * aufsetzen eines Borg-Projects-SVNs Inhalt sollte sein | ||
Zeile 27: | Zeile 62: | ||
| location in new SVN | | location in new SVN | ||
| comment | | comment | ||
|- | |||
| /microcontroller/src-atmel/make | |||
| /make | |||
| Generisches Makefile-template fuer das kompilieren der BorgFirmware | |||
|- | |- | ||
| /microcontroller/src-atmel/borg/borg-16 | | /microcontroller/src-atmel/borg/borg-16 | ||
Zeile 49: | Zeile 88: | ||
|} | |} | ||
* aufsetzen eines Code-Projects-SVNs Inhalt sollte sein, das diverse Codesegmente enthaelt, die die std-Toolchain aka. gcc benoetigen. darunter fallen z.B. die borg-api-simulator, oder dillentor... | * aufsetzen eines Code-Projects-SVNs Inhalt sollte sein, das diverse Codesegmente enthaelt, die die std-Toolchain aka. gcc benoetigen. darunter fallen z.B. die borg-api-simulator, oder dillentor oder auch alles was unter ruby faellt | ||
* aufsetzen eines vhdl-svn inhalt ist der Ordner /vhdl | |||
* aufsetzen eines other-hardware-SVNs darunter faellt: | |||
== vorschlag lib-labor == | |||
|-- config.h-sample | |||
|-- includes | |||
| |-- airlab.h | |||
| |-- airlab_ping.h | |||
| |-- airlab_state.h | |||
| |-- can-encap.h | |||
| |-- can-uart.h | |||
| |-- can.h | |||
| |-- console.h | |||
| |-- lap.h | |||
| |-- lop.h | |||
| |-- multilop.h | |||
| |-- percnt2.h | |||
| |-- persistentCounter.h | |||
| |-- prng.h | |||
| |-- proto_lampe.h | |||
| |-- spi.h | |||
| |-- uart.h | |||
| |-- util.h | |||
| `-- xcan.h | |||
`-- src | |||
|-- airlab.c | |||
|-- airlab_ping.c | |||
|-- airlab_state.c | |||
|-- can-encap.c | |||
|-- can-uart.c | |||
|-- can.c | |||
|-- can_raw.c | |||
|-- console.c | |||
|-- lap.c | |||
|-- lop.c | |||
|-- multilop.c | |||
|-- percnt2.c | |||
|-- persistentCounter.c | |||
|-- prng.c | |||
|-- proto_lampe.c | |||
|-- spi.c | |||
|-- uart.c | |||
|-- util.c | |||
`-- xcan.c | |||
== vorschlag lib-laborHW == | |||
|-- branch | |||
| `-- rfm12 | |||
| |-- README.txt | |||
| |-- rfm12.c | |||
| |-- rfm12.h | |||
| |-- rfm12_hw.h | |||
| `-- test-m8 | |||
| |-- Makefile | |||
| |-- pingpong.c | |||
| |-- rfm12.c | |||
| |-- rfm12.h | |||
| |-- rfm12_config.h | |||
| |-- uart.c | |||
| `-- uart.h | |||
`-- trunk | |||
|-- examples | |||
| |-- AvrX2.6f | |||
| | |-- AvrXFifo_documentation.txt | |||
| | |-- AvrXSerialIo_documentation.txt | |||
| | |-- Examples | |||
| | | |-- MessageTimers.c | |||
| | | |-- MessageTimersAlt.c | |||
| | | |-- Messages.c | |||
| | | |-- MessagesAndData.c | |||
| | | |-- README.txt | |||
| | | |-- Timers.c | |||
| | | |-- hardware.h | |||
| | | |-- lnk8535s.xcl | |||
| | | |-- makefile | |||
| | | `-- makefile.old.iar | |||
| | |-- README.txt | |||
| | |-- SerialExample.c | |||
| | `-- TestCases | |||
| | |-- BasicTest1.c | |||
| | |-- BasicTest2.c | |||
| | |-- BasicTest3.c | |||
| | |-- BasicTest4.c | |||
| | |-- README.txt | |||
| | |-- hardware.h | |||
| | |-- lnk8535s.xcl | |||
| | |-- makefile | |||
| | `-- makefile.old.iar | |||
| |-- rfm12 | |||
| | `-- test | |||
| | |-- test | |||
| | | |-- Makefile | |||
| | | |-- pingpong.c | |||
| | | |-- rfm12.c | |||
| | | |-- rfm12.h | |||
| | | |-- rfm12_config.h | |||
| | | |-- uart.c | |||
| | | `-- uart.h | |||
| | `-- test-m8 | |||
| | |-- Makefile | |||
| | |-- pingpong.c | |||
| | |-- rfm12.c | |||
| | |-- rfm12.h | |||
| | |-- rfm12_config.h | |||
| | |-- uart.c | |||
| | `-- uart.h | |||
| |-- rfmxx | |||
| | |-- example_uart_chat.c | |||
| | `-- main.c | |||
| `-- rfmxx-avrx | |||
| |-- Makefile | |||
| |-- README | |||
| |-- config.h | |||
| |-- example_uart_chat.c | |||
| `-- main.c | |||
|-- include | |||
| |-- AvrX2.6f | |||
| | |-- AvrXserialIO | |||
| | | `-- AvrXSerialIo.h | |||
| | `-- avrx | |||
| | |-- 2.6e | |||
| | | `-- ioavr.h | |||
| | |-- AvrXFifo.h | |||
| | |-- avrx-ctoasm.inc | |||
| | |-- avrx-io.h | |||
| | |-- avrx-signal.h | |||
| | |-- avrx.h | |||
| | |-- avrx.inc | |||
| | `-- serialio.h | |||
| |-- rfm12 | |||
| | |-- rfm12.h | |||
| | `-- rfm12_hw.h | |||
| |-- rfmxx | |||
| | `-- rf12.h | |||
| `-- rfmxx-avrx | |||
| `-- rf12.h | |||
`-- src | |||
|-- AvrX2.6f | |||
| |-- AvrXserialIO | |||
| | |-- AvrXBufferedSerial.c | |||
| | `-- AvrXSimpleSerial.c | |||
| `-- avrx | |||
| |-- 2.6e | |||
| | |-- avrx_semaphores.s | |||
| | `-- avrx_tasking.s | |||
| |-- AvrXFifo.c | |||
| |-- avrx_canceltimer.S | |||
| |-- avrx_canceltimer_exp.S | |||
| |-- avrx_canceltimermessage.S | |||
| |-- avrx_eeprom.S | |||
| |-- avrx_generatesinglestepinterrupt.S | |||
| |-- avrx_halt.S | |||
| |-- avrx_iar_vect.S | |||
| |-- avrx_message.S | |||
| |-- avrx_priority.S | |||
| |-- avrx_recvmessage.S | |||
| |-- avrx_reschedule.S | |||
| |-- avrx_resetsemaphore.S | |||
| |-- avrx_semaphores.S | |||
| |-- avrx_singlestep.S | |||
| |-- avrx_starttimermessage.S | |||
| |-- avrx_suspend.S | |||
| |-- avrx_tasking.S | |||
| |-- avrx_terminate.S | |||
| |-- avrx_testsemaphore.S | |||
| |-- avrx_timequeue.S | |||
| |-- avrx_timequeue_exp.S | |||
| |-- monitor.S | |||
| `-- serialio.S | |||
|-- rfm12 | |||
| `-- rfm12.c | |||
|-- rfmxx | |||
| `-- rf12.c | |||
`-- rfmxx-avrx | |||
`-- rf12.c | |||
== spezial Files == | |||
{| {{prettytable}} | |||
| files | |||
| comment | |||
|- | |||
| /microcontroller/lib/lap.h, /microcontroller-2/lib/lab/lab.h | |||
| Labor Automatisierungs Protokoll: beinhaltet die definition welche Adressen auf dem Can-Bus an wen vergeben sind. Dabei scheint die lib.h unter microcontroller-2 die aeltere sein. sie enthaelt eine Zusaetzliche definition fuer CHANNEL_MGT, was von LaborAccess/Master/lab.c verwendet wird. ich uebernehme daher dieses typedef, da es scheinbar keine kollision zu geben scheint. ferner ist der funktionsprototyp fuer lap_ping und lap_reset verschieden, was noch ein problem werden koennte, auch wenn es sich eigentlich um den gleichendatentyp handelt (uint8_t und unsigned char) - uint8_t ist dabei die saubere verwendung. | |||
|- | |||
| /microcontroller-2/CanGate-m32/trunk/host/src/lapcontrol/cmds-flash.c /microcontroller-2/CanGate-m32/trunk/host/src/lapcontrol/cmds-base.c | |||
| verwenden lap_reset mit datentype can_addr, nicht can_addr_t | |||
|- | |||
| /microcontroller-2/CanGate-m32/trunk/host/src/lapcontrol/cmds-base.c | |||
| verwenden lap_ping mit datentype can_addr, nicht can_addr_t | |||
|- | |||
| /microcontroller-2/LaborAccess/TorControl/lap.h | |||
| scheint ein Kopie von /microcontroller/lib/lap.h zu sein | |||
|- | |||
|} | |||
== Do not forget == | == Do not forget == | ||
Zeile 60: | Zeile 293: | ||
<br> | <br> | ||
<br> | <br> | ||
alles unter microcontroller/src-atmel | === alles unter microcontroller/src-atmel === | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|dirctory | |dirctory | ||
Zeile 67: | Zeile 300: | ||
|size | |size | ||
|depends on | |depends on | ||
|does compile | |does compile | ||
| code-form or compiler | |||
|- | |- | ||
| LaserBorg | | LaserBorg | ||
| 2009-01-29 22:46:53 | | 2009-01-29 22:46:53 | ||
| | | suschman | ||
| 5.9M | | 5.9M | ||
| | | | ||
| ? | | ? | ||
| eagle | |||
|- | |- | ||
| borg/Panel-One | | borg/Panel-One | ||
Zeile 82: | Zeile 317: | ||
| ../lib , ./borg/borg-base , ./make | | ../lib , ./borg/borg-base , ./make | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/ansgar-borg | | ./borg/ansgar-borg | ||
Zeile 89: | Zeile 325: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./automatization | | ./automatization | ||
Zeile 96: | Zeile 333: | ||
| ../lib , ./lib, ./make | | ../lib , ./lib, ./make | ||
| T | | T | ||
| avr-gcc | |||
|- | |- | ||
| ./bootloader | | ./bootloader | ||
Zeile 103: | Zeile 341: | ||
| | | | ||
| T (Groessenproblem beim linken) | | T (Groessenproblem beim linken) | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg | | ./borg/borg | ||
Zeile 110: | Zeile 349: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-16 | | ./borg/borg-16 | ||
Zeile 117: | Zeile 357: | ||
| ./make , ./borg/borg-base, ../lib | | ./make , ./borg/borg-base, ../lib | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-3d | | ./borg/borg-3d | ||
Zeile 124: | Zeile 365: | ||
| ./make , ./borg/borg-base, ../lib | | ./make , ./borg/borg-base, ../lib | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-3d-16-apiSimulartor | | ./borg/borg-3d-16-apiSimulartor | ||
Zeile 131: | Zeile 373: | ||
| | | | ||
| N | | N | ||
| gcc | |||
|- | |- | ||
| ./borg/borg-3d-apiSimulator | | ./borg/borg-3d-apiSimulator | ||
Zeile 138: | Zeile 381: | ||
| | | | ||
| J | | J | ||
| gcc | |||
|- | |- | ||
| ./borg/borg-3d-mini | | ./borg/borg-3d-mini | ||
Zeile 145: | Zeile 389: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-3d-newApi-Simulator | | ./borg/borg-3d-newApi-Simulator | ||
Zeile 152: | Zeile 397: | ||
| | | | ||
| N | | N | ||
| gcc | |||
|- | |- | ||
| ./borg/borg-alice | | ./borg/borg-alice | ||
Zeile 159: | Zeile 405: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-andre | | ./borg/borg-andre | ||
Zeile 166: | Zeile 413: | ||
| ./make, ../lib, ./borg/borg-base | | ./make, ../lib, ./borg/borg-base | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-apiSimulator | | ./borg/borg-apiSimulator | ||
Zeile 173: | Zeile 421: | ||
| ./borg/borg-base | | ./borg/borg-base | ||
| J | | J | ||
| gcc | |||
|- | |- | ||
| ./borg/borg-felix3d | | ./borg/borg-felix3d | ||
Zeile 180: | Zeile 429: | ||
| ./borg/borg-base, ./make | | ./borg/borg-base, ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-ingo | | ./borg/borg-ingo | ||
Zeile 187: | Zeile 437: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-joystick | | ./borg/borg-joystick | ||
Zeile 194: | Zeile 445: | ||
| | | | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-ls | | ./borg/borg-ls | ||
Zeile 201: | Zeile 453: | ||
| ../lib, ./borg/borg-base, ./make | | ../lib, ./borg/borg-base, ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-ls-apiSimulator | | ./borg/borg-ls-apiSimulator | ||
Zeile 208: | Zeile 461: | ||
| ./borg/borg-base | | ./borg/borg-base | ||
| N (missing Files / includes) | | N (missing Files / includes) | ||
| gcc | |||
|- | |- | ||
| ./borg/borg-mini | | ./borg/borg-mini | ||
Zeile 215: | Zeile 469: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-mini-64gray | | ./borg/borg-mini-64gray | ||
Zeile 222: | Zeile 477: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-mini-acctest | | ./borg/borg-mini-acctest | ||
Zeile 229: | Zeile 485: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-pocket | | ./borg/borg-pocket | ||
Zeile 236: | Zeile 493: | ||
| ./make, ./borg/borg-base | | ./make, ./borg/borg-base | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-rhein-fire | | ./borg/borg-rhein-fire | ||
Zeile 243: | Zeile 501: | ||
| ./make | | ./make | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-tw | | ./borg/borg-tw | ||
Zeile 250: | Zeile 509: | ||
| ./make | | ./make | ||
| N (Groessenprobleme beim Linken) | | N (Groessenprobleme beim Linken) | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borg-ventilator | | ./borg/borg-ventilator | ||
Zeile 257: | Zeile 517: | ||
| ./make, ./borg/borg-base | | ./make, ./borg/borg-base | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./borg/borgconf | | ./borg/borgconf | ||
Zeile 264: | Zeile 525: | ||
| | | | ||
| T | | T | ||
| avr-gcc + gcc | |||
|- | |- | ||
| ./borg/borgsim | | ./borg/borgsim | ||
Zeile 271: | Zeile 533: | ||
| | | | ||
| J | | J | ||
| gcc | |||
|- | |- | ||
| ./borg/borgware-2d | | ./borg/borgware-2d | ||
Zeile 278: | Zeile 541: | ||
| | | | ||
| T | | T | ||
| avr-gcc + gcc | |||
|- | |- | ||
| ./borg/pocketlights | | ./borg/pocketlights | ||
Zeile 285: | Zeile 549: | ||
| ./make, ../lib, ./borg/borg-base | | ./make, ../lib, ./borg/borg-base | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./iecata-tmp | | ./iecata-tmp | ||
Zeile 292: | Zeile 557: | ||
| ./make | | ./make | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./iecatax | | ./iecatax | ||
Zeile 299: | Zeile 565: | ||
| ./make, ./lib | | ./make, ./lib | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./inspektionsbot | | ./inspektionsbot | ||
Zeile 306: | Zeile 573: | ||
| ./lib | | ./lib | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./killerbot | | ./killerbot | ||
Zeile 313: | Zeile 581: | ||
| ../lib | | ../lib | ||
| N (missing files) | | N (missing files) | ||
| avr-gcc | |||
|- | |- | ||
| ./tests | | ./tests | ||
Zeile 320: | Zeile 589: | ||
| ../lib, ./lib, ../make, ./make | | ../lib, ./lib, ../make, ./make | ||
| T (missing files, wrong includes) | | T (missing files, wrong includes) | ||
| avr-gcc | |||
|- | |- | ||
| ./usb | | ./usb | ||
Zeile 327: | Zeile 597: | ||
| | | | ||
| J | | J | ||
| avr-gcc + gcc | |||
|- | |- | ||
| ./moodbar | | ./moodbar | ||
Zeile 334: | Zeile 605: | ||
| ../lib, ./lib, ./make | | ../lib, ./lib, ./make | ||
| N | | N | ||
| avr-gcc | |||
|- | |- | ||
| ./nerdgames | | ./nerdgames | ||
Zeile 341: | Zeile 613: | ||
| ../lib, ./lib, ./make | | ../lib, ./lib, ./make | ||
| N | | N | ||
| gcc | |||
|- | |- | ||
| ./playground | | ./playground | ||
Zeile 348: | Zeile 621: | ||
| ../lib, ./lib, ./make, ../make | | ../lib, ./lib, ./make, ../make | ||
| T | | T | ||
| avr-gcc | |||
|- | |- | ||
| ./rfm12 | | ./rfm12 | ||
Zeile 355: | Zeile 629: | ||
| ./lib | | ./lib | ||
| T (// the log is fun ^^ ) | | T (// the log is fun ^^ ) | ||
| avr-gcc + gcc | |||
|- | |- | ||
| ./rfmbot | | ./rfmbot | ||
Zeile 361: | Zeile 636: | ||
| 2.5M | | 2.5M | ||
| ./lib | | ./lib | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./theke | | ./theke | ||
Zeile 368: | Zeile 644: | ||
| 0.2M | | 0.2M | ||
| ../lib | | ../lib | ||
| J | | J | ||
| avr-gcc | |||
|- | |- | ||
| ./workshop | | ./workshop | ||
| 2006-06-08 21:43:24 | | 2006-06-08 21:43:24 | ||
| tixiv | | tixiv | ||
| 0.5M | | 0.5M | ||
| | | | ||
| J | | J | ||
| acr-gcc | |||
|} | |||
=== alles unter microcontroller-2 === | |||
{| {{prettytable}} | |||
| dirctory | |||
| last change | |||
| last author | |||
| size | |||
| depends on | |||
| does compile | |||
| code-form or compiler | |||
|- | |||
| AnonAccess | |||
| 2008-09-09 19:16:38 | |||
| bg | |||
| 16M | |||
| | |||
| J (Includes correktur notw.) | |||
| gcc | |||
|- | |||
| CanGate-m32 | |||
| 2007-07-03 15:50:55 | |||
| joerg | |||
| 9.0M | |||
| ./lib, ./make | |||
| J | |||
| avr-gcc | |||
|- | |||
| LabCopter | |||
| 2008-01-03 03:07:40 | |||
| hansi | |||
| 1.0M | |||
| | |||
| N | |||
| avr-gcc | |||
|- | |||
| LaborAccess | |||
| 2008-01-03 03:07:40 | |||
| hansi | |||
| 1.0M | |||
| ./lib, ./make | |||
| T | |||
| avr-gcc | |||
|- | |||
| QPort | |||
| 2007-06-26 10:28:24 | |||
| bg | |||
| 3.5M | |||
| | |||
| J (linker-probleme in main) | |||
| avr-gcc | |||
|- | |||
| Shr0dBot | |||
| 2008-11-18 23:16:47 | |||
| hansi | |||
| 0.5M | |||
| | |||
| N | |||
| avr-gcc | |||
|- | |||
| avr-entropy | |||
| 2007-10-21 17:45:22 | |||
| bg | |||
| 0.2M | |||
| | |||
| N (linker-probleme) | |||
| avr-gcc | |||
|- | |||
| crypto-lib | |||
| 2009-06-24 04:36:33 | |||
| bg | |||
| 190M | |||
| | |||
| J | |||
| avr-gcc | |||
|- | |||
| errorhandling | |||
| 2007-06-23 02:27:11 | |||
| tixiv | |||
| 0.5M | |||
| | |||
| J | |||
| avr-gcc | |||
|- | |||
| qport-tiny | |||
| 2008-07-21 00:38:33 | |||
| bg | |||
| 2.5M | |||
| | |||
| J | |||
| avr-gcc | |||
|- | |||
| sosse-labor | |||
| 2008-09-29 22:09:45 | |||
| bg | |||
| 7.5M | |||
| | |||
| J | |||
| avr-gcc | |||
|} | |||
=== other-hardware === | |||
{| {{prettytable}} | |||
| dirctory | |||
| last change | |||
| last author | |||
| size | |||
| depends on | |||
| does compile | |||
| code-form or compiler | |||
|- | |||
| ltc1290 | |||
| 2007-07-01 14:30:58 | |||
| joerg | |||
| 0.5M | |||
| | |||
| J | |||
| gcc | |||
|- | |||
| src-mono/StyroDesign | |||
| 2005-12-26 00:22:08 | |||
| madex | |||
| 0.2M | |||
| | |||
| no check | |||
| .net/ mono / mcs | |||
|- | |||
| src-qt/StyroDesign | |||
| 2007-04-03 23:34:56 | |||
| madex | |||
| 1.0M | |||
| | |||
| no check | |||
| kdevelop / g++ | |||
|- | |||
| src-qt/labcopter-tool | |||
| 2008-07-21 09:49:11 | |||
| tixiv | |||
| 1.5M | |||
| | |||
| J | |||
| g++ | |||
|- | |||
| src-qt/vclick | |||
| 2007-08-31 13:24:42 | |||
| tixiv | |||
| 0.2M | |||
| | |||
| J | |||
| g++ | |||
|} | |} | ||
Aktuelle Version vom 12. Juli 2009, 16:20 Uhr
SVN Infos[Bearbeiten | Quelltext bearbeiten]
Diese Seite ist erstmal dafuer gedacht das im Hinterkopf zu behalten was ich sonst vergesse. Es wird hier auch ein kleines Howto entstehen, wie man das SVN benutzen sollte und wo was zu finden ist.
bzr notes[Bearbeiten | Quelltext bearbeiten]
Bazaar unterstuetzt leider keine externen branches. Damit ist es nicht moeglich das allg. konzept von externen SVNs, die bei bedarf eingebunden werden wie z.B. libs dafuer zu bauen (Stand 19.06.2009).
(Kommentar: Ich bin mir nicht ganz sicher, was du genau suchst/brauchst. bzr unterstützt sog. "nested trees" ganz gut. Das war sogar der primäre Grund, warum ich mich damals für bzr entschieden habe: http://bazaar-vcs.org/NestedTreesDesign. Eventuell ist das aber nicht das, as du suchst? (joerg) bezog mich dabei auf http://bazaar-vcs.org/BzrForeignBranches/Subversion#unsupported-subversion-file-properties spez 'svn:externals' (Alex) ) (Ah, right! Falls also jemand Projekt-X mit bzr verwalten wollte, und dass brauch Lib-A, dann kann sie nicht direkt auf das SVN von Lib-A verweisen, sondern muss erstmal einen bzr-mirror von Lib-A anlegen, der dann aber mit dem "nested-tree" support benutzt werden könnte.... Nicht das sich glaube, dass das jemand machen will.....(joerg)) (genau: gedanke war, dass der speicher SVN ist. Der locale nutzer aber die Wahl hat ob er auf den speicher via svn oder bzr zugreifen will (Alex))
svn - notes[Bearbeiten | Quelltext bearbeiten]
externals
svnadmin create /tmp/base svnadmin create /tmp/overlay svn co file://localhost/tmp/overlay svn co file://localhost/tmp/base cd base mkdir trunk, branch, tag touch trunk/sourcefile.c svn add trunk, branch, tag svn ci -m 'mycode' cd .. cd overlay svn propset svn:externals "lib file://localhost/tmp/base/trunk" . svn up cd .. cd base svn copy file://localhost/tmp/base/trunk/ file://localhost/tmp/base/branch/for_base -m 'create of branch' cd .. cd overlay svn propset svn:externals "lib file://localhost/tmp/base/branch/for_base" . svn up
sonderzeichen
LANG="en_US.UTF-8" svn up
allg Plan - may change[Bearbeiten | Quelltext bearbeiten]
- aufsetzen eines lib-SVNs Inhalt sollte sein
current location | location in new SVN | comment |
/microcontroller/lib, /microcontroller-2/lib | /lib-labor | alles was irgendwie direkt im Labor ans laufen gebracht wurde und spez. fuer das Labor bedeutung hat protokolle und aehnliches eben. |
/microcontroller/src-atmel/lib, /microcontroller-2/lib | /lib-laborHW | Code der zum ansteuern verschiedener ICs von Noeten ist spez rfm12/can/uart/spi |
/microcontroller/src-atmel/borg-base | /lib-laborBorgBase | basis-code verschiedener Borgs eben - unabhaengig vom verwendetem AVR - hier sollten animationen, prng, spiele, fonts... ihren ort finden |
- Anmerkung: microcontroller-2/lib enthaelt Komponenten die sowohl aus microcontroller/lib als auch aus microcontroller/src-atmel/lib kommen. dies sollte mal zusammengefasst werden.
- aufsetzen eines Borg-Projects-SVNs Inhalt sollte sein
current location | location in new SVN | comment |
/microcontroller/src-atmel/make | /make | Generisches Makefile-template fuer das kompilieren der BorgFirmware |
/microcontroller/src-atmel/borg/borg-16 | /borg-16 | Code der fuer den Borg-16 von noeten ist |
/microcontroller/src-atmel/borg/borg-3d | /borg-3d | Code der fuer den Borg-3d von noeten ist |
/microcontroller/src-atmel/borg/borg-* | /borg-* | Code der fuer den Borg-* von noeten ist |
/microcontroller/src-atmel/palyground* | /playground | Playground |
/microcontroller/src-atmel/workshop | /workshop | workshop |
- aufsetzen eines Code-Projects-SVNs Inhalt sollte sein, das diverse Codesegmente enthaelt, die die std-Toolchain aka. gcc benoetigen. darunter fallen z.B. die borg-api-simulator, oder dillentor oder auch alles was unter ruby faellt
- aufsetzen eines vhdl-svn inhalt ist der Ordner /vhdl
- aufsetzen eines other-hardware-SVNs darunter faellt:
vorschlag lib-labor[Bearbeiten | Quelltext bearbeiten]
|-- config.h-sample |-- includes | |-- airlab.h | |-- airlab_ping.h | |-- airlab_state.h | |-- can-encap.h | |-- can-uart.h | |-- can.h | |-- console.h | |-- lap.h | |-- lop.h | |-- multilop.h | |-- percnt2.h | |-- persistentCounter.h | |-- prng.h | |-- proto_lampe.h | |-- spi.h | |-- uart.h | |-- util.h | `-- xcan.h `-- src |-- airlab.c |-- airlab_ping.c |-- airlab_state.c |-- can-encap.c |-- can-uart.c |-- can.c |-- can_raw.c |-- console.c |-- lap.c |-- lop.c |-- multilop.c |-- percnt2.c |-- persistentCounter.c |-- prng.c |-- proto_lampe.c |-- spi.c |-- uart.c |-- util.c `-- xcan.c
vorschlag lib-laborHW[Bearbeiten | Quelltext bearbeiten]
|-- branch | `-- rfm12 | |-- README.txt | |-- rfm12.c | |-- rfm12.h | |-- rfm12_hw.h | `-- test-m8 | |-- Makefile | |-- pingpong.c | |-- rfm12.c | |-- rfm12.h | |-- rfm12_config.h | |-- uart.c | `-- uart.h `-- trunk |-- examples | |-- AvrX2.6f | | |-- AvrXFifo_documentation.txt | | |-- AvrXSerialIo_documentation.txt | | |-- Examples | | | |-- MessageTimers.c | | | |-- MessageTimersAlt.c | | | |-- Messages.c | | | |-- MessagesAndData.c | | | |-- README.txt | | | |-- Timers.c | | | |-- hardware.h | | | |-- lnk8535s.xcl | | | |-- makefile | | | `-- makefile.old.iar | | |-- README.txt | | |-- SerialExample.c | | `-- TestCases | | |-- BasicTest1.c | | |-- BasicTest2.c | | |-- BasicTest3.c | | |-- BasicTest4.c | | |-- README.txt | | |-- hardware.h | | |-- lnk8535s.xcl | | |-- makefile | | `-- makefile.old.iar | |-- rfm12 | | `-- test | | |-- test | | | |-- Makefile | | | |-- pingpong.c | | | |-- rfm12.c | | | |-- rfm12.h | | | |-- rfm12_config.h | | | |-- uart.c | | | `-- uart.h | | `-- test-m8 | | |-- Makefile | | |-- pingpong.c | | |-- rfm12.c | | |-- rfm12.h | | |-- rfm12_config.h | | |-- uart.c | | `-- uart.h | |-- rfmxx | | |-- example_uart_chat.c | | `-- main.c | `-- rfmxx-avrx | |-- Makefile | |-- README | |-- config.h | |-- example_uart_chat.c | `-- main.c |-- include | |-- AvrX2.6f | | |-- AvrXserialIO | | | `-- AvrXSerialIo.h | | `-- avrx | | |-- 2.6e | | | `-- ioavr.h | | |-- AvrXFifo.h | | |-- avrx-ctoasm.inc | | |-- avrx-io.h | | |-- avrx-signal.h | | |-- avrx.h | | |-- avrx.inc | | `-- serialio.h | |-- rfm12 | | |-- rfm12.h | | `-- rfm12_hw.h | |-- rfmxx | | `-- rf12.h | `-- rfmxx-avrx | `-- rf12.h `-- src |-- AvrX2.6f | |-- AvrXserialIO | | |-- AvrXBufferedSerial.c | | `-- AvrXSimpleSerial.c | `-- avrx | |-- 2.6e | | |-- avrx_semaphores.s | | `-- avrx_tasking.s | |-- AvrXFifo.c | |-- avrx_canceltimer.S | |-- avrx_canceltimer_exp.S | |-- avrx_canceltimermessage.S | |-- avrx_eeprom.S | |-- avrx_generatesinglestepinterrupt.S | |-- avrx_halt.S | |-- avrx_iar_vect.S | |-- avrx_message.S | |-- avrx_priority.S | |-- avrx_recvmessage.S | |-- avrx_reschedule.S | |-- avrx_resetsemaphore.S | |-- avrx_semaphores.S | |-- avrx_singlestep.S | |-- avrx_starttimermessage.S | |-- avrx_suspend.S | |-- avrx_tasking.S | |-- avrx_terminate.S | |-- avrx_testsemaphore.S | |-- avrx_timequeue.S | |-- avrx_timequeue_exp.S | |-- monitor.S | `-- serialio.S |-- rfm12 | `-- rfm12.c |-- rfmxx | `-- rf12.c `-- rfmxx-avrx `-- rf12.c
spezial Files[Bearbeiten | Quelltext bearbeiten]
files | comment |
/microcontroller/lib/lap.h, /microcontroller-2/lib/lab/lab.h | Labor Automatisierungs Protokoll: beinhaltet die definition welche Adressen auf dem Can-Bus an wen vergeben sind. Dabei scheint die lib.h unter microcontroller-2 die aeltere sein. sie enthaelt eine Zusaetzliche definition fuer CHANNEL_MGT, was von LaborAccess/Master/lab.c verwendet wird. ich uebernehme daher dieses typedef, da es scheinbar keine kollision zu geben scheint. ferner ist der funktionsprototyp fuer lap_ping und lap_reset verschieden, was noch ein problem werden koennte, auch wenn es sich eigentlich um den gleichendatentyp handelt (uint8_t und unsigned char) - uint8_t ist dabei die saubere verwendung. |
/microcontroller-2/CanGate-m32/trunk/host/src/lapcontrol/cmds-flash.c /microcontroller-2/CanGate-m32/trunk/host/src/lapcontrol/cmds-base.c | verwenden lap_reset mit datentype can_addr, nicht can_addr_t |
/microcontroller-2/CanGate-m32/trunk/host/src/lapcontrol/cmds-base.c | verwenden lap_ping mit datentype can_addr, nicht can_addr_t |
/microcontroller-2/LaborAccess/TorControl/lap.h | scheint ein Kopie von /microcontroller/lib/lap.h zu sein |
Do not forget[Bearbeiten | Quelltext bearbeiten]
dirctory - das Verzeichnis in dem sich das Projekt befindet
last change - wann es zuletzt bearbeitet wurde, resp wann es zuletzt eingecheckt wurde
last author - wer die letzten Aenderungen gemacht hat
size - die ungefaehre groesse des projektes (mit abhaengigkeiten)
depends on - welche anderen Verzeichnisse / svns werden noch benoetigt
does compile - compiliert es "out of the box" oder muss noch etwas daran getan werden (J = ja, N = nein, ? = nicht notwendig/kein Makefile, T = enthaelt Unterprojekte die teilweise laufen teilweise nicht)
alles unter microcontroller/src-atmel[Bearbeiten | Quelltext bearbeiten]
dirctory | last change | last author | size | depends on | does compile | code-form or compiler |
LaserBorg | 2009-01-29 22:46:53 | suschman | 5.9M | ? | eagle | |
borg/Panel-One | 2006-12-12 22:59:43 | tixiv | 1M | ../lib , ./borg/borg-base , ./make | N | avr-gcc |
./borg/ansgar-borg | 2008-01-05 20:25:17 | hansi | 0.5M | ./make | J | avr-gcc |
./automatization | 2008-07-08 03:07:35 | soeren | 3M | ../lib , ./lib, ./make | T | avr-gcc |
./bootloader | 2009-05-28 01:26:57 | tixif | 0.5M | T (Groessenproblem beim linken) | avr-gcc | |
./borg/borg | 2007-02-09 02:05:52 | bg | 0.5M | ./make | J | avr-gcc |
./borg/borg-16 | 2009-06-12 08:25:35 | chris | 2.5M | ./make , ./borg/borg-base, ../lib | J | avr-gcc |
./borg/borg-3d | 2008-05-16 11:00:51 | tixiv | 2.0M | ./make , ./borg/borg-base, ../lib | J | avr-gcc |
./borg/borg-3d-16-apiSimulartor | 2008-11-11 23:04:50 | madex | 0.5M | N | gcc | |
./borg/borg-3d-apiSimulator | 2007-04-18 | madex | 0.5M | J | gcc | |
./borg/borg-3d-mini | 2008-11-16 | tixiv | 0.5M | ./make | J | avr-gcc |
./borg/borg-3d-newApi-Simulator | 2008-11-25 11:53:21 | tixiv | 0.5M | N | gcc | |
./borg/borg-alice | 2006-11-01 19:33:50 | joern | 0.5M | ./make | J | avr-gcc |
./borg/borg-andre | 2009-06-12 08:25:35 | chris | 2.5M | ./make, ../lib, ./borg/borg-base | J | avr-gcc |
./borg/borg-apiSimulator | 2009-06-12 08:25:35 | chris | 1.5M | ./borg/borg-base | J | gcc |
./borg/borg-felix3d | 2008-05-16 11:03:07 | tixiv | 2.0M | ./borg/borg-base, ./make | J | avr-gcc |
./borg/borg-ingo | 2006-12-12 22:59:43 | tixiv | 0.5M | ./make | J | avr-gcc |
./borg/borg-joystick | 2005-08-06 20:13:08 | joerg | 0.2M | N | avr-gcc | |
./borg/borg-ls | 2008-08-24 07:13:50 | bg | 2.0M | ../lib, ./borg/borg-base, ./make | J | avr-gcc |
./borg/borg-ls-apiSimulator | 2005-11-03 23:53:48 | madex | 1.0M | ./borg/borg-base | N (missing Files / includes) | gcc |
./borg/borg-mini | 2007-11-10 03:44:21 | tut | 0.5M | ./make | J | avr-gcc |
./borg/borg-mini-64gray | 2007-08-23 17:21:03 | tut | 0.5M | ./make | J | avr-gcc |
./borg/borg-mini-acctest | 2008-01-02 19:17:24 | hansi | 0.5M | ./make | J | avr-gcc |
./borg/borg-pocket | 2006-09-25 23:59:52 | tixiv | 0.5M | ./make, ./borg/borg-base | N | avr-gcc |
./borg/borg-rhein-fire | 2006-06-04 21:49:35 | joerg | 1.0M | ./make | J | avr-gcc |
./borg/borg-tw | 2007-04-28 23:55:13 | tixiv | 0.5M | ./make | N (Groessenprobleme beim Linken) | avr-gcc |
./borg/borg-ventilator | 2007-11-24 05:32:48 | tixiv | 1.0M | ./make, ./borg/borg-base | N | avr-gcc |
./borg/borgconf | 2008-12-03 06:33:18 | tixiv | 1.0M | T | avr-gcc + gcc | |
./borg/borgsim | 2005-09-08 19:53:17 | madex | 0.2M | J | gcc | |
./borg/borgware-2d | 2009-06-19 | tixiv | 1.5M | T | avr-gcc + gcc | |
./borg/pocketlights | 2007-03-14 00:08:23 | taba | 1.0M | ./make, ../lib, ./borg/borg-base | N | avr-gcc |
./iecata-tmp | 2006-09-06 16:04:21 | tixiv | 0.5M | ./make | N | avr-gcc |
./iecatax | 2006-04-04 17:10:34 | tixiv | 2.0M | ./make, ./lib | N | avr-gcc |
./inspektionsbot | 2008-10-20 13:13:13 | soeren | 0.5M | ./lib | J | avr-gcc |
./killerbot | 2006-10-09 01:33:39 | soeren | 0.2M | ../lib | N (missing files) | avr-gcc |
./tests | 2007-12-09 22:21:21 | tixiv | 0.2M | ../lib, ./lib, ../make, ./make | T (missing files, wrong includes) | avr-gcc |
./usb | 2009-05-29 22:06:38 | hansi | 1.0M | J | avr-gcc + gcc | |
./moodbar | 2006-10-31 00:39:09 | tixiv | 3.0M | ../lib, ./lib, ./make | N | avr-gcc |
./nerdgames | 2008-11-18 15:45:30 | soeren | 2.0M | ../lib, ./lib, ./make | N | gcc |
./playground | 2009-05-28 01:29:33 | tixiv | 12M | ../lib, ./lib, ./make, ../make | T | avr-gcc |
./rfm12 | 2009-06-26 21:11:43 | soeren | 7.5M | ./lib | T (// the log is fun ^^ ) | avr-gcc + gcc |
./rfmbot | 2008-10-20 13:06:19 | soeren | 2.5M | ./lib | J | avr-gcc |
./theke | 2005-12-14 01:03:00 | joerg | 0.2M | ../lib | J | avr-gcc |
./workshop | 2006-06-08 21:43:24 | tixiv | 0.5M | J | acr-gcc |
alles unter microcontroller-2[Bearbeiten | Quelltext bearbeiten]
dirctory | last change | last author | size | depends on | does compile | code-form or compiler |
AnonAccess | 2008-09-09 19:16:38 | bg | 16M | J (Includes correktur notw.) | gcc | |
CanGate-m32 | 2007-07-03 15:50:55 | joerg | 9.0M | ./lib, ./make | J | avr-gcc |
LabCopter | 2008-01-03 03:07:40 | hansi | 1.0M | N | avr-gcc | |
LaborAccess | 2008-01-03 03:07:40 | hansi | 1.0M | ./lib, ./make | T | avr-gcc |
QPort | 2007-06-26 10:28:24 | bg | 3.5M | J (linker-probleme in main) | avr-gcc | |
Shr0dBot | 2008-11-18 23:16:47 | hansi | 0.5M | N | avr-gcc | |
avr-entropy | 2007-10-21 17:45:22 | bg | 0.2M | N (linker-probleme) | avr-gcc | |
crypto-lib | 2009-06-24 04:36:33 | bg | 190M | J | avr-gcc | |
errorhandling | 2007-06-23 02:27:11 | tixiv | 0.5M | J | avr-gcc | |
qport-tiny | 2008-07-21 00:38:33 | bg | 2.5M | J | avr-gcc | |
sosse-labor | 2008-09-29 22:09:45 | bg | 7.5M | J | avr-gcc |
other-hardware[Bearbeiten | Quelltext bearbeiten]
dirctory | last change | last author | size | depends on | does compile | code-form or compiler |
ltc1290 | 2007-07-01 14:30:58 | joerg | 0.5M | J | gcc | |
src-mono/StyroDesign | 2005-12-26 00:22:08 | madex | 0.2M | no check | .net/ mono / mcs | |
src-qt/StyroDesign | 2007-04-03 23:34:56 | madex | 1.0M | no check | kdevelop / g++ | |
src-qt/labcopter-tool | 2008-07-21 09:49:11 | tixiv | 1.5M | J | g++ | |
src-qt/vclick | 2007-08-31 13:24:42 | tixiv | 0.2M | J | g++ |