Skip to content

Commit 7ddbc52

Browse files
authored
Use latest gcc-arm-none-eabi
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
1 parent 74258a1 commit 7ddbc52

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

.github/workflows/pico-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ concurrency:
3333

3434
jobs:
3535
pico:
36-
runs-on: ubuntu-22.04
36+
runs-on: ubuntu-24.04
3737
strategy:
3838
matrix:
3939
board: ["pico", "pico_w", "pico2"]

.github/workflows/stm32-build.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ jobs:
4444
https://repo.hex.pm
4545
https://cdn.jsdelivr.net/hex
4646
47-
- name: Install arm-embedded toolchain
48-
if: ${{ steps.builddeps-cache.outputs.cache-hit != 'true' }}
49-
working-directory: /home/runner
50-
run: |
51-
set -euo pipefail
52-
cd /home/runner
53-
wget https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz \
54-
--output-document=$RUNNER_TEMP/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz
55-
tar xJf $RUNNER_TEMP/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz
56-
pwd && ls
57-
5847
- name: Checkout and build libopencm3
5948
if: ${{ steps.builddeps-cache.outputs.cache-hit != 'true' }}
6049
working-directory: /home/runner
@@ -71,7 +60,7 @@ jobs:
7160
run: sudo apt update
7261

7362
- name: "Install deps"
74-
run: sudo apt install -y cmake gperf
63+
run: sudo apt install -y cmake gperf gcc-arm-none-eabi
7564

7665
- name: Checkout repo
7766
uses: actions/checkout@v4

src/libAtomVM/term.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#ifndef _TERM_H_
2929
#define _TERM_H_
3030

31+
#include <sys/types.h>
32+
3133
#include <stdbool.h>
3234
#include <stdint.h>
3335
#include <stdio.h>

0 commit comments

Comments
 (0)