Skip to content

Commit a5fb1c4

Browse files
committed
First hatch at build
1 parent 85966e8 commit a5fb1c4

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,25 @@ jobs:
1818
uses: carlosperate/arm-none-eabi-gcc-action@v1
1919
with:
2020
release: '11.2-2022.02'
21+
22+
- name: Install SEGGER J-Link RTT
23+
run: |
24+
wget --post-data "accept_license_agreement=accepted" -c https://www.segger.com/downloads/jlink/JLink_Linux_V792_x86_64.tgz
25+
tar xvzf JLink_Linux_V792_x86_64.tgz
26+
tar xvzf JLink_Linux_V792_x86_64/Samples/RTT/SEGGER_RTT_V792.tgz
27+
cp SEGGER_RTT_V792/Config/SEGGER_RTT_Conf.h SEGGER_RTT_V792/RTT/
28+
29+
- name: Install CubeMX G0
30+
run: |
31+
git clone --recursive -b v1.6.0 https://github.com/STMicroelectronics/STM32CubeG0.git
32+
2133
- name: Check out repository
2234
uses: actions/checkout@v4
2335
with:
2436
path: NeoDK
25-
- name: Install arm-none-eabi-gcc
37+
38+
- name: Build Firmware
2639
run: |
27-
arm-none-eabi-gcc --version
28-
which arm-none-eabi-gcc
40+
cd NeoDK
41+
SEGGER=~/SEGGER_RTT_V792/RTT/ STM32CUBE_G0=~/STM32CubeG0 GNU_INSTALL_ROOT=$(dirname $(which arm-none-eabi-gcc))/ make
2942

0 commit comments

Comments
 (0)