tasmocompiler icon indicating copy to clipboard operation
tasmocompiler copied to clipboard

IPv6 firmware with TasmotaCompiler

Open Andre0be opened this issue 1 year ago • 6 comments

Hello

how can I create an IPv6 firmware with TasmotaCompiler?

My chip is ESP8266. Thanks.

Andre0be avatar Dec 30 '23 23:12 Andre0be

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.

benzino77 avatar Dec 31 '23 10:12 benzino77

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?

Andre0be avatar Dec 31 '23 18:12 Andre0be

With

#define PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH #define USE_IPV6

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

Andre0be avatar Jan 01 '24 20:01 Andre0be

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

benzino77 avatar Jan 03 '24 16:01 benzino77

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

Andre0be avatar Jan 05 '24 14:01 Andre0be

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.

Jason2866 avatar Jan 08 '24 10:01 Jason2866