Skip to content

Commit ac667d6

Browse files
committed
Added SD card and EEPROM test pins for new Freescale K20D50M platform
1 parent 19bfb0e commit ac667d6

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

libraries/tests/mbed/i2c_eeprom/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ I2C i2c(PTC9, PTC8);
2727
#elif defined(TARGET_KL46Z)
2828
I2C i2c(PTC9, PTC8);
2929

30+
#elif defined(TARGET_K20D50M)
31+
I2C i2c(PTB3, PTB2);
32+
3033
#elif defined(TARGET_LPC812)
3134
I2C i2c(P0_10, P0_11);
3235

libraries/tests/mbed/i2c_eeprom_line/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ I2C i2c(PTC9, PTC8);
3636
#elif defined(TARGET_KL46Z)
3737
I2C i2c(PTC9, PTC8);
3838

39+
#elif defined(TARGET_K20D50M)
40+
I2C i2c(PTB3, PTB2);
41+
3942
#elif defined(TARGET_LPC812)
4043
I2C i2c(P0_10, P0_11);
4144

libraries/tests/mbed/sd/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ SDFileSystem sd(PTD2, PTD3, PTD1, PTD0, "sd");
88
#elif defined(TARGET_KL46Z)
99
SDFileSystem sd(PTD6, PTD7, PTD5, PTD4, "sd");
1010

11+
#elif defined(TARGET_K20D50M)
12+
SDFileSystem sd(PTD2, PTD3, PTD1, PTC2, "sd");
13+
1114
#elif defined(TARGET_nRF51822)
1215
SDFileSystem sd(p12, p13, p15, p14, "sd");
1316

0 commit comments

Comments
 (0)