Skip to content

ESP32 support for M5Stack Core2 IoT EduKit #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ sentence=Arduino Library for the Atmel/Microchip ECC508 and ECC608 crypto chips
paragraph=
category=Communication
url=https://github.com/arduino-libraries/ArduinoECCX08
architectures=samd,megaavr,mbed,mbed_nano,mbed_portenta
architectures=samd,megaavr,mbed,mbed_nano,mbed_portenta,esp32
includes=ArduinoECCX08.h
6 changes: 6 additions & 0 deletions src/ECCX08.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ ECCX08Class::~ECCX08Class()
{
}

int ECCX08Class::begin(uint8_t i2cAddress)
{
_address = i2cAddress;
return begin();
}

int ECCX08Class::begin()
{
_wire->begin();
Expand Down
1 change: 1 addition & 0 deletions src/ECCX08.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ECCX08Class
virtual ~ECCX08Class();

int begin();
int begin(uint8_t i2cAddress);
void end();

int serialNumber(byte sn[]);
Expand Down