Skip to content

Commit 429f512

Browse files
committed
ADD: stm32duino dev/tag release steps
1 parent 616f53b commit 429f512

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

.github/workflows/devrelease.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,20 @@ jobs:
1919
run: git clone https://github.com/STMicroelectronics/STM32CubeF1.git
2020
- name: Run Cppcheck
2121
run: STM32CUBE_PATH=./STM32CubeF1 make cppcheck
22-
- name: Build Firmware
23-
run: STM32CUBE_PATH=./STM32CubeF1 make
22+
- name: Build Firmware (STM32duino 0x8002000)
23+
run: |
24+
make clean && \
25+
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8002000 make && \
26+
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8002000.bin &&\
27+
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8002000.hex
28+
- name: Build Firmware (STM32duino 0x8005000)
29+
run: |
30+
make clean && \
31+
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8005000 make && \
32+
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8005000.bin &&\
33+
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8005000.hex
34+
- name: Build Firmware (Bare)
35+
run: make clean && STM32CUBE_PATH=./STM32CubeF1 make
2436
- uses: "marvinpinto/action-automatic-releases@latest"
2537
with:
2638
repo_token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/tagrelease.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,20 @@ jobs:
2020
run: git clone https://github.com/STMicroelectronics/STM32CubeF1.git
2121
- name: Run Cppcheck
2222
run: STM32CUBE_PATH=./STM32CubeF1 make cppcheck
23-
- name: Build Firmware
24-
run: STM32CUBE_PATH=./STM32CubeF1 make
23+
- name: Build Firmware (STM32duino 0x8002000)
24+
run: |
25+
make clean && \
26+
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8002000 make && \
27+
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8002000.bin &&\
28+
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8002000.hex
29+
- name: Build Firmware (STM32duino 0x8005000)
30+
run: |
31+
make clean && \
32+
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8005000 make && \
33+
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8005000.bin &&\
34+
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8005000.hex
35+
- name: Build Firmware (Bare)
36+
run: make clean && STM32CUBE_PATH=./STM32CubeF1 make
2537
- uses: "marvinpinto/action-automatic-releases@latest"
2638
with:
2739
repo_token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)