Zanduino / INA

Combined Arduino library for reading multiple INA2xx power monitor devices
GNU General Public License v3.0
158 stars 41 forks source link

EEPROM.h doesn't get loaded on STM32F1xx devices #49

Closed Steamerzone closed 4 years ago

Steamerzone commented 4 years ago

Hello,

EEPROM.h doesn't get loaded on STM32F1xx devices and errors out. (PlatformIO/maple buildcore)

Suggested change: 11 #if defined(AVR) || defined(ESP32) || defined(ESP8266) || defined(STM32F1)

Greetings, Emile

SV-Zanshin commented 4 years ago

Have you tried making that change and seeing if the library functions on the STM32F1 device? If so, I can add that to the list of known good implementations.

Steamerzone commented 4 years ago

After the change the library works correctly on the STM32F1 device using PlatformIO with the maple buildcore.

Thanks for a great library! Emile

SV-Zanshin commented 4 years ago

Implemented change