Skip to content

anderssynstad/tellstick-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.63PL3 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.

About

The firmware for Telldus TellStick Net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.2%
  • C++ 10.8%
  • Python 3.1%
  • CMake 2.6%
  • Objective-C 2.3%