Skip to content

Commit a230deb

Browse files
committed
ci: run_build: use apt-get for ARM toolchain
Replace manual package downloads with apt-get install for gcc-arm-none-eabi and libnewlib-arm-none-eabi. The Makefile fix for 64-bit format macros allows using newer toolchain versions from Ubuntu repositories, eliminating the need for version pinning. Signed-off-by: Antoniu Miclaus <[email protected]>
1 parent ce0519b commit a230deb

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

ci/run_build.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,7 @@ build_cppcheck() {
7373
}
7474

7575
build_drivers() {
76-
# install the required packages and their dependencies
77-
wget https://launchpad.net/ubuntu/+source/binutils-arm-none-eabi/15build1/+build/23239027/+files/binutils-arm-none-eabi_2.38-3ubuntu1+15build1_amd64.deb
78-
sudo dpkg -i ./binutils-arm-none-eabi_2.38-3ubuntu1+15build1_amd64.deb
79-
80-
wget https://launchpad.net/ubuntu/+source/gcc-arm-none-eabi/15:10.3-2021.07-4/+build/22422757/+files/gcc-arm-none-eabi_10.3-2021.07-4_amd64.deb
81-
sudo dpkg -i ./gcc-arm-none-eabi_10.3-2021.07-4_amd64.deb
82-
83-
wget https://launchpad.net/ubuntu/+source/newlib/3.3.0-1.3/+build/22978164/+files/libnewlib-dev_3.3.0-1.3_all.deb
84-
sudo dpkg -i ./libnewlib-dev_3.3.0-1.3_all.deb
85-
86-
wget https://launchpad.net/ubuntu/+source/newlib/3.3.0-1.3/+build/22978164/+files/libnewlib-arm-none-eabi_3.3.0-1.3_all.deb
87-
sudo dpkg -i ./libnewlib-arm-none-eabi_3.3.0-1.3_all.deb
88-
76+
sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi
8977
make -j${NUM_JOBS} -C ./drivers -f Makefile
9078
}
9179

0 commit comments

Comments
 (0)