Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: example-battery-charger-bq24295 example-C030-out-of-box-demo example-C030-out-of-box-demo Amit
Revision 5:bb17656c9b9d, committed 2017-06-06
- Comitter:
- rob.meades@u-blox.com
- Date:
- Tue Jun 06 15:56:50 2017 +0100
- Parent:
- 4:26b46760481d
- Child:
- 6:79e747c6d094
- Commit message:
- Remove old UTM board pin-outs.
Changed in this revision
| TESTS/unit_tests/default/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/TESTS/unit_tests/default/main.cpp Tue Jun 06 13:08:46 2017 +0100 +++ b/TESTS/unit_tests/default/main.cpp Tue Jun 06 15:56:50 2017 +0100 @@ -33,26 +33,12 @@ #define NUM_RAND_ITERATIONS 50 #endif -#ifndef PIN_I2C_SDA -// Default for C030 board -#define PIN_I2C_SDA PC_9 -#endif - -#ifndef PIN_I2C_SDC -// Default for C030 board -#define PIN_I2C_SDC PA_8 -#endif - // ---------------------------------------------------------------- // PRIVATE VARIABLES // ---------------------------------------------------------------- -#ifdef TARGET_UBLOX_C027 -// This required only for UTM board -static DigitalOut gI2CPullUpBar(P1_1, 0); -#endif // I2C interface -I2C * gpI2C = new I2C(PIN_I2C_SDA, PIN_I2C_SDC); +I2C * gpI2C = new I2C(I2C_SDA_B, I2C_SCL_B); // ---------------------------------------------------------------- // TESTS