File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3030 steps :
3131 - uses : actions/checkout@v6
3232 - name : Install packages
33- run : tools/ci.sh stm32_setup
33+ run : tools/ci.sh stm32_setup && tools/ci.sh stm32_path >> $GITHUB_PATH
3434 - name : Build ci_${{matrix.ci_func }}
3535 run : tools/ci.sh ${{ matrix.ci_func }}
3636
Original file line number Diff line number Diff line change @@ -494,12 +494,19 @@ function ci_samd_build {
494494# ports/stm32
495495
496496function ci_stm32_setup {
497- ci_gcc_arm_setup
497+ # Use a recent version of the ARM toolchain, to work with Cortex-M55.
498+ wget https://developer.arm.com/-/media/Files/downloads/gnu/14.3.rel1/binrel/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi.tar.xz
499+ xzcat arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi.tar.xz | tar x
500+
498501 pip3 install pyelftools
499502 pip3 install ar
500503 pip3 install pyhy
501504}
502505
506+ function ci_stm32_path {
507+ echo $( pwd) /arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi/bin
508+ }
509+
503510function ci_stm32_pyb_build {
504511 make ${MAKEOPTS} -C mpy-cross
505512 make ${MAKEOPTS} -C ports/stm32 MICROPY_PY_NETWORK_WIZNET5K=5200 submodules
You can’t perform that action at this time.
0 commit comments