Giter Club home page Giter Club logo

lx106-hal's Introduction

Hardware Abstraction Library for Xtensa LX106

2014-11-13

This is the libhal part of the SDK.

Requirements

The following things are assumed to be true before you start:

  • You have GNU autotools installed.
  • You have a cross-compiler in ~/x-tools/xtensa-lx106-elf/bin.
  • The programs in ~/x-tools/xtensa-lx106-elf/bin are all prefixed with xtensa-lx106-elf-, so adding the directory to $PATH will not interfere with other programs.

Building

To build, install a cross-compiler for Xtensa LX106, e.g. using crosstool-NG. Then run

autoreconf -i
PATH=~/x-tools/xtensa-lx106-elf/bin:$PATH
mkdir build
cd build
../configure --host=xtensa-lx106-elf
make

License

Distributed under the MIT license. See the LICENSE file.

lx106-hal's People

Contributors

hebnern avatar olaf-mandel avatar tommie 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  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

lx106-hal's Issues

Issues with code drop

There're couple of issues with the code import:

  1. Files have mix of proper (LF) and improper (CRLF) line-endings. This makes it hard to work with the sources under Unix. Yes, that's how it was in original Tensilica stuff, but everyone knows that vendor code sucks, and real open source makes it better, even by fixing broken line-endings.
  2. (Single) commit message claims it's code from Tensilica/Cadence RC-2010.1 release. But that's clearly not true. Their code did not contain autoconf stuff and claims of copyright by "The ESP8266 Community".

Build fails due to unescaped bracket error on WSL

Not sure if this is a problem in error/warning handling in .configuration, automake or make file, but during installation, it exists while writing to PATH if PATH previously added contains folders names with brackets (). This is true for WSL as windows directories contains (x86) and added to PATH

Autoconf stuff doesn't work

Why it's needed at all? So complicated to compile a handful of files?

$ automake --add-missing
configure.ac:9: error: required directory ./build-aux does not exist
configure.ac:19: error: installing 'build-aux/compile'; error while making link: No such file or directory
configure.ac:14: error: installing 'build-aux/config.guess'; error while making link: No such file or directory
configure.ac:14: error: installing 'build-aux/config.sub'; error while making link: No such file or directory
configure.ac:10: error: installing 'build-aux/install-sh'; error while making link: No such file or directory
configure.ac:10: error: installing 'build-aux/missing'; error while making link: No such file or directory
configure.ac:12: error: required file 'src/config.h.in' not found
src/Makefile.am: error: installing 'build-aux/depcomp'; error while making link: No such file or directory

After mkdir build-aux:

configure.ac:12: error: required file 'src/config.h.in' not found

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.