Giter Club home page Giter Club logo

Comments (4)

barbudor avatar barbudor commented on August 27, 2024

A few problems

  1. you originally tried to create your custom env by extending some tasmota variants. I see that you have now commented that. OK because that is not supported
  2. you are ré-defining some FIRMWARE_XXX variants which does exactly what's it is intended to : make that build exactly that variant without anything more or less

Check again the First Rule of Compiling-your-own-build: You can only customize "tasmota" and not any of it's variant. As soon as you enable a variant, it overrides your customization.

If you want to do the like of a given variant you must include in your override.h all defines and undef needed.

In addition the name you are giving to your binary will create problems for upgrades especially on esp8266.
You should name your binaries "tasmota-whateveryouwantafterthedash.bin" but never change the "tasmota-" part.

from docker-tasmota.

Gifford47 avatar Gifford47 commented on August 27, 2024

thanks for your explanation!

apart from the other builds, this build should work normally but it doesnt:

[env:tasmota_latest_sensors-shutter-full_rules]
;extends = env:tasmota-sensors
build_unflags           = ${common.build_unflags}
build_flags             = ${env.build_flags} -D FW_FULLRULES -D SHUTTERS -D SENSORS

i use a local docker container with the latest tasmota version

from docker-tasmota.

barbudor avatar barbudor commented on August 27, 2024

What do you mean should work ?

If your user_config_override.h is still the same, you are still doing the same errror

#ifdef SENSORS
    #ifndef FIRMWARE_SENSORS
    #define FIRMWARE_SENSORS
    #endif
#endif

means that -D SENSORS will define FIRMWARE_SENSORS which will build tasmota-sensors

Stop using FIRMWARE_XXXX in your user_config_override.h

from docker-tasmota.

blakadder avatar blakadder commented on August 27, 2024

This is not a docker-tasmota issue, if you need help compiling Tasmota join the Discord server

from docker-tasmota.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.