Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions ci/run_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,7 @@ build_cppcheck() {
}

build_drivers() {
# install the required packages and their dependencies
wget https://launchpad.net/ubuntu/+source/binutils-arm-none-eabi/15build1/+build/23239027/+files/binutils-arm-none-eabi_2.38-3ubuntu1+15build1_amd64.deb
sudo dpkg -i ./binutils-arm-none-eabi_2.38-3ubuntu1+15build1_amd64.deb

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
sudo dpkg -i ./gcc-arm-none-eabi_10.3-2021.07-4_amd64.deb

wget https://launchpad.net/ubuntu/+source/newlib/3.3.0-1.3/+build/22978164/+files/libnewlib-dev_3.3.0-1.3_all.deb
sudo dpkg -i ./libnewlib-dev_3.3.0-1.3_all.deb

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
sudo dpkg -i ./libnewlib-arm-none-eabi_3.3.0-1.3_all.deb

sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi
make -j${NUM_JOBS} -C ./drivers -f Makefile
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ INCLUDES = -I../include/ \

IIOD_FLAGS += -DIIO_SUPPORT

CFLAGS = -c -Wall -Wformat=0 $(IIOD_FLAGS) $(INCLUDES)
CFLAGS = -c -Wall -Wformat=0 -D__int64_t_defined=1 $(IIOD_FLAGS) $(INCLUDES)

SRCS = $(shell find . $(SKIPDIR) -name '*.c')
OBJS = $(SRCS:.c=.o)
Expand Down