Monochron firmware compilation error

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

Monochron firmware compilation error

Postby cipicip » Fri Sep 07, 2012 7:24 pm

Hi guys,

I'm trying to install a new firmware on the Monochron clock that I recently purchased and the firmware either won't compile (IntruderChron, RATTchron) or, if I use the one already compiled or manage to compile it myself (Multichron), the screen goes black and the clock beeps continously. However I can re-install the standard already compiled firmware I found on your forum without any trouble.

When compiling I'm getting this error:
Code: Select all
In file included from ratt.c:3:0:
/usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h: In function ‘beep’:
/usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:153:28: error: __builtin_avr_delay_cycles expects an integer constant.


The funny thing is that I have already used that header in other projects without any worries.

Is there somewhere a repository from where I can download all the alternative firmwares already compiled and that have been tested to work?

Thanks.
cipicip
 
Posts: 2
Joined: Fri Sep 07, 2012 7:02 pm


Re: Monochron firmware compilation error

Postby cipicip » Sat Sep 08, 2012 11:24 am

adafruit_support wrote:Some of the user mod repositories include the compiled .hex files - like CaitSith's MultiChron: https://github.com/CaitSith2/monochron/tree/MultiChron/firmware


And if I upload that one the screen goes black and the clock beeps - probably is constantly resetting itself. Can anyone confirm that that firmware is in good working order and not broken? I tried recompiling it but it's the same story: the screen goes dark and starts beeping. On the plus side, at least this firmware could be compiled without any errors.

So far I can only upload the precompiled standard firmware and the XDaliClock one (again, the precompiled version) without any problems.
cipicip
 
Posts: 2
Joined: Fri Sep 07, 2012 7:02 pm


Return to Clocks

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[24]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]