Skip to content

Commit

Permalink
Merge pull request #3 from YuzukiHD/v0.2.1
Browse files Browse the repository at this point in the history
[pre merge] fix Xuantie Toolchain mcpu
  • Loading branch information
YuzukiTsuru committed Dec 25, 2023
2 parents 66ced8a + 56e5f1a commit 3d3b872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CMake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: CMake Build Test

on:
push:
branches: [ "main", "v0.2.0" ]
branches: [ "main", "v0.2.*" ]
pull_request:
branches: [ "main", "v0.2.0" ]
branches: [ "main", "v0.2.*" ]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/load_c906/c906_firmware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CMAKE_CXX_COMPILER "${RISCV_ROOT_PATH}/bin/riscv64-unknown-linux-gnu-g++")

set(CMAKE_SYSROOT "${RISCV_ROOT_PATH}/sysroot")

set(CMAKE_COMMON_FLAGS "-march=rv64gvxthead -mabi=lp64d -mcmodel=medany -fno-stack-protector")
set(CMAKE_COMMON_FLAGS "-mcpu=c906fdv -mcmodel=medany -fno-stack-protector")
set(CMAKE_DISABLE_WARN_FLAGS "-Wint-to-pointer-cast -Wimplicit-function-declaration")

set(CMAKE_C_FLAGS "${CMAKE_DISABLE_WARN_FLAGS} ${CMAKE_C_FLAGS} ${CMAKE_COMMON_FLAGS}" CACHE STRING "c flags")
Expand Down

0 comments on commit 3d3b872

Please sign in to comment.