Bitcoin Forum

Other => Beginners & Help => Topic started by: adamada on December 02, 2013, 02:42:08 AM



Title: First post to BitcoinTalk — Question about compiling Jalapeño source code
Post by: adamada on December 02, 2013, 02:42:08 AM
Hello everyone,

So I have ordered an Atmel AVR Dragon programmer and a JTAG cable in order to upgrade the firmware on my Butterfly Labs Jalapeño to version 1.2.9. I have installed Atmel Studio 6.1, but before I compile the source code, I need to know something about the compiler directives in std_defs.h. Under the section operating frequency, which line should I un-comment? Should I just keep it as the default, which is the following?

Code:
/*************** Operating Frequency ******************/
//#define __OPERATING_FREQUENCY_16MHz__
#define __OPERATING_FREQUENCY_32MHz__
//#define __OPERATING_FREQUENCY_48MHz__
//#define __OPERATING_FREQUENCY_64MHz__

Or, does anyone have a pre-compiled version 1.2.x .hex file that I can flash onto my Jalapeño?

I am hoping to get a response to this, or otherwise get out of the newbie jail. Thank you.