Giter VIP home page Giter VIP logo

taurus's People

Contributors

abhra0897 avatar rnayabed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

taurus's Issues

Project Build Fails

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.

[Windows] Paths with parenthesis causes setup script to fail

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.

Unable to compile on Ubuntu 22.04

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 opcode csrw mtvec,t0', extension zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:146: Error: unrecognized opcode csrr a0,mhartid', extension zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:205: Error: unrecognized opcode csrr a0,mcause', extension zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:206: Error: unrecognized opcode csrr a1,mepc', extension zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:209: Error: unrecognized opcode csrw mepc,a0', extension zicsr' required
/home/vasanthbalguri/practice/taurus/common/crt.S:213: Error: unrecognized opcode csrs 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.