Coder Social home page Coder Social logo

freedom-devicetree-tools's Introduction

Device Tree Tools for the Freedom SDK

This project contains a handful of tools that are designed to aid embedded software developers to generate statically parameterized designs from Freedom platform device trees. Help for the various tools can be found by passing the --help argument, to the tool once they have been built.

If you're interested in using the tools then it's probably best to check out the Freedom SDK, which uses these tools to parameterize the Freedom METAL for the various targets that it can support.

As a quick overview, here are the tools that are installed as part of this project:

  • freedom-ldscript-generator: Generates linker scripts that are compatible with the Freedom METAL from a device tree.
  • freedom-makeattributes-generator: Generates Makefile attributes (CFLAGS, LDFLAGS, etc) from a device tree.
  • freedom-mee_header-generator: Generates a METAL header parameterization file, which allows the METAL to target the device described by the given device tree.
  • freedom-openocdcfg-generator: Generates an OpenOCD configuration file from a device tree.
  • freedom-zephyrdtsfixup-generator: Generates a dts.fixup configuration file from a device tree. This is a temporary requirement of the Zephyr RTOS project to support DTS-based driver configuration.

How to Build

If you're just planning on using this project then you should use the latest tarball release, which is always available from the GitHub releases page. Builds are uploaded from Travis after they succeed.

Ubuntu 16.04 LTS

The following packages are necessary to build from a tarball

  • build-essential
  • libfdt-dev
  • device-tree-compiler

Additionally, the following packages are necessary to build from git sources:

  • autoconf
  • automake
  • git

freedom-devicetree-tools's People

Contributors

albertchen-sifive avatar bradseevers avatar bsousi5 avatar cgsfv avatar e-puerto avatar hcook avatar jerryshih avatar kayeoc279 avatar keith-packard avatar kito-cheng avatar mmicko avatar mmjconolly avatar nandkumarjoshi avatar nategraff-sifive avatar palmer-dabbelt avatar paul-walmsley-sifive avatar phmoussay avatar reclusejack avatar richardxia avatar sifive-eblot avatar sifivekevin avatar terpstra avatar zongbox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freedom-devicetree-tools's Issues

Allow the user to target specific memories

We have the --scratchpad argument, but that's not particularly general because lots of systems are more complicated than just having a single memory. We should really allow users to pick the memory they want to target for various segments, as well as a tool to list what memories are available.

Heap size count is wrong in generated linker script

The generated heap info:
.heap : {
PROVIDE( metal_segment_heap_target_start = . );
. = __heap_size;
PROVIDE( metal_segment_heap_target_end = . );
PROVIDE( _heap_end = . );

Which should be
. += __heap_size;

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.