From ac667d6a3e14750261b7a339f003dba83bf2ec7b Mon Sep 17 00:00:00 2001 From: Przemek Wirkus Date: Tue, 15 Jul 2014 10:02:48 +0100 Subject: [PATCH] Added SD card and EEPROM test pins for new Freescale K20D50M platform --- libraries/tests/mbed/i2c_eeprom/main.cpp | 3 +++ libraries/tests/mbed/i2c_eeprom_line/main.cpp | 3 +++ libraries/tests/mbed/sd/main.cpp | 3 +++ 3 files changed, 9 insertions(+) diff --git a/libraries/tests/mbed/i2c_eeprom/main.cpp b/libraries/tests/mbed/i2c_eeprom/main.cpp index 42181c6541..16ba2e1350 100644 --- a/libraries/tests/mbed/i2c_eeprom/main.cpp +++ b/libraries/tests/mbed/i2c_eeprom/main.cpp @@ -27,6 +27,9 @@ I2C i2c(PTC9, PTC8); #elif defined(TARGET_KL46Z) I2C i2c(PTC9, PTC8); +#elif defined(TARGET_K20D50M) +I2C i2c(PTB3, PTB2); + #elif defined(TARGET_LPC812) I2C i2c(P0_10, P0_11); diff --git a/libraries/tests/mbed/i2c_eeprom_line/main.cpp b/libraries/tests/mbed/i2c_eeprom_line/main.cpp index 0474a1ba17..d7a4246b26 100644 --- a/libraries/tests/mbed/i2c_eeprom_line/main.cpp +++ b/libraries/tests/mbed/i2c_eeprom_line/main.cpp @@ -36,6 +36,9 @@ I2C i2c(PTC9, PTC8); #elif defined(TARGET_KL46Z) I2C i2c(PTC9, PTC8); +#elif defined(TARGET_K20D50M) +I2C i2c(PTB3, PTB2); + #elif defined(TARGET_LPC812) I2C i2c(P0_10, P0_11); diff --git a/libraries/tests/mbed/sd/main.cpp b/libraries/tests/mbed/sd/main.cpp index 49735a1d38..c7660bf783 100644 --- a/libraries/tests/mbed/sd/main.cpp +++ b/libraries/tests/mbed/sd/main.cpp @@ -8,6 +8,9 @@ SDFileSystem sd(PTD2, PTD3, PTD1, PTD0, "sd"); #elif defined(TARGET_KL46Z) SDFileSystem sd(PTD6, PTD7, PTD5, PTD4, "sd"); +#elif defined(TARGET_K20D50M) +SDFileSystem sd(PTD2, PTD3, PTD1, PTC2, "sd"); + #elif defined(TARGET_nRF51822) SDFileSystem sd(p12, p13, p15, p14, "sd");