Skip to content

Commit 21bee73

Browse files
committed
Update docs and build/release action
1 parent ad888dd commit 21bee73

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

.github/workflows/build_sw.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ jobs:
4040
# Build your program with the given configuration
4141
run: cmake --build ${{github.workspace}}/Software/build --config ${{env.BUILD_TYPE}}
4242

43-
- name: ls2
44-
run: ls ${{github.workspace}}/Software/build
45-
4643
- name: Upload build files as artifact
4744
uses: actions/upload-artifact@v4
4845
with:
@@ -53,14 +50,24 @@ jobs:
5350
runs-on: ubuntu-latest
5451
needs: build
5552
steps:
56-
- name: Checkout
57-
uses: actions/checkout@v4
53+
- name: Download build files artifact
54+
uses: actions/download-artifact@v4
55+
with:
56+
name: build_files
57+
58+
- name: Display structure of downloaded files
59+
run: ls -R
60+
5861
- name: Release
5962
uses: softprops/action-gh-release@v2
6063
if: startsWith(github.ref, 'refs/tags/')
6164
with:
6265
files: |
63-
README.md
64-
LICENSE
66+
RP2040-Decoder.bin
67+
RP2040-Decoder.dis
68+
RP2040-Decoder.elf
69+
RP2040-Decoder.elf.map
70+
RP2040-Decoder.hex
71+
RP2040-Decoder.uf2
6572
6673

docs/sphinx/source/other/getting_started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Getting started
44
1. Where to get the board?
55
----------------------------------
66

7-
You can choose any PCB manufacturer you like.The PCB is designed to fit with JLCPCB.com's capabilities and constraints.You can assemble the board yourself, but it's best not to do so if you're not familiar with soldering small components. Alternatively, you can order the board fully or partly assembled.Soldering the back of the PCB by hand is not too difficult. All parts are normally available at LCSC.com, who supply parts to JLCPCB.com.
7+
You can choose any PCB manufacturer you like. The PCB is designed to fit with JLCPCB.com's capabilities and constraints. You can assemble the board yourself, but it's best not to do so if you're not familiar with soldering small components. Alternatively, you can order the board fully or partly assembled. Soldering the back of the PCB by hand is not too difficult. All parts are normally available at LCSC.com, who supply parts to JLCPCB.com.
88

99
2. Production files?
1010
----------------------------------
@@ -30,7 +30,7 @@ Note: If you are building for Hardware Rev 0.3 or below change the board definti
3030

3131
For RP2040-Decoders with USB there is two ways of flashing the software:
3232

33-
1. Flasing via USB using the .uf2 file by copying it with your preferred file explorer.
33+
1. Flashing via USB using the .uf2 file by copying it with your preferred file explorer.
3434
2. Using Serial Wire Debug (SWD)
3535

3636
2.1. Using another RP2040/RP2350-based board with `debugprobe software <https://github.com/raspberrypi/debugprobe>`_ on it. (Could be the RP2040-Decoder itself)

docs/sphinx/source/software/sw_description.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ Software files high level overview:
1919

2020
- **shared.c / shared.h** (used by both cores)
2121

22-
- Error handling
23-
- Helper functions for retrieving CV's
22+
- Error handling
23+
- Helper functions for retrieving CV's
2424

2525
- **CV.h**
2626

27-
- Default configuration variables
27+
- Default configuration variables
2828

2929
- **CMakeLists.txt**
3030

@@ -35,7 +35,7 @@ Software files high level overview:
3535
- Debug logging configuration (via stdio using UART/USB)
3636
- Linked libraries
3737

38-
- **RP2040-Decoder-board.h or RP2040-Decoder-board-legacy.h**
38+
- **RP2040-Decoder-board-Rev-X_Y.h**
3939

4040
- Flash Size
4141
- Pin definitions

0 commit comments

Comments
 (0)