KREMEN Реклама
KREMEN Реклама

Беда с прошивкой, не компилируется и соответственно не загружается на плату

самосвар
Идет загрузка
Загрузка
08.04.2024
1509
11
Вопросы и ответы
Статья относится к принтерам:
TEVO Black Widow

помогите, что не так!?

Looking for upload disk...

Error: Please specify `upload_port` for environment or use global `--upload-port` option.

For some development platforms it can be a USB flash drive (i.e. /media//)

*** [upload] Explicit exit, status 1

============================================ [FAILED] Took 4.32 seconds

или даже так:

Warning! Ignore unknown configuration option `monitor_flags` in section [env]

Warning! `src_filter` configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:STM32F4] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:STM32F7] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_build_flags` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_flags` instead

Warning! `src_filter` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Resolving LPC1769 dependencies...

Already up-to-date.

Updating metadata for the vscode IDE...

UserSideException: Warning! Ignore unknown configuration option `monitor_flags` in section [env]

Warning! `src_filter` configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:STM32F4] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:STM32F7] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_build_flags` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_flags` instead

Warning! `src_filter` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Warning! `src_filter` configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use `build_src_filter` instead

Processing LPC1769 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip; board: nxp_lpc1769; framework: arduino)

--------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option

CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1769.html

PLATFORM: NXP Arduino LPC176x (0.1.3) > NXP LPC1769

HARDWARE: LPC1769 120MHz, 31.97KB RAM, 464KB Flash

DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)

PACKAGES:

 - framework-arduino-lpc176x @ 0.2.9

 - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)

Converting Marlin.ino

LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf

LDF Modes: Finder ~ off, Compatibility ~ strict

Found 2 compatible libraries

Scanning dependencies...

Dependency Graph

|-- Servo @ 1.0.0

|-- U8glib-HAL @ 0.4.1

Building in release mode

AttributeError: module 'venv' has no attribute 'get':

  File "C:\Users\DELL\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 180:

    env.SConscript(env.GetExtraScripts("post"), exports="env")

  File "C:\Users\DELL\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 612:

    return _SConscript(self.fs, *files, **subst_kw)

  File "C:\Users\DELL\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 279:

    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)

  File "C:\Marlin-2.0.x-SKR-V1.4-Turbo\Marlin\src\HAL\LPC1768\upload_extra_script.py", line 147:

    print_error(str(e))

  File "C:\Marlin-2.0.x-SKR-V1.4-Turbo\Marlin\src\HAL\LPC1768\upload_extra_script.py", line 25:

    %(e, venv.get('PIOENV')))

========================== [FAILED] Took 6.28 seconds ==========================

Environment Status Duration

------------- -------- ------------

LPC1769 FAILED 00:00:06.279

==================== 1 failed, 0 succeeded in 00:00:06.279 ====================

Ответы на вопросы
Lider 3D Реклама
Lider 3D Реклама