Add picolib support to bsp/x86, default to newlib

- add i686-atxhua-picolib-elf-gcc toolchain
    - add picolib option to bsp/x86
    - add necessary picolib require library
This commit is contained in:
atxhua authored and Rbb666 committed 2026-05-25 09:51:06 +08:00
1 parent 0b2e35ab93
commit 479acdb47e
9 files changed
+148

No files matched your search

+8
View File
@@ -36,6 +36,7 @@ on:
- "gcc"
- "sourcery-riscv32-esp32"
- "i686-x86-newlib"
- "i686-x86-picolib"
bsp_config:
description: 'Type a config you want mannual test in .config, like: CONFIG_RT_USING_DEBUG=y,CONFIG_RT_DEBUGING_COLOR=y,CONFIG_RT_DEBUGING_CONTEXT=y'
required: false
@@ -135,6 +136,13 @@ jobs:
echo "RTT_EXEC_PATH=/opt/i686-atxhua-newlib-elf-gcc/bin" >> $GITHUB_ENV
echo "RTT_CC_PREFIX=i686-atxhua-newlib-elf-" >> $GITHUB_ENV
- name: Install i686 X86 Picolib ToolChains
if: ${{ github.event.inputs.bsp_tool_chain == 'i686-x86-picolib' && success() }}
run: |
source tools/ci/toolchain.sh i686-atxhua-picolib-elf-gcc
echo "RTT_EXEC_PATH=/opt/i686-atxhua-picolib-elf-gcc/bin" >> $GITHUB_ENV
echo "RTT_CC_PREFIX=i686-atxhua-picolib-elf-" >> $GITHUB_ENV
- name: Bsp Scons Compile
if: ${{ success() }}
shell: bash