-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
airrohr-firmware does not compile for esp32 #787
Comments
It seems that it was disabled in 9ac3145 Does that mean that this project no longer intends to support ESP32? |
I was able to get the firmware working with ESP32 recently with a few small changes. The errors you posted above look like version/package issues to me (I hit entirely different errors, mostly at runtime). You might try compiling using PlatformIO + VS Code, it does a better job of managing dependencies than the Arduino IDE. |
ESP32 should be supported in the beta branch. please don'tr try the master branch |
@dirkmueller I had to make a few changes to beta to get ESP32 working (seen here). It looks like |
@peterhinson unfortunately that change was intentional, as on ESP8266 arduinocore the ntp sync callback isn't called after initial connect anymore if DHCP hands out a NTP server. so we need to call configTime() beforehand to tell core the fallback ntp servers, and then invoke DHCP (which updates ntp and calls ntp sync). if thats a fatal issue for esp32 we need to add a ifdef in the code unfortunately. |
@dirkmueller aye, I suspected there might be a good reason for the change. Unfortunately calling |
Hi,
Thanks |
Hello everyone, I am new to arduino and esp32. I have a similar situation. I am receiving the same error: .../freertos/queue.c:1442 (xQueueGenericReceive)- assert failed! I am not using the WiFi connection, but the GSM one. But I have no idea how to fix it. |
@ro85ac see the comment above from @peterhinson , he added some fixes in the beta branch. I did sort of the same fix on my copy based on what he recommended and it worked. btw I'm not sure I understand what you achieved with wifi and Azure since that runtime error breaks everything before you start configuring the device... |
@primusmagestri if connecting by wifi it works, while by gsm it throws error? |
@ro85ac @primusmagestri This week end @hbitter made the firmware work on an Heltec ESP32. I made a pull request here for him but you can also check in my own GitHub: https://github.com/pjgueno/sensors-software/tree/beta |
@pjgueno I don't see any connection with the libraries you've sent and the error I mentioned before. I am an amateur when it comes to Arduino and maybe I don't see the right library. |
@ro85ac - in my case, the |
I attempted to build airrohr-firmware for
lolin d32 pro
in arduino IDE, but I am unable compile. I get the following errors:Is this mean to work? From a quick glance serialSDS uses
HardwareSerial
which in fact does not haveperform_work
function, the waySoftwareSerial
does. Is this specific call not required forHardwareSerial
?Similarly,
ESP.getFullVersion()
exists for ESP8266, but not for ESP32EspClass
The text was updated successfully, but these errors were encountered: