Create platformio_tasmota_cenv.ini
This commit is contained in:
parent
65eb9102cd
commit
ef5617bc6b
|
@ -0,0 +1,45 @@
|
|||
; *********************************************************************
|
||||
[platformio]
|
||||
; For best Gitpod performance remove the ";" in the next line. Needed
|
||||
; Platformio files are cached and installed at first run
|
||||
;core_dir = .platformio
|
||||
|
||||
; *** Build/upload environment
|
||||
default_envs =
|
||||
; *** Uncomment the line(s) below to select version(s) that will be build
|
||||
; by default. Commented versions can still be build individually from
|
||||
; VSCode or command line
|
||||
tasmota-foo
|
||||
tasmota-bar
|
||||
tasmota32-foo
|
||||
tasmota32-grizzly
|
||||
|
||||
; *********************************************************************
|
||||
; Common section can override global parameters for all builds
|
||||
[common]
|
||||
|
||||
; *** Upload Serial reset method for Wemos and NodeMCU
|
||||
upload_port = COM4
|
||||
|
||||
; *********************************************************************
|
||||
; This section show how to create 2 alternative binaries : tasmota-foo.bin
|
||||
; and tasmota-bar.bin. Those binaries are derived form tasmota.bin and
|
||||
; customization is defined in user_config_override.h
|
||||
; Those binaries are for ESP8266
|
||||
; The name after the env: tag will give its name to the binary
|
||||
[env:tasmota-foo]
|
||||
build_flags = ${common.build_flags} -DFIRMWARE_FOO
|
||||
|
||||
[env:tasmota-bar]
|
||||
build_flags = ${common.build_flags} -DFIRMWARE_BAR
|
||||
|
||||
; *********************************************************************
|
||||
; Similar exemple for ESP32
|
||||
; Note that you must explicitly state that they derive from `tasmota32`
|
||||
[env:tasmota32-foo]
|
||||
extends = env:tasmota32_base
|
||||
build_flags = ${common32.build_flags} -DFIRMWARE_FOO
|
||||
|
||||
[env:tasmota32-grizzly]
|
||||
extends = env:tasmota32_base
|
||||
build_flags = ${common32.build_flags} -DFIRMWARE_GRIZZLY
|
Loading…
Reference in New Issue