rnayabed / taurus Goto Github PK
View Code? Open in Web Editor NEWSDK for CDAC Vega Processors
License: MIT License
SDK for CDAC Vega Processors
License: MIT License
I am trying to build your example projects. I was able to build the SDK files after after running the setup.bat
script. The taurus source is located on C:/Apps/taurus
in my system with the build files written to C:/Apps/taurus/build
.
However, building the project fails with the following message.
PS D:\Code\VEGA\taurus-examples\gpio\led_toggle> cmake -B build -G Ninja
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findtaurus.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "taurus", but
CMake did not find one.
Could not find a package configuration file provided by "taurus" (requested
version 0.1) with any of the following names:
taurusConfig.cmake
taurus-config.cmake
Add the installation prefix of "taurus" to CMAKE_PREFIX_PATH or set
"taurus_DIR" to a directory containing one of the above files. If "taurus"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
Following is the CMake file used for the project.
cmake_minimum_required(VERSION 3.16)
list(APPEND CMAKE_PREFIX_PATH "C:/Apps/taurus")
find_package(taurus 0.1 REQUIRED)
project(led_toggle
LANGUAGES C)
add_executable(${PROJECT_NAME}
led_toggle.c)
target_link_libraries(${PROJECT_NAME}
PRIVATE taurus::taurus)
# configure_taurus_uploader(
# START_AFTER_UPLOAD
# TARGET_PATH /dev/ttyUSB0)
As you can see, I have added the CMKAE_PREFIX_PATH to the path where to taurus is located in my system. The build will also fail without it. I also changed the taurus package version to 0.1 from 1.0.
The project is located in D:\Code\VEGA\taurus-examples\gpio\led_toggle
.
I have Ninja and CMake installed on my Windows 11 64-bit OS.
On Windows 11,
D:\taurus-source(1)>setup.bat --target-triplet riscv64-unknown-elf --target-board ARIES_V2
***** *****
**** ****
**** ****
***** *****
************
**************
*** ***
*** ***
*** ***
*** ***
***** *****
*********
Taurus SDK - 0.1
Website
https://github.com/rnayabed/taurus.git
To know full list of changes compared to the original SDK,
please visit
https://github.com/rnayabed/taurus/blob/master/README.md#comparison-with-official-sdk
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
Full license can be found in the 'LICENSE' file provided with the SDK.
The license can also be viewed by visiting https://github.com/rnayabed/taurus/blob/master/LICENSE
//build" -S "D:/taurus-source(1)/" -G "Ninja" -DCMAKE_BUILD_TYPE=Debug -DTAURUS_TARGET_TRIPLET=riscv64-unknown-elf -DTAURUS_TARGET_BOARD=ARIES_V2 " was unexpected at this time.
Issue gets fixed if path does not contain parenthesis.
Hi I was unable to compile the source code. Following is the error
I have used the tool chain provided in the README link
[ 7%] Building ASM object CMakeFiles/taurus.dir/common/crt.S.obj
/home/vasanthbalguri/practice/taurus/common/crt.S: Assembler messages:
/home/vasanthbalguri/practice/taurus/common/crt.S:132: Error: unrecognized opcodecsrw mtvec,t0', extension
zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:146: Error: unrecognized opcodecsrr a0,mhartid', extension
zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:205: Error: unrecognized opcodecsrr a0,mcause', extension
zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:206: Error: unrecognized opcodecsrr a1,mepc', extension
zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:209: Error: unrecognized opcodecsrw mepc,a0', extension
zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:213: Error: unrecognized opcodecsrs mstatus,t0', extension
zicsr' required
gmake[2]: *** [CMakeFiles/taurus.dir/build.make:75: CMakeFiles/taurus.dir/common/crt.S.obj] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/taurus.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
Please let me know how to proceed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.