Skip to content
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

ESP32 support or examples #24

Open
debrucer opened this issue Apr 30, 2018 · 5 comments
Open

ESP32 support or examples #24

debrucer opened this issue Apr 30, 2018 · 5 comments

Comments

@debrucer
Copy link

Can you identify a reason for me that this library won't work on an ESP32? It was difficult to get the ESP32 boards to even show in the Arduino IDE, and now that they do, your useful library doesn't seem to work for it. Esp recommends that ESP32 devices be programmed in their environment, which must be why they make them so hard to access in the Arduino IDE.

Can you enlighten me as to why I am getting my failure, please?

Everything was okay until...

C:\Users\debrucer\Documents\Arduino\libraries\SoftTimer\src\Debouncer.h:32:25: fatal error: PciListener.h: No such file or directory

compilation terminated.

Using library SoftTimer at version 3.1.3 in folder: C:\Users\debrucer\Documents\Arduino\libraries\SoftTimer
exit status 1
Error compiling for board ESP32 Dev Module.

@prampec
Copy link
Owner

prampec commented Apr 30, 2018

Similar issues appeared when ESP8266 was introduced. I do own an ESP32, so I will check it.

@worldspawn
Copy link

I resolved this by installing the library "PciManager".

@stasyanok
Copy link

Similar issues appeared when ESP8266 was introduced. I do own an ESP32, so I will check it.

The same problem, pls check

@rushib1
Copy link

rushib1 commented Oct 13, 2020

any updates?

@noamyogev84
Copy link

does not compile on Arduino MKR Zero

In file included from C:\Users\nyogev\AppData\Local\arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:51:0,
from C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\SoftTimer.h:30,
from C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\FrequencyTask.cpp:27:
C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\FrequencyTask.cpp: In constructor 'FrequencyTask::FrequencyTask(int, float)':
C:\Users\nyogev\AppData\Local\arduino15\packages\arduino\hardware\samd\1.8.13\variants\mkrzero/variant.h:52:51: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
#define portOutputRegister(port) (&(port->OUT.reg))
^
C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\FrequencyTask.cpp:35:19: note: in expansion of macro 'portOutputRegister'
_portRegister = portOutputRegister(digitalPinToPort(outPin));
^~~~~~~~~~~~~~~~~~
In file included from C:\Users\nyogev\AppData\Local\arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:51:0,
from C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\BlinkTask.h:30,
from C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\BlinkTask.cpp:27:
C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\BlinkTask.cpp: In member function 'virtual void BlinkTask::init()':
C:\Users\nyogev\AppData\Local\arduino15\packages\arduino\hardware\samd\1.8.13\variants\mkrzero/variant.h:52:51: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
#define portOutputRegister(port) (&(port->OUT.reg))
^
C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\BlinkTask.cpp:46:25: note: in expansion of macro 'portOutputRegister'
this->_portRegister = portOutputRegister(digitalPinToPort(this->_outPin));
^~~~~~~~~~~~~~~~~~
In file included from C:\Users\nyogev\AppData\Local\arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:51:0,
from C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\SoftTimer.h:30,
from C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\SoftPwmTask.cpp:27:
C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\SoftPwmTask.cpp: In constructor 'SoftPwmTask::SoftPwmTask(int)':
C:\Users\nyogev\AppData\Local\arduino15\packages\arduino\hardware\samd\1.8.13\variants\mkrzero/variant.h:52:51: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
#define portOutputRegister(port) (&(port->OUT.reg))
^
C:\Users\nyogev\OneDrive - Intel Corporation\Documents\Arduino\libraries\SoftTimer\src\SoftPwmTask.cpp:39:19: note: in expansion of macro 'portOutputRegister'
_portRegister = portOutputRegister(digitalPinToPort(pin));
^~~~~~~~~~~~~~~~~~

exit status 1

Compilation error: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants