benzino77/tasmocompiler

IPv6 firmware with TasmotaCompiler

Andre0be opened this issue · 6 comments

Hello

how can I create an IPv6 firmware with TasmotaCompiler?

My chip is ESP8266. Thanks.

Hi!

I think that you need is to add some defines in "Custom parameters" text field as stated in the documentation:
https://tasmota.github.io/docs/IPv6/

Something like that:

#define PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
#define USE_IPV6

Give it a try.

There is also possibility that PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH needs to be defined at the level of platformio_override.ini file. In such case TasmoCompiler needs additional feature for example called "IPV6". I will leave that issue open so maybe someone will pick it up and implement such feature.

Hi benzino77,

thanks for your help!

In "Custom parameters"

#define DPIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH -DUSE_IPV6
#define USE_IPV6

or

#define PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
#define USE_IPV6

In the docs it is the same as in the first example. Or are you right?

Where I can find the platformio_override.ini in gitpod/tasmocompiler? Where are the files saved after a refresh source?

With

#define PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
#define USE_IPV6

in "Custom parameters" it does not work. Only IPv4.

So it looks like some changes needs to be done on platformio.ini file level.
TasmoCompiler is not ready for that... yet.

I will keep an eye on TasmoCompiler. Maybe this function will come later. Unfortunately, I don't have the knowledge to program it.

Don't expect IPv6 really working with Tasmota running on esp8266.
The needed compile flags can be set and Tasmota should compile successfully.
But IPv6 has not been tested.
Verified working IPv6 is only for esp32x MCUs Tasmota builds.
Imho it makes no sense to add IPv6 for esp8266 in Tasmocompiler, since there is no support for.