Skip to content

Commit a5a35d1

Browse files
authored
Merge pull request tasmota#762 from barbudor/compiling_new_env
Compile-you-build - update env override
2 parents afa02ff + dc6a1a2 commit a5a35d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/Compile-your-build.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,21 +124,21 @@ upload_port = COM4
124124
; Those binaries are for ESP8266
125125
; The name after the env: tag will give its name to the binary
126126
[env:tasmota-foo]
127-
build_flags = ${common.build_flags} -DFIRMWARE_FOO
127+
build_flags = ${env.build_flags} -DFIRMWARE_FOO
128128

129129
[env:tasmota-bar]
130-
build_flags = ${common.build_flags} -DFIRMWARE_BAR
130+
build_flags = ${env.build_flags} -DFIRMWARE_BAR
131131

132132
; *********************************************************************
133133
; Similar exemple for ESP32
134134
; Note that you must explicitly state that they derive from `tasmota32`
135135
[env:tasmota32-foo]
136136
extends = env:tasmota32_base
137-
build_flags = ${common32.build_flags} -DFIRMWARE_FOO
137+
build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_FOO
138138

139139
[env:tasmota32-grizzly]
140140
extends = env:tasmota32_base
141-
build_flags = ${common32.build_flags} -DFIRMWARE_GRIZZLY
141+
build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_GRIZZLY
142142
```
143143

144144
#### Sample `user_config_override.h`

0 commit comments

Comments
 (0)