Skip to content

Commit e87df72

Browse files
authored
Merge pull request #75 from danielinux/up_m33mu_1.8
Update CI to m33mu 1.8, remove jump-table workaround
2 parents 99ff48d + a57f942 commit e87df72

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/stm32h563-m33mu.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 20
1313
container:
14-
image: ghcr.io/danielinux/m33mu-ci:1.7
14+
image: ghcr.io/danielinux/m33mu-ci:1.8
1515
options: --privileged
1616

1717
steps:
@@ -114,7 +114,7 @@ jobs:
114114
runs-on: ubuntu-latest
115115
timeout-minutes: 30
116116
container:
117-
image: ghcr.io/danielinux/m33mu-ci:1.7
117+
image: ghcr.io/danielinux/m33mu-ci:1.8
118118
options: --privileged
119119

120120
steps:
@@ -142,7 +142,6 @@ jobs:
142142
WOLFSSL_ROOT=../../../../wolfssl \
143143
ENABLE_HTTPS=1 ENABLE_MQTT_BROKER=1 ENABLE_SSH=1 \
144144
WOLFSSL_SP_NO_ASM=1 \
145-
EXTRA_CFLAGS_WOLFSSL='-fno-jump-tables -fno-tree-switch-conversion' \
146145
CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy
147146
148147
- name: Run m33mu + DHCP + full test
@@ -324,7 +323,7 @@ jobs:
324323
runs-on: ubuntu-latest
325324
timeout-minutes: 25
326325
container:
327-
image: ghcr.io/danielinux/m33mu-ci:1.7
326+
image: ghcr.io/danielinux/m33mu-ci:1.8
328327
options: --privileged
329328

330329
steps:
@@ -348,11 +347,9 @@ jobs:
348347
set -euo pipefail
349348
make -C src/port/stm32h563 clean TZEN=0 ENABLE_HTTPS=1 \
350349
WOLFSSL_SP_NO_ASM=1 \
351-
EXTRA_CFLAGS_WOLFSSL='-fno-jump-tables -fno-tree-switch-conversion' \
352350
CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy
353351
make -C src/port/stm32h563 TZEN=0 ENABLE_HTTPS=1 \
354352
WOLFSSL_SP_NO_ASM=1 \
355-
EXTRA_CFLAGS_WOLFSSL='-fno-jump-tables -fno-tree-switch-conversion' \
356353
CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy
357354
strings src/port/stm32h563/app.bin | grep "Initializing HTTPS server" > /dev/null
358355

tools/scripts/run-m33mu-ci-in-container.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,16 @@ build_full() {
5050
WOLFSSL_ROOT=../../../../wolfssl \
5151
ENABLE_HTTPS=1 ENABLE_MQTT_BROKER=1 ENABLE_SSH=1 \
5252
WOLFSSL_SP_NO_ASM=1 \
53-
EXTRA_CFLAGS_WOLFSSL='-fno-jump-tables -fno-tree-switch-conversion' \
5453
CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy
5554
}
5655

5756
build_https_tls13() {
5857
ensure_repo wolfssl https://github.com/wolfSSL/wolfssl.git
5958
make -C src/port/stm32h563 clean TZEN=0 ENABLE_HTTPS=1 \
6059
WOLFSSL_SP_NO_ASM=1 \
61-
EXTRA_CFLAGS_WOLFSSL='-fno-jump-tables -fno-tree-switch-conversion' \
6260
CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy
6361
make -C src/port/stm32h563 TZEN=0 ENABLE_HTTPS=1 \
6462
WOLFSSL_SP_NO_ASM=1 \
65-
EXTRA_CFLAGS_WOLFSSL='-fno-jump-tables -fno-tree-switch-conversion' \
6663
CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy
6764
strings src/port/stm32h563/app.bin | grep -q "Initializing HTTPS server"
6865
}
@@ -72,7 +69,6 @@ build_ssh_tzen() {
7269
ensure_repo wolfssh https://github.com/wolfSSL/wolfssh.git
7370
make -C src/port/stm32h563 clean
7471
make -C src/port/stm32h563 TZEN=0 ENABLE_SSH=1 \
75-
EXTRA_CFLAGS_WOLFSSL='-fno-jump-tables -fno-tree-switch-conversion' \
7672
CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy
7773
strings src/port/stm32h563/app.bin | grep -q "Initializing SSH server"
7874
}

0 commit comments

Comments
 (0)