Wiki » Historique » Version 8
  Patrice Nadeau, 2014-07-24 11:00 
  
| 1 | 2 | Patrice Nadeau | %{font-size:18pt}Utilisation d'un BeagleBone Black% | 
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | 1 | Patrice Nadeau | |
| 5 | ---  | 
||
| 6 | |||
| 7 | {{toc}} | 
||
| 8 | |||
| 9 | h1. Matériel requis  | 
||
| 10 | |||
| 11 | * BeagleBone Black (Digikey #"BB-BBLK-000-REVC-ND":http://www.digikey.ca/product-detail/en/BB-BBLK-000/BB-BBLK-000-REVC-ND/4842211)  | 
||
| 12 | |||
| 13 | h1. Accessoires requis  | 
||
| 14 | |||
| 15 | * Bloc d’alimentation 5V, 1A, 2.1mm, centre positif (DigiKey #"T139-P5P-ND":http://www.digikey.ca/product-search/en?vendor=0&keywords=T1139-P5P-ND)  | 
||
| 16 | * Concentrateur USB  | 
||
| 17 | 3 | Patrice Nadeau | |
| 18 | h1. Logiciel requis  | 
||
| 19 | |||
| 20 | h2. Développement à partir d'un autre poste  | 
||
| 21 | |||
| 22 | Comme pour les AVR d'ATMEL, l’écriture du code source et sa compilation peut être faite sur un autre poste.  | 
||
| 23 | |||
| 24 | Compilateur (gcc)  | 
||
| 25 | * http://software.opensuse.org/package/cross-arm-linux-gnueabi-binutils  | 
||
| 26 | * http://software.opensuse.org/package/cross-arm-linux-gnueabi-gcc  | 
||
| 27 | |||
| 28 | Librairies  | 
||
| 29 | * http://software.opensuse.org/package/cross-arm-linux-gnueabi-glibc  | 
||
| 30 | * http://software.opensuse.org/package/cross-arm-linux-gnueabi-libffi  | 
||
| 31 | |||
| 32 | 4 | Patrice Nadeau | Le compilateur est installé dans */opt/cross/bin/*  | 
| 33 | * arm-linix-gnueabi-gcc  | 
||
| 34 | * ...  | 
||
| 35 | 5 | Patrice Nadeau | |
| 36 | 6 | Patrice Nadeau | Créer le lien vers l’exécutable :  | 
| 37 | 5 | Patrice Nadeau | <pre><code class="bash">  | 
| 38 | ln -s /opt/cross/bin /usr/local/arm  | 
||
| 39 | </code></pre>  | 
||
| 40 | |||
| 41 | 7 | Patrice Nadeau | Crer le fichier */etc/profile.d/arm.sh  | 
| 42 | 1 | Patrice Nadeau | <pre><code class="bash">  | 
| 43 | 7 | Patrice Nadeau | #!/bin/bash  | 
| 44 | # Export path for ARM tollchain  | 
||
| 45 | 5 | Patrice Nadeau | export PATH=/usr/local/arm:${PATH} | 
| 46 | 1 | Patrice Nadeau | export MANPATH=/opt/cross/share/man:${MANPATH} | 
| 47 | 7 | Patrice Nadeau | </code></pre>  | 
| 48 | |||
| 49 | En tant qu'utilisateur, les changements seront effectifs au prochain login.  | 
||
| 50 | Sinon, dans la session _courante_  | 
||
| 51 | <pre><code class="bash">  | 
||
| 52 | source /etc/profile.d/arm.sh  | 
||
| 53 | 5 | Patrice Nadeau | </code></pre>  |