Skip to content

Commit

Permalink
Disable newlib syscalls for baremetal target
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 authored and luismarques committed Apr 30, 2024
1 parent 74c77a8 commit 482ead1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lowrisc-toolchain-gcc-rv32imc.config
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@ CT_GCC_DEVEL_VCS_git=y
CT_GCC_DEVEL_URL="https://gcc.gnu.org/git/gcc.git"
CT_GCC_DEVEL_REVISION="ee5c3db6c5b2c3332912fb4c9cfa2864569ebd9a"

# This is a baremetal target so don't use syscalls.
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y

# The build script appends a definition of CT_LOCAL_PATCH_DIR down here, that
# points to the repo's patch directory.
3 changes: 3 additions & 0 deletions lowrisc-toolchain-gcc-rv32imcb.config
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,8 @@ CT_GCC_DEVEL_VCS_git=y
CT_GCC_DEVEL_URL="https://github.com/riscv-collab/riscv-gcc"
CT_GCC_DEVEL_REVISION="73055647d33c0b63a3125c372019d1dac0f8ac34"

# This is a baremetal target so don't use syscalls.
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y

# The build script appends a definition of CT_LOCAL_PATCH_DIR down here, that
# points to the repo's patch directory.

0 comments on commit 482ead1

Please sign in to comment.