Hi,
habe das eigentlich immer selber hinbekommen mit den vorhergehenden Versionen von Tasmota aber jetzt bekomme ich ohne das ich etwas ändere (warscheinlich das Problem) eine Fehlermeldung wenn ich Build ausführen will.
Code
> Executing task in folder Tasmota 8.1.0: C:\Users\user\.platformio\penv\Scripts\platformio.exe run <
Can not remove temporary directory `c:\temp\Tasmota 8.1.0\.pioenvs`. Please remove it manually to avoid build issues
Error: Invalid 'c:\temp\Tasmota 8.1.0\platformio.ini' (project configuration file): 'No option 'platform_packages' in section: 'common''
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
den .pioenvs ordner habe ich gelöscht nur die andere Meldung verstehe ich nicht ganz. Was muss ich da einstellen?
Spoiler anzeigen
Code
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[platformio]
src_dir = tasmota
build_dir = .pioenvs
build_cache_dir = .cache
extra_configs = platformio_tasmota_env.ini
platformio_override.ini
; *** Build/upload environment
default_envs =
; *** Uncomment by deleting ";" in the line(s) below to select version(s)
tasmota
; tasmota-ircustom ; alternative to 'tasmota' with full IR protocols activated, you will need to disable some features to keep code not too big
; tasmota-minimal
; tasmota-lite
; tasmota-knx
; tasmota-sensors
; tasmota-display
; tasmota-ir
; tasmota-BG
; tasmota-BR
; tasmota-CN
; tasmota-CZ
; tasmota-DE
; tasmota-ES
; tasmota-FR
; tasmota-GR
; tasmota-HE
; tasmota-HU
; tasmota-IT
; tasmota-KO
; tasmota-NL
; tasmota-PL
; tasmota-PT
; tasmota-RU
; tasmota-SE
; tasmota-SK
; tasmota-TR
; tasmota-TW
; tasmota-UK
;
; *** alternatively can be done in: platformio_override.ini
; *** See example: platformio_override_sample.ini
; *********************************************************************
[common]
framework = arduino
board = esp01_1m
board_build.flash_mode = dout
platform = ${core_active.platform}
build_flags = ${core_active.build_flags}
; *********************************************************************
; *** Uncomment, by deleting ";" in line below, to use custom settings from file user_config_override.h
; -DUSE_CONFIG_OVERRIDE
;
; *** alternatively can be done in: platformio_override.ini
; *** See example: platformio_override_sample.ini
; *********************************************************************
; *** Fix espressif8266@1.7.0 induced undesired all warnings
build_unflags = -Wall
board_build.f_cpu = 80000000L
monitor_speed = 115200
upload_speed = 115200
; *** Upload Serial reset method for Wemos and NodeMCU
upload_resetmethod = nodemcu
upload_port = COM3
extra_scripts = ${scripts_defaults.extra_scripts}
[scripts_defaults]
extra_scripts = pio/strip-floats.py
pio/name-firmware.py
[esp82xx_defaults]
build_flags = -D NDEBUG
-mtarget-align
-Wl,-Map,firmware.map
[core_active]
platform = ${core_2_6_1.platform}
build_flags = ${core_2_6_1.build_flags}
[core_2_6_1]
; *** Esp8266 core for Arduino version 2.6.1
platform = espressif8266@2.3.0
build_flags = ${esp82xx_defaults.build_flags}
-Wl,-Teagle.flash.1m.ld
-DBEARSSL_SSL_BASIC
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
; lwIP 2 - Higher Bandwidth no Features
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
; VTABLES in Flash
-DVTABLES_IN_FLASH
; No exception code in firmware
-fno-exceptions
-lstdc++
Alles anzeigen
ist die Standart ini die mit kommt.
Hat da jemand ein Tip für mich? Ich möchte gerne den #define USE_APDS9960 Sensor verwenden.
EDIT: habes es nun so gemacht
https://github.com/benzino77/tasmocompiler
Warum es aber im VSC nicht funktioniert würde mich trotzdem interessieren
Vielen dank