pecanpico10/tracker/software/config.h

23 wiersze
925 B
C

#ifndef __CONFIG_H__
#define __CONFIG_H__
#define TRACE_TIME TRUE /* Enables time tracing on debugging port */
#define TRACE_FILE TRUE /* Enables file and line tracing on debugging port */
#define ACTIVATE_USB TRUE /* If set to true, the USB interface will be switched on. The tracker is also switched to
* 3V, because USB would not work at 1.8V. Note that the transmission power is increased
* too when operating at 3V. This option will also run the STM32 at 48MHz (AHB) permanently
* because USB needs that speed, otherwise it is running at 6MHz which saves a lot of power. */
#define ENABLE_EXTERNAL_I2C TRUE /* The external port can be used for bit bang I2C. */
#include "types.h"
#define CONFIG_MAGIC_DEFAULT 0x41583235
#define CONFIG_MAGIC_UPDATED 0x46583235
extern conf_t conf_sram;
extern const conf_t conf_flash_default;
#endif