@@ -24,35 +24,35 @@ jobs:
2424 - name : Init submodules to get tinyUSB stack
2525 run : ls && cd pico-sdk && git submodule update --init && cd ..
2626
27- - name : Configure and run CMake for Hardware Rev 0.3
27+ - name : Configure and run CMake for Legacy Hardware Revision
2828 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
2929 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
30- run : cmake -B ${{github.workspace}}/Software/build-Rev-0_3 -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-Rev-0_3
30+ run : cmake -B ${{github.workspace}}/Software/build-Legacy -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-Legacy
3131
32- - name : Build for Hardware Rev 0.3
32+ - name : Build for Legacy Hardware Revision
3333 # Build your program with the given configuration
34- run : cmake --build ${{github.workspace}}/Software/build-Rev-0_3 --config ${{env.BUILD_TYPE}}
34+ run : cmake --build ${{github.workspace}}/Software/build-Legacy --config ${{env.BUILD_TYPE}}
3535
36- - name : Configure and run CMake for Hardware Rev 1.0
36+ - name : Configure and run CMake for USB Hardware Revision
3737 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3838 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
39- run : cmake -B ${{github.workspace}}/Software/build-Rev-1_0 -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-Rev-1_0
39+ run : cmake -B ${{github.workspace}}/Software/build-USB -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-USB
4040
41- - name : Build for Hardware Rev 1.0
41+ - name : Build for Hardware for USB Hardware Revision
4242 # Build your program with the given configuration
43- run : cmake --build ${{github.workspace}}/Software/build-Rev-1_0 --config ${{env.BUILD_TYPE}}
43+ run : cmake --build ${{github.workspace}}/Software/build-USB --config ${{env.BUILD_TYPE}}
4444
45- - name : Upload build files as artifact Rev 0.3
45+ - name : Upload build files as artifact for Legacy Hardware Revision
4646 uses : actions/upload-artifact@v4
4747 with :
48- name : build_files_Rev-0_3
49- path : ${{github.workspace}}/Software/build-Rev-0_3
48+ name : build_files_Legacy
49+ path : ${{github.workspace}}/Software/build-Legacy
5050
51- - name : Upload build files as artifact Rev 1.0
51+ - name : Upload build files as artifact for USB Hardware Revision
5252 uses : actions/upload-artifact@v4
5353 with :
54- name : build_files_Rev-1_0
55- path : ${{github.workspace}}/Software/build-Rev-1_0
54+ name : build_files_USB
55+ path : ${{github.workspace}}/Software/build-USB
5656
5757 generate-fabrication-files :
5858 runs-on : ubuntu-latest
@@ -74,14 +74,14 @@ jobs:
7474 - name : Run fab toolkit CLI
7575 run : |
7676 cd Fabrication-Toolkit
77- python3 -m plugins.cli -p ../KiCad/Rev_1_0 /RP2040-Decoder.kicad_pcb --autoTranslate --autoFill
77+ python3 -m plugins.cli -p ../KiCad/USB /RP2040-Decoder.kicad_pcb --autoTranslate --autoFill
7878 cd ..
7979
8080 - name : Upload Artifact
8181 uses : actions/upload-artifact@v4
8282 with :
83- name : fab_outputs_rev_1_0
84- path : ./KiCad/Rev_1_0 /production
83+ name : fab_outputs_USB
84+ path : ./KiCad/USB /production
8585
8686 prerelease :
8787 runs-on : ubuntu-latest
@@ -93,39 +93,39 @@ jobs:
9393 - name : Download fabrication outputs artifact
9494 uses : actions/download-artifact@v4
9595 with :
96- name : fab_outputs_rev_1_0
97- path : fab_outputs_rev_1_0
96+ name : fab_outputs_USB
97+ path : fab_outputs_USB
9898
99- - name : Download build files artifact for Rev 0.3
99+ - name : Download build files artifact for Legacy Hardware Revision
100100 uses : actions/download-artifact@v4
101101 with :
102- name : build_files_Rev-0_3
103- path : build_files_Rev-0_3
102+ name : build_files_Legacy
103+ path : build_files_Legacy
104104
105- - name : Download build files artifact for Rev 1.0
105+ - name : Download build files artifact for USB Hardware Revision
106106 uses : actions/download-artifact@v4
107107 with :
108- name : build_files_Rev-1_0
109- path : build_files_Rev-1_0
108+ name : build_files_USB
109+ path : build_files_USB
110110
111111 - name : ls
112112 run : ls
113113
114114 - name : Zip fabrication outputs
115- run : zip -r FABRICATION_OUTPUTS-REV-1_0 .zip fab_outputs_rev_1_0
115+ run : zip -r FABRICATION_OUTPUTS-USB .zip fab_outputs_USB
116116
117- - name : Zip Rev 0.3 build files
118- run : zip -r SW_BUILD-REV-0_3 .zip build_files_Rev-0_3
117+ - name : Zip SW_BUILD-Legacy files
118+ run : zip -r SW_BUILD-Legacy .zip build_files_Legacy
119119
120- - name : Zip Rev 1.0 build files
121- run : zip -r SW_BUILD-REV-1_0 .zip build_files_Rev-1_0
120+ - name : Zip SW_BUILD-USB files
121+ run : zip -r SW_BUILD-USB .zip build_files_USB
122122
123123 - name : Release
124124 uses : softprops/action-gh-release@v2
125125 if : startsWith(github.ref, 'refs/tags/')
126126 with :
127127 prerelease : true
128128 files : |
129- SW_BUILD-REV-0_3 .zip
130- SW_BUILD-REV-1_0 .zip
131- FABRICATION_OUTPUTS-REV-1_0 .zip
129+ SW_BUILD-Legacy .zip
130+ SW_BUILD-USB .zip
131+ FABRICATION_OUTPUTS-USB .zip
0 commit comments