Closed CRCinAU closed 4 years ago
The docs state you still should build using feature/stage.
See here
I get errors like these:
The command "PLATFORMIO_BUILD_FLAGS="-D CONTINUOUS_INTEGRATION" platformio run -e test_ESP8266_4M1M_VCC" exited with 0.
0.88s$ PLATFORMIO_BUILD_FLAGS="-D CONTINUOUS_INTEGRATION" platformio run -e test_beta_ESP8266_4M1M
Processing test_beta_ESP8266_4M1M (platform: https://github.com/platformio/platform-espressif8266.git#feature/stage; board: esp12e; framework: arduino)
--------------------------------------------------------------------------------
PlatformManager: Installing platform-espressif8266
git version 2.25.1
Cloning into '/home/travis/.platformio/platforms/_tmp_installing-JFlPtS-package'...
warning: Could not find remote branch feature/stage to clone.
fatal: Remote branch feature/stage not found in upstream origin
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', 'feature/stage', 'https://github.com/platformio/platform-espressif8266.git', '/home/travis/.platformio/platforms/_tmp_installing-JFlPtS-package']
Yeah - I think this is a recent change... My new setup works... My platformio.ini is as follows:
[env:d1_mini]
board = d1_mini
board_build.ldscript = eagle.flash.4m.ld
board_build.f_cpu = 160000000L
board_build.f_flash = 80000000L
framework = arduino
platform = espressif8266
platform_packages =
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
build_flags =
; -DDEBUG_ESP_PORT=Serial
; -DDEBUG_ESP_SSL
; -DDEBUG_ESP_TLS_MEM
; -DDEBUG_ESP_HTTP_CLIENT
; -DDEBUG_ESP_HTTP_SERVER
; -DDEBUG_ESP_CORE
; -DDEBUG_ESP_WIFI
; -DDEBUG_ESP_HTTP_UPDATE
; -DDEBUG_ESP_UPDATER
; -DDEBUG_ESP_OTA
; -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-DPIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
-DNDEBUG
Yep that platform_packages
definition you have here is the key here.
I have something similar added to make it compile again:
So I've been using feature/stage for quite a while to build my ESP8266 stuff on - but this branch is currently gone...
I tried master, it comes up as:
If I try to use
platform = https://github.com/platformio/platform-espressif8266.git#develop
, I get:When using this, I can't connect to my https server for updates etc...
An older binary on another device can connect fine - it shows as:
What's to do?