@@ -24,35 +24,35 @@ jobs:
24
24
- name : Init submodules to get tinyUSB stack
25
25
run : ls && cd pico-sdk && git submodule update --init && cd ..
26
26
27
- - name : Configure and run CMake for Hardware Rev 0.3
27
+ - name : Configure and run CMake for Legacy Hardware Revision
28
28
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
29
29
# 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
31
31
32
- - name : Build for Hardware Rev 0.3
32
+ - name : Build for Legacy Hardware Revision
33
33
# 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}}
35
35
36
- - name : Configure and run CMake for Hardware Rev 1.0
36
+ - name : Configure and run CMake for USB Hardware Revision
37
37
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
38
38
# 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
40
40
41
- - name : Build for Hardware Rev 1.0
41
+ - name : Build for Hardware for USB Hardware Revision
42
42
# 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}}
44
44
45
- - name : Upload build files as artifact Rev 0.3
45
+ - name : Upload build files as artifact for Legacy Hardware Revision
46
46
uses : actions/upload-artifact@v4
47
47
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
50
50
51
- - name : Upload build files as artifact Rev 1.0
51
+ - name : Upload build files as artifact for USB Hardware Revision
52
52
uses : actions/upload-artifact@v4
53
53
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
56
56
57
57
generate-fabrication-files :
58
58
runs-on : ubuntu-latest
@@ -74,14 +74,14 @@ jobs:
74
74
- name : Run fab toolkit CLI
75
75
run : |
76
76
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
78
78
cd ..
79
79
80
80
- name : Upload Artifact
81
81
uses : actions/upload-artifact@v4
82
82
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
85
85
86
86
prerelease :
87
87
runs-on : ubuntu-latest
@@ -93,39 +93,39 @@ jobs:
93
93
- name : Download fabrication outputs artifact
94
94
uses : actions/download-artifact@v4
95
95
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
98
98
99
- - name : Download build files artifact for Rev 0.3
99
+ - name : Download build files artifact for Legacy Hardware Revision
100
100
uses : actions/download-artifact@v4
101
101
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
104
104
105
- - name : Download build files artifact for Rev 1.0
105
+ - name : Download build files artifact for USB Hardware Revision
106
106
uses : actions/download-artifact@v4
107
107
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
110
110
111
111
- name : ls
112
112
run : ls
113
113
114
114
- 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
116
116
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
119
119
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
122
122
123
123
- name : Release
124
124
uses : softprops/action-gh-release@v2
125
125
if : startsWith(github.ref, 'refs/tags/')
126
126
with :
127
127
prerelease : true
128
128
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