Code Monkey home page Code Monkey logo

tellstick-net's Introduction

This is the source for the firmware for TellStick Net.
The firmware must be compiled on a Linux machine.

Prerequisites
-------------

The following software is required to build the firmware for TellStick Net.

* Hi-Tech C Pro for the PIC18 MCU Family, version 9.66 or later.
  The version 9.80 seems to be incompatible with the TCP/IP stack. Use an earlier version
	until this is resolved (read more: http://developer.telldus.com/ticket/206).
  http://www.htsoft.com

* CMake version 2.8.0 or later
  http://www.cmake.org

* Git
  http://git-scm.com

* atftp (for automatic firmware uploading)
  ftp://ftp.mamalinux.com/pub/atftp/

Prepare the source
------------------

Check out the source from the Telldus repository. We use submodules so
they must also be initialized.

  git clone http://git.telldus.com/tellstick-net.git
	cd tellstick-net
	git submodule init
	git submodule update

Compile the source
------------------

We recommend you do an "out of source" build. Create a folder and
initiate a cmake build cache in it.

  mkdir build
	cd build
	cmake ../firmware -DPICC18_PATH=<path to picc18> -DDEBUG=n -DDEVICE_ADDRESS=<ip address for TellStick Net>

Now build the source.
  make

The buildscript automatically uploads the new firmware to the device after a successful build.
If you don't need the automatic upload function, pass -DDO_BOOTLOADING_OVER_TCPIP=n when initiating
the CMake cache.

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.