• Система автоматизации с открытым исходным кодом на базе esp8266/esp32 микроконтроллеров и приложения IoT Manager. Наша группа в Telegram

}{очу создать файловую систему но получаю много ошибок (framework-esp8266-rtos-sdk PlatformIO) кто решил данную проблему?

dzantemir

New member
Код:
> Executing task: C:\Users\DNS\.platformio\penv\Scripts\platformio.exe run --target buildfs --environment esp_wroom_02 <

Processing esp_wroom_02 (platform: espressif8266; framework: esp8266-rtos-sdk; board: esp_wroom_02)       
-----------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp_wroom_02.html
PLATFORM: Espressif 8266 (2.6.3) > ESP-WROOM-02
HARDWARE: ESP8266 80MHz, 80KB RAM, 2MB Flash   
PACKAGES:
 - framework-esp8266-rtos-sdk 1.5.0-beta.5     
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - tool-mklittlefs 1.203.210203 (2.3)   
 - tool-mkspiffs 1.200.0 (2.0)
 - toolchain-xtensa 1.40802.0 (4.8.2)   
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...   
No dependencies
Building in release mode
AssertionError: :
  File "C:\Users\DNS\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 178:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\DNS\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\DNS\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\DNS\.platformio\platforms\espressif8266\builder\main.py", line 243:
    target_firm = env.DataToBin(
  File "C:\Users\DNS\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Environment.py", line 238:   
    return super().__call__(target, source, *args, **kw)
  File "C:\Users\DNS\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\DNS\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Builder.py", line 650:
    return self._execute(env, target, source, OverrideWarner(kw), ekw)
  File "C:\Users\DNS\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Builder.py", line 560:
    tlist, slist = self._create_nodes(env, target, source)
  File "C:\Users\DNS\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Builder.py", line 522:
    target, source = self.emitter(target=tlist, source=slist, env=env)
  File "C:\Users\DNS\.platformio\platforms\espressif8266\builder\main.py", line 119:
    fetch_fs_size(env)
  File "C:\Users\DNS\.platformio\platforms\espressif8266\builder\main.py", line 98:
    assert all([
======================================= [FAILED] Took 3.75 seconds =======================================

Environment    Status    Duration
-------------  --------  ------------
esp_wroom_02   FAILED    00:00:03.749
================================== 1 failed, 0 succeeded in 00:00:03.749 ==================================
The terminal process "C:\Users\DNS\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'buildfs', '--environment', 'esp_wroom_02'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
27783794ae42d347b4906b14251e067e475390e1.gif
 

dzantemir

New member
Скинь файл platformio.ini. Я думаю у тебя библиотеки не видит
Код:
; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[env:nodemcuv2]
platform = espressif8266
framework = esp8266-rtos-sdk
board = nodemcuv2

[env:esp_wroom_02]
platform = espressif8266
framework = esp8266-rtos-sdk
board = esp_wroom_02
 

Ildarmustafin86

Active member
А в настройках разве не нужно указывать какие настройки использовать. Что то типа такого
Код:
[platformio]

default_envs = nodemcuv2
 
Сверху Снизу