Comments (4)
A few problems
- 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
- 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.
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.
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.
This is not a docker-tasmota issue, if you need help compiling Tasmota join the Discord server
from docker-tasmota.
Related Issues (11)
- fatal error: IRremoteESP8266.h: No such file or directory HOT 2
- Missing documentation regarding user_config_override.h with docker build HOT 4
- ARM64 container HOT 6
- Error: Unknown board ID 'esp32_4M' HOT 2
- How to update docker image to last platformio HOT 1
- ERROR: Could not find a version that satisfies the requirement platformio (from versions: none)
- Wrong directory for build outputs? HOT 1
- Fedora: Build failure HOT 7
- Building Tasmota32 development fails HOT 1
- ESP32 Builds Fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-tasmota.