Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

IPv6 firmware with TasmotaCompiler #383

Open
Andre0be opened this issue Dec 30, 2023 · 6 comments
Open

IPv6 firmware with TasmotaCompiler #383

Andre0be opened this issue Dec 30, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@Andre0be
Copy link

Hello

how can I create an IPv6 firmware with TasmotaCompiler?

My chip is ESP8266. Thanks.

@benzino77
Copy link
Owner

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.

@Andre0be
Copy link
Author

Andre0be commented Dec 31, 2023

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
Copy link
Author

Andre0be commented Jan 1, 2024

With

#define PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
#define USE_IPV6

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

@benzino77
Copy link
Owner

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

@Andre0be
Copy link
Author

Andre0be commented Jan 5, 2024

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

@Jason2866
Copy link
Contributor

Jason2866 commented Jan 8, 2024

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.

@benzino77 benzino77 added the enhancement New feature or request label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants