1
0
forked from me/IronOS
Files
IronOS/source/Core/BSP/Pine64/Model_Config.h
Ben V. Brown 2425902fbc Hotfix: BMA Accel wedges I2C if probed too fast after boot
Only an issue on Pinecil as it boots much faster than Miniware units.
2021-01-17 20:13:02 +11:00

33 lines
572 B
C

/*
* Model_Config.h
*
* Created on: 25 Jul 2020
* Author: Ralim
*/
#ifndef BSP_PINE64_MODEL_CONFIG_H_
#define BSP_PINE64_MODEL_CONFIG_H_
/*
* Lookup for mapping features <-> Models
*/
#if defined(MODEL_Pinecil) == 0
#error "No model defined!"
#endif
#ifdef MODEL_Pinecil
#define POW_PD
#define POW_QC
#define POW_DC
#define POW_QC_20V
#define ENABLE_QC2
#define TEMP_TMP36
#define ACCEL_BMA
#define ACCEL_SC7
#define HALL_SENSOR
#define HALL_SI7210
#define BATTFILTERDEPTH 32
#endif
#endif /* BSP_PINE64_MODEL_CONFIG_H_ */