mirror of https://github.com/ARMmbed/mbed-os.git
Added MMA8451Q accelerometer test port for K20D50M platform
parent
da68637753
commit
1da17bd076
|
|
@ -5,6 +5,11 @@
|
|||
#ifdef TARGET_KL05Z
|
||||
#define SDA PTB4
|
||||
#define SCL PTB3
|
||||
|
||||
#elif TARGET_K20D50M
|
||||
#define SDA PTB1
|
||||
#define SCL PTB0
|
||||
|
||||
#else
|
||||
#define SDA PTE25
|
||||
#define SCL PTE24
|
||||
|
|
|
|||
|
|
@ -799,7 +799,7 @@ TESTS = [
|
|||
"id": "KL25Z_5", "description": "MMA8451Q accelerometer",
|
||||
"source_dir": join(TEST_DIR, "mbed", "i2c_MMA8451Q"),
|
||||
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'MMA8451Q')],
|
||||
"mcu": ["KL25Z", "KL05Z", "KL46Z"],
|
||||
"mcu": ["KL25Z", "KL05Z", "KL46Z", "K20D50M"],
|
||||
"automated": True,
|
||||
"duration": 15,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue