How to install "optional" package?

Hello Experts :slight_smile:

I’d like to figure out if platformio would already support the WPA2 enterprise authentication modes that have been added with SDK 2.0.0.
To do that, I wanted to check out the installed header files - but to my surprise, a

platformio platform show espressif8266

shows that it’s not installed:

Package sdk-esp8266
-------------------
Requirements: ~1.10502.0
Installed: No (optional)

Any hint how I can get it installed ?
Also, on the initial question, is there a smart way to find out what versions the installed packages / frameworks and libraries have ?

Regards,
M

I guess you did a “platformio platform install espressif8266” or the stage version
(platformio platform install GitHub - platformio/platform-espressif8266: Espressif 8266: development platform for PlatformIO).

What’s the error when you try to install.

Robert

Hi Robert.
I am not getting any error message, but the sdk is not installed, hence I don’t have the code.
As you can see below, sdk-esp8266 is not listed when I do an update, and it is flagged as “optional” on the “show”:

#> platformio update
Platform Manager
================
Platform espressif8266_stage
--------
Updating platform-espressif8266 @ 2bb3ee7:      [VCS]
git version 2.11.1.windows.1
Already up-to-date.
Updating tool-mkspiffs @ 1.102.0:       [Up-to-date]
Updating tool-esptool @ 1.409.0:        [Up-to-date]
Updating tool-espotapy @ 1.0.0:         [Up-to-date]
Updating toolchain-xtensa @ 1.40802.0:  [Up-to-date]

Platform espressif8266
--------
Updating espressif8266 @ 1.3.0:         [Up-to-date]
Updating tool-mkspiffs @ 1.102.0:       [Up-to-date]
Updating tool-esptool @ 1.409.0:        [Up-to-date]
Updating tool-espotapy @ 1.0.0:         [Up-to-date]
Updating framework-arduinoespressif8266 @ 1.20300.1:    [Up-to-date]
Updating toolchain-xtensa @ 1.40802.0:  [Up-to-date]

Updating tool-pioplus @ 0.6.10:         [Up-to-date]
Updating pysite-pioplus @ 0.3.0:        [Up-to-date]

Library Manager
===============

#> platformio platform show espressif8266_stage
espressif8266_stage ~ Espressif 8266 (Stage)
============================================
Espressif Systems is a privately held fabless semiconductor company. They provid
e wireless communications and Wi-Fi chips which are widely used in mobile device
s and the Internet of Things applications.

Version: 1.4.0-alpha.1
Home: http://platformio.org/platforms/espressif8266
License: Apache-2.0
Frameworks: simba, arduino

Package toolchain-xtensa
------------------------
Type: toolchain
Requirements: ~1.40802.0
Installed: Yes
Description: xtensa-gcc
Url: https://github.com/jcmvbkbc/gcc-xtensa
Version: 1.40802.0 (4.8.2)

Package framework-simba
-----------------------
Type: framework
Requirements: >=7.0.0
Installed: No (optional)

Package tool-esptool
--------------------
Type: uploader
Requirements: ~1.409.0
Installed: Yes
Description: esptool-ck
Url: https://github.com/igrr/esptool-ck
Version: 1.409.0 (4.9)

Package tool-mkspiffs
---------------------
Type: uploader
Requirements: ~1.102.0
Installed: Yes
Description: Tool to build and unpack SPIFFS images
Url: https://github.com/igrr/mkspiffs
Version: 1.102.0 (1.2)

Package tool-espotapy
---------------------
Type: uploader
Requirements: ~1.0.0
Installed: Yes
Description: This script will push an OTA update to the ESP
Url: https://github.com/esp8266/Arduino
Version: 1.0.0

Package framework-arduinoespressif8266
--------------------------------------
Type: framework
Requirements: 1.20400.0-alpha.1
Installed: No (optional)

Package sdk-esp8266
-------------------
Requirements: ~1.10502.0
Installed: No (optional)

Sorry I’m not familiar with esp8266 but mine installs “sdk-esp8266” when i compile the example: esp8266-native.
Did you try the example?

Robert

  1. When you build a project that depends on framework/SDK, PIO installs all dependencies automatically.
  2. If you want to install optional packages, see Redirecting...