소스 검색

[add] raspberry-pico elf2uf2.exe

thread-liu 4 년 전
부모
커밋
00841bb0f5
4개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 4 6
      bsp/raspberry-pico/README.md
  2. BIN
      bsp/raspberry-pico/figures/elf2uf2.png
  3. BIN
      bsp/raspberry-pico/libraries/generated/elf2uf2.exe
  4. 1 0
      bsp/raspberry-pico/rtconfig.py

+ 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


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
bsp/raspberry-pico/rtconfig.py


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.