@@ -587,13 +587,10 @@ jobs:
587587 - name : update-tools
588588 run : |
589589 sudo apt update
590- wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
591- sudo apt install ./libtinfo5_6.3-2ubuntu0.1_amd64.deb
592- wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libncursesw5_6.3-2ubuntu0.1_amd64.deb
593- sudo apt install ./libncursesw5_6.3-2ubuntu0.1_amd64.deb
590+ sudo apt install libncurses5-dev
594591 mkdir -p emu_env && cd emu_env
595- wget --no-check-certificate https://developer.arm.com/-/media/Files/downloads/gnu/13 .3.rel1/binrel/arm-gnu-toolchain-13 .3.rel1-x86_64-arm-none-eabi.tar.xz
596- tar -xf arm-gnu-toolchain-13 .3.rel1-x86_64-arm-none-eabi.tar.xz
592+ wget --no-check-certificate 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
593+ tar -xf arm-gnu-toolchain-14 .3.rel1-x86_64-arm-none-eabi.tar.xz
597594 wget --no-check-certificate https://github.com/xpack-dev-tools/qemu-arm-xpack/releases/download/v8.2.6-1/xpack-qemu-arm-8.2.6-1-linux-x64.tar.gz
598595 tar -xzf xpack-qemu-arm-8.2.6-1-linux-x64.tar.gz
599596 working-directory : ./
@@ -603,13 +600,13 @@ jobs:
603600 string : ${{ matrix.example }}
604601 - name : build-example-stm32f429
605602 run : |
606- PATH="${{ runner.workspace }}/wide-integer/emu_env/arm-gnu-toolchain-13 .3.rel1-x86_64-arm-none-eabi/bin:$PATH"
603+ PATH="${{ runner.workspace }}/wide-integer/emu_env/arm-gnu-toolchain-14 .3.rel1-x86_64-arm-none-eabi/bin:$PATH"
607604 echo 'Query arm-none-eabi-g++ version'
608605 echo
609606 arm-none-eabi-g++ -v
610607 echo
611608 mkdir -p bin
612- arm-none-eabi-g++ -std=${{ matrix.standard }} -Werror -Wall -Wextra -Wpedantic -Wpedantic - Wconversion -Wsign-conversion -O1 -g -gdwarf-2 -ffunction-sections -fdata-sections -x c++ -fno-rtti -fno-use-cxa-atexit -fno-exceptions -fno-nonansi-builtins -fno-threadsafe-statics -fno-enforce-eh-specs -ftemplate-depth=32 -mcpu=cortex-m4 -mtune=cortex-m4 -mthumb -mfloat-abi=soft -mno-unaligned-access -mno-long-calls -I. -DWIDE_INTEGER_DISABLE_IOSTREAM -DWIDE_INTEGER_DISABLE_TO_STRING -DWIDE_INTEGER_DISABLE_TRIVIAL_COPY_AND_STD_LAYOUT_CHECKS -DWIDE_INTEGER_NAMESPACE=ckormanyos -DWIDE_INTEGER_STANDALONE_${{ steps.upcase_my_example.outputs.uppercase }} examples/${{ matrix.example }}.cpp ./target/micros/stm32f429/make/single/crt.cpp -nostartfiles -Wl,--gc-sections -Wl,-Map,./bin/${{ matrix.example }}.map -T ./target/micros/stm32f429/make/stm32f429.ld --specs=nano.specs --specs=nosys.specs -o ./bin/${{ matrix.example }}.elf
609+ arm-none-eabi-g++ -std=${{ matrix.standard }} -Werror -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -O1 -g -gdwarf-2 -ffunction-sections -fdata-sections -x c++ -fno-rtti -fno-use-cxa-atexit -fno-exceptions -fno-nonansi-builtins -fno-threadsafe-statics -fno-enforce-eh-specs -ftemplate-depth=32 -mcpu=cortex-m4 -mtune=cortex-m4 -mthumb -mfloat-abi=soft -mno-unaligned-access -mno-long-calls -I. -DWIDE_INTEGER_DISABLE_IOSTREAM -DWIDE_INTEGER_DISABLE_TO_STRING -DWIDE_INTEGER_DISABLE_TRIVIAL_COPY_AND_STD_LAYOUT_CHECKS -DWIDE_INTEGER_NAMESPACE=ckormanyos -DWIDE_INTEGER_STANDALONE_${{ steps.upcase_my_example.outputs.uppercase }} examples/${{ matrix.example }}.cpp ./target/micros/stm32f429/make/single/crt.cpp -nostartfiles -Wl,--gc-sections -Wl,-Map,./bin/${{ matrix.example }}.map -T ./target/micros/stm32f429/make/stm32f429.ld --specs=nano.specs --specs=nosys.specs -o ./bin/${{ matrix.example }}.elf
613610 arm-none-eabi-objcopy ./bin/${{ matrix.example }}.elf -O ihex ./bin/${{ matrix.example }}.hex
614611 ls -la ./bin/${{ matrix.example }}.elf ./bin/${{ matrix.example }}.hex ./bin/${{ matrix.example }}.map
615612 working-directory : ./
@@ -622,7 +619,7 @@ jobs:
622619 - name : run-test-on-target
623620 run : |
624621 sleep 2
625- PATH="${{ runner.workspace }}/wide-integer/emu_env/arm-gnu-toolchain-13 .3.rel1-x86_64-arm-none-eabi/bin:$PATH"
622+ PATH="${{ runner.workspace }}/wide-integer/emu_env/arm-gnu-toolchain-14 .3.rel1-x86_64-arm-none-eabi/bin:$PATH"
626623 echo 'Run test on target'
627624 echo
628625 arm-none-eabi-gdb ./bin/${{ matrix.example }}.elf -x ./target/build/test_examples_emulator.gdb > ./${{ matrix.example }}.txt
0 commit comments