Tree [ef24a5] master /
 History



File Date Author Commit
 bluerobin 2010-07-25 Pavel Pavel [a77031] Merge branch 'master' of http://github.com/poel...
 contrib 2012-08-04 Pavel Pavel [ef24a5] Copy read_sync and 10fmenu from /data/chronos/O...
 driver 2010-08-14 Pavel Pavel [5d15a0] Make it compile for watch, too.
 emu 2011-02-06 Pavel Pavel [ae72d1] Switch emulator to new images
 gcc 2010-07-25 Pavel Pavel [a77031] Merge branch 'master' of http://github.com/poel...
 include 2012-06-09 Pavel Pavel [da0700] Add mode where presure is displayed in kPa
 logic 2012-06-09 Pavel Pavel [da0700] Add mode where presure is displayed in kPa
 picture 2012-06-09 Pavel Pavel [da0700] Add mode where presure is displayed in kPa
 simpliciti 2010-07-25 Pavel Pavel [a77031] Merge branch 'master' of http://github.com/poel...
 tools 2010-07-30 Pavel Pavel [00e8a1] Merge branch 'emu' of git://github.com/poelzi/O...
 .gitignore 2010-07-18 Eric Allen Eric Allen [a35c63] Ignore build output
 NEWS 2010-06-22 Daniel Poelzleithner Daniel Poelzleithner [b85d8d] new docs
 README 2011-01-10 Pavel Pavel [8a52fa] Description how to use emulator
 README.linux 2010-08-02 Pavel Pavel [ba7a1b] HOWTO do development on linux.
 TODO 2010-07-25 Pavel Pavel [a77031] Merge branch 'master' of http://github.com/poel...
 config.h 2010-08-02 Pavel Pavel [94275f] More reasonable config, fix display clearing.
 even_in_range.s 2010-07-25 Pavel Pavel [a77031] Merge branch 'master' of http://github.com/poel...
 ez430_chronos.ewd 2010-07-10 Daniel Poelzleithner Daniel Poelzleithner [d39ef8] readd bluerobin code
 ez430_chronos.ewp 2010-07-10 Daniel Poelzleithner Daniel Poelzleithner [d39ef8] readd bluerobin code
 ezchronos.c 2010-08-12 Pavel Pavel [40b9c6] Fix up display clearing a bit.
 makefile 2011-01-12 Pavel Pavel [ef221b] Background loading works
 run.sdl 2011-01-16 Pavel Pavel [864f31] Fix battery icon, add run script

Read Me

== Status ==

Works, but in development :-)

== Requirements ==

msp430-gcc4 http://mspgcc4.sourceforge.net/
make
python http://python.org

== Supported Compilers ==

msp430-gcc4
IAR msp430

Patches for more (more efficient) compilers are welcome :-)


== HOWTO ==

Copy gcc/intrinsics.h into [msp430-gcc-path]/msp430/include/intrinsics.h

To configure your image, run:

   make config

which will generate a config.h file that contains the settings for your build.

To compile the image run:

   make


It is HIGHLY suggested to make a clean build before you flash the image with:

   make clean main

== Problems ==

 * Compile / Link problems:
   If you get error messages like this one:

     msp430/bin/ld: build/eZChronos.elf section `.text' will not fit in region `text'
     .../msp430/bin/ld: section .vectors loaded at [000000000000ff80,000000000000ffff] overlaps section .text loaded at [0000000000008000,0000000000013343]
     .../msp430/bin/ld: region `text' overflowed by 13250 bytes
     collect2: ld returned 1 exit status

    or
     
     section .vectors loaded at [0000ff80,0000ffff] overlaps section .data loaded at [0000ff4e,0000ffcb]

   Your image is simply to large and will not fit into the flash. Try to disable some modules with make config and try again
   Or even better, send some patches that reduce code size ;-)

== Difference to the TI Firmware ==

 * More Features that can be configured with make config
 * Day of week
 * Disable 12h support (saves space)
 * Sleep Phase Clock - primary designed for http://github.com/poelzi/uberclock
 * The wireless flashing starts differently:
   Select RFBSL, Press DOWN to unlock, Press # long to start
 * No BlueRobin support. BlueRobin is a closed source binary blob.
   We don't have a compatible object file for that
 * Pressing STAR and UP long sets silent mode (no beep)

== Usefull Tools ==
 * mspdebug - debugger, proxy for gdb, flasher, ...  
     http://mspdebug.sourceforge.net
 * msp430static - static analyzer for sourcecode
     http://msp430static.sourceforge.net/
   run 'make source_index' to index all source files

== EMULATOR ==

To prepare image for emulator, do

   make emu

followed by

   build/eZChronos.emu.elf