sha204-Breakout
sha204-Breakout copied to clipboard
unable to convert volatile uint8_t *device_port_DDR, *device_port_OUT, *device_port_IN;
I was getting the following error "unable to convert from uint32_t to uint8_t" when comparing on Arduino Studio for an ESP32 S3 MCU and using my own ESP32 libraries (see here ).
On sha204_library.cpp line 20 here:
device_port_DDR = portModeRegister(port);
To correct it , is required a change on sha204_library.h on line 287 in the private initialization of the class from
volatile uint8_t *device_port_DDR, *device_port_OUT, *device_port_IN;
to
volatile uint32_t *device_port_DDR, *device_port_OUT, *device_port_IN;