You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beta code for esp32 can be easily fix for esp32 but master release doesn't compile for esp8266
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:290:9: note: in expansion of macro 'ONEWIRE_PIN'
290 | DHT dht(ONEWIRE_PIN, DHT_TYPE);
| ^~~~~~~~~~~
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino: In function 'String SDS_version_date()':
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:557:26: warning: 'void EspSoftwareSerial::UARTBase::perform_work()' is deprecated: function removed; semantics of onReceive() changed; check the header file. [-Wdeprecated-declarations]
557 | serialSDS.perform_work();
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:2564:24: error: 'void fetchSensorPMS(String&)' was declared 'extern' and later 'static' [-fpermissive]
2564 | static __noinline void fetchSensorPMS(String& s) {
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:3849:47: note: in expansion of macro 'I2C_PIN_SCL'
3849 | oled_sh1106 = new SH1106(0x3c, I2C_PIN_SDA, I2C_PIN_SCL);
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:3951:11: note: in expansion of macro 'PPD_PIN_PM1'
3951 | pinMode(PPD_PIN_PM1, INPUT_PULLUP); // Listen at the designated PIN
| ^~~~~~~~~~~
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/ext_def.h:122:23: error: 'D5' was not declared in this scope
122 | #define GPS_SERIAL_RX D5
The text was updated successfully, but these errors were encountered:
Hi,
Which beta do you want to compile ?
I add to use the last beta to remake the support for SEN5X a few days ago and I had no issue to compile and flash on a normal ESP8266.
Do you choose the right env/language ?
I have never seen the errors you mention. Can you make a zip and send it to me ?
Beta code for esp32 can be easily fix for esp32 but master release doesn't compile for esp8266
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:290:9: note: in expansion of macro 'ONEWIRE_PIN'
290 | DHT dht(ONEWIRE_PIN, DHT_TYPE);
| ^~~~~~~~~~~
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino: In function 'String SDS_version_date()':
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:557:26: warning: 'void EspSoftwareSerial::UARTBase::perform_work()' is deprecated: function removed; semantics of onReceive() changed; check the header file. [-Wdeprecated-declarations]
557 | serialSDS.perform_work();
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:2564:24: error: 'void fetchSensorPMS(String&)' was declared 'extern' and later 'static' [-fpermissive]
2564 | static __noinline void fetchSensorPMS(String& s) {
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:3849:47: note: in expansion of macro 'I2C_PIN_SCL'
3849 | oled_sh1106 = new SH1106(0x3c, I2C_PIN_SDA, I2C_PIN_SCL);
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/airrohr-firmware.ino:3951:11: note: in expansion of macro 'PPD_PIN_PM1'
3951 | pinMode(PPD_PIN_PM1, INPUT_PULLUP); // Listen at the designated PIN
| ^~~~~~~~~~~
/home/thtoul/tmp/sensors-software-master/airrohr-firmware/ext_def.h:122:23: error: 'D5' was not declared in this scope
122 | #define GPS_SERIAL_RX D5
The text was updated successfully, but these errors were encountered: