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.
Diff: eeprom_cust.h
- Revision:
- 9:486f65124378
- Parent:
- 7:e0c7e624c5fa
- Child:
- 11:8702316d7fc8
--- a/eeprom_cust.h Sat Mar 23 09:18:03 2019 +0000 +++ b/eeprom_cust.h Sat Apr 06 04:06:53 2019 +0000 @@ -1,7 +1,13 @@ #define EEPROM_ADDR 0x0 // I2c EEPROM address is 0x00 - +#ifdef STM32F207xx #define SDA PB_9 // I2C SDA pin #define SCL PB_8 // I2C SCL pin +#endif + +#ifdef STM32F303xE +#define SDA PF_0 // I2C SDA pin +#define SCL PF_1 // I2C SCL pin +#endif #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) #define MAX(X,Y) ((X) > (Y) ? (X) : (Y)) \ No newline at end of file