Modifications

Sauter à la navigation Sauter à la recherche
1 038 octets ajoutés ,  28 décembre 2017 à 20:45
Ligne 126 : Ligne 126 :  
{{asm-begin}}
 
{{asm-begin}}
   −
{{asm-row|img=part-item-pi.jpg}}
+
{{asm-row|img=FEATHER-M0-Bootloader-UF2-30.png}}
{{asm-text}} Le texte de description ici
+
{{asm-text}} Go to the Control Panel. Click on the '''Hardware and Sound''' header
   −
{{asm-row|img=afficheur-lcd-afficheur.jpg}}
+
{{asm-row|img=FEATHER-M0-Bootloader-UF2-31.png}}
{{asm-img|img=part-item-pi.jpg}}
+
{{asm-text}} Click on the '''Autoplay''' header
{{asm-text}} Blablabla
+
 
 +
{{asm-row|img=FEATHER-M0-Bootloader-UF2-32.png}}
 +
{{asm-text}} Uncheck the box at the top, labeled '''Use Autoplay for all devices'''
   −
Autre ligne
  −
* Et bullet list :-)
   
{{asm-end}}
 
{{asm-end}}
 +
 +
== Faire votre propre UF2 ==
 +
Making your own UF2 is easy! All you need is a .bin file of a program you wish to flash and [https://github.com/Microsoft/uf2/blob/master/utils/uf2conv.py the Python conversion script]. Make sure that your program was compiled to start at 0x2000 (8k) because the bootloader takes the first 8k. CircuitPython's [https://github.com/adafruit/circuitpython/blob/master/atmel-samd/boards/samd21x18-bootloader.ld linker script] is an example on how to do that.
 +
 +
Once you have a .bin file, you simply need to run the Python conversion script over it. Here is an example from the directory with uf2conv.py:
 +
 +
<nowiki>uf2conv.py -c -o build-circuitplayground_express/revg.uf2 build-circuitplayground_express/revg.bin</nowiki>
 +
 +
This will produce a revg.uf2 file in the same directory as the source revg.bin. The uf2 can then be flashed in the same way as above.
    
{{FEATHER-M0-EXPRESS-TRAILER}}
 
{{FEATHER-M0-EXPRESS-TRAILER}}
29 917

modifications

Menu de navigation