config-defines.h
/**
* Conditional defines for camera internals and ML features.
*/
#ifndef _config_defines_h_
#define _config_defines_h_
/**
* Enable these for early ports
*/
/** Load fonts and print Hello World; will not start any other ML tasks, handlers etc. */
//~ #define CONFIG_HELLO_WORLD
/** Create a developer FIR for enabling the bootflag and dumping the ROM. */
//~ #define CONFIG_DUMPER_BOOTFLAG
/**
* Some common stuff - you can override them in platform files
*/
/** If something goes wrong (ERR70), we can save a crash log **/
#define CONFIG_CRASH_LOG
/** It's a good idea to back up ROM contents on the card - just in case **/
#define CONFIG_AUTOBACKUP_ROM
/** You may want to disable this for troubleshooting **/
#define CONFIG_CONFIG_FILE
/** Show detailed info about tasks and CPU usage */
#define CONFIG_TSKMON
/**
* Some debug stuff - you should enable it Makefile.user to avoid pushing unwanted changes to the repo
*/
/** This may help discovering some cool new stuff - http://magiclantern.wikia.com/wiki/Register_Map/Brute_Force **/
/** For developers only; can be dangerous **/
//~ #define CONFIG_DIGIC_POKE
/** A bunch of debug tools **/
//~ #define CONFIG_DEBUGMSG 1
/** Hack to see what memory regions were touched by Canon code and what seems to be unused */
/** warning: it will slow down boot by a few seconds */
//~ #define CONFIG_MARK_UNUSED_MEMORY_AT_STARTUP
/** What internals do we have on each camera? **/
#include "internals.h" // from platform directory
#include "internals-common.h"
/** What features are enabled on each camera? **/
#include "features.h" // from platform directory
#endif // _config_defines_h_