samples: Add arm-picolibc-default

The rmprofile with picolibc produces many multilib combinations which
causes the free tier github action runners to run out of disk space.
Add a picolibc sample that only enables the default multilib so we can
still get some coverage for picolibc in the CI builds.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2023-06-11 12:22:48 +12:00
parent 227d99d7f3
commit 91ed31ec04
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,13 @@
CT_CONFIG_VERSION="4"
CT_EXPERIMENTAL=y
CT_ARCH_ARM=y
CT_MULTILIB=y
CT_TARGET_CFLAGS="-ftls-model=local-exec"
CT_TARGET_VENDOR="picolibc"
CT_LIBC_PICOLIBC=y
CT_LIBC_PICOLIBC_DEFAULT_FLASH_ADDR="0x00000000"
CT_LIBC_PICOLIBC_DEFAULT_FLASH_SIZE="0x00400000"
CT_LIBC_PICOLIBC_DEFAULT_RAM_SIZE="0x00200000"
CT_CC_GCC_MULTILIB_LIST="default"
CT_CC_GCC_CONFIG_TLS=y
CT_CC_LANG_CXX=y

View File

@ -0,0 +1,3 @@
reporter_name="Chris Packham"
reporter_url="http://crosstool-ng.org/"
reporter_comment="Sample for CI builds. Uses fewer multilib combinations than arm-picolibc-eabi"