Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

doesn't compile anymore for esp8266 #997

Open
tfauck opened this issue Jul 9, 2023 · 1 comment
Open

doesn't compile anymore for esp8266 #997

tfauck opened this issue Jul 9, 2023 · 1 comment

Comments

@tfauck
Copy link

tfauck commented Jul 9, 2023

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

@pjgueno
Copy link
Member

pjgueno commented Aug 6, 2023

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 ?

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

No branches or pull requests

2 participants