Skip to content

Issue with ESP8266 #39

@fernass

Description

@fernass

Hi guys,
I'm using the SerialTransfer lib in order to send data from an ESP8266 (NodeMCU Lua Amica Modul V2 ESP8266 ESP-12F) to an Arduino Mega2560. Both sketches, for ESP8266 and Arduino are written and uploaded with the Arduino IDE (version 1.8.13).
Up to version 2.1.2 the attached code for the ESP8266 module compiled, linked and worked fine. After updating the library to 3.0.3 (I tried also all the versions in between) the code doesn't compile anymore and exits with the error message:

D:\Dokumente\Arduino\libraries\SerialTransfer\src\SPITransfer.cpp: In member function 'uint8_t SPITransfer::available()':
D:\Dokumente\Arduino\libraries\SerialTransfer\src\SPITransfer.cpp:119:29: error: 'SPDR' was not declared in this scope
volatile uint8_t recChar = SPDR;

Is this issue known? Does the current version 3.0.0 and above not support the ESP8266 modules anymore?

By the way: version 3.0.3 works also with the Arduino.

Best regards
Fernass

WiFiClient_OpenWeatherMap.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions