Open kevinholtkamp opened 1 year ago
Is compatibility with the raspberry pi pico w planned / possible?
When compiling I get the following error:
Compiling .pioenvs/wechselrichter/src/ABBAurora.cpp.o Compiling .pioenvs/wechselrichter/src/esphome/components/api/list_entities.cpp.o Compiling .pioenvs/wechselrichter/src/esphome/components/api/proto.cpp.o Compiling .pioenvs/wechselrichter/src/esphome/components/api/subscribe_state.cpp.o src/ABBAurora.cpp: In static member function 'static void ABBAurora::setup(arduino::HardwareSerial&, byte, byte, byte)': src/ABBAurora.cpp:22:18: error: no matching function for call to 'arduino::HardwareSerial::begin(int, long unsigned int, byte&, byte&, bool, int)' 22 | serial->begin(19200, SERIAL_8N1, RXGpioPin, TXGpioPin, false, 500); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/cache/platformio/packages/framework-arduinopico/cores/rp2040/api/HardwareSerial.h:2, from /data/cache/platformio/packages/framework-arduinopico/cores/rp2040/SerialUSB.h:24, from /data/cache/platformio/packages/framework-arduinopico/cores/rp2040/Arduino.h:117, from src/ABBAurora.h:3, from src/ABBAurora.cpp:1: /data/cache/platformio/packages/framework-arduinopico/cores/rp2040/api/../../../ArduinoCore-API/api/HardwareSerial.h:90:18: note: candidate: 'virtual void arduino::HardwareSerial::begin(long unsigned int)' 90 | virtual void begin(unsigned long) = 0; | ^~~~~ /data/cache/platformio/packages/framework-arduinopico/cores/rp2040/api/../../../ArduinoCore-API/api/HardwareSerial.h:90:18: note: candidate expects 1 argument, 6 provided /data/cache/platformio/packages/framework-arduinopico/cores/rp2040/api/../../../ArduinoCore-API/api/HardwareSerial.h:91:18: note: candidate: 'virtual void arduino::HardwareSerial::begin(long unsigned int, uint16_t)' 91 | virtual void begin(unsigned long baudrate, uint16_t config) = 0; | ^~~~~ /data/cache/platformio/packages/framework-arduinopico/cores/rp2040/api/../../../ArduinoCore-API/api/HardwareSerial.h:91:18: note: candidate expects 2 arguments, 6 provided *** [.pioenvs/wechselrichter/src/ABBAurora.cpp.o] Error 1
Is compatibility with the raspberry pi pico w planned / possible?
When compiling I get the following error: