mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-27 02:40:00 +08:00
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:
1 parent
0b2e35ab93
commit
479acdb47e
9 files changed
+148
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user