Browse Source

Merge pull request #4296 from thread-liu/master

[add] raspberry-pico elf2uf2.exe
Bernard Xiong 4 years ago
parent
commit
83c4459a09

+ 4 - 6
bsp/raspberry-pico/README.md

@@ -33,7 +33,7 @@ Support GCC 6 and above compilers.
 
 ### Step 1: build
 
-```
+```bash
 scons -c
 scons
 ```
@@ -42,11 +42,9 @@ scons
 
 ### Step 2: flash
 
-Run the following command in the linux environment.
+scons generates a UF2 file:
 
-```
-./libraries/generated/elf2uf2 rtthread-pico.elf rtthread-pico.uf2
-```
+![elf2uf2](figures/elf2uf2.png)
 
 - Copy the rtthread-pico.uf2 file to the "RPI-RP2" disk
 - Then led blink.
@@ -55,7 +53,7 @@ Run the following command in the linux environment.
 
 The output information on serial port should be like this:
 
-```
+```bash
  \ | /
 - RT -     Thread Operating System
  / | \     4.0.3 build Jan 28 2021

BIN
bsp/raspberry-pico/figures/elf2uf2.png


BIN
bsp/raspberry-pico/libraries/generated/elf2uf2.exe


File diff suppressed because it is too large
+ 1 - 0
bsp/raspberry-pico/rtconfig.py


Some files were not shown because too many files changed in this diff