Hi there,
I have recently recieved a Moddable Two.
I have loaded the standard examples as per the Moddalbe instructions and everything works.
I am now trying to load a simple Node Red Flow so far without success.
I am wandering if the reason might be that the ESP-IDF PATHs are not setup.
When loading a program following the Moddalbe method, I start by launching a CMD script called ESP IDF 4.4 CMD that looks like this:
Using Python in C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\
Python 3.8.7
Using Git in C:\Espressif\tools\idf-git\2.34.2\cmd\
git version 2.34.1.windows.1
Setting IDF_PATH: C:\Espressif\frameworks\esp-idf-v4.4.3
Adding ESP-IDF tools to PATH...
C:\Espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin
C:\Espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin
C:\Espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin
C:\Espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin
C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
C:\Espressif\tools\cmake\3.23.1\bin
C:\Espressif\tools\openocd-esp32\v0.11.0-esp32-20220706\openocd-esp32\bin
C:\Espressif\tools\ninja\1.10.2\
C:\Espressif\tools\idf-exe\1.0.3\
C:\Espressif\tools\ccache\4.3\ccache-4.3-windows-64
C:\Espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Espressif\frameworks\esp-idf-v4.4.3\tools
Checking if Python packages are up to date...
Python requirements from C:\Espressif\frameworks\esp-idf-v4.4.3\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
C:\Espressif\frameworks\esp-idf-v4.4.3>
One then launches the x86 using:
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat"
Then, one can compile and export to the board using:
mcconfig -d -m -p esp32/moddable_two
Here is the output from the console monitor in Node Red:
Starting build process...
Host system check: Windows 10 Home
HOME directory check: C:\Users\Stephane
Creating build environment for platform esp32/moddable_two.
Working directory: \Users\Stephane\.node-red\mcu-plugin-cache\configytvokt5ta5i
$IDF_PATH is defined: C:\Users\Stephane\esp32\esp-idf
> cd \Users\Stephane\.node-red\mcu-plugin-cache\configytvokt5ta5i
Creating build batch file...
> mcconfig -d -x localhost:5004 -m -p esp32/moddable_two
C:\Users\Stephane\.node-red\mcu-plugin-cache\configytvokt5ta5i>CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.0
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
IDF_TOOLS_PATH not set. Setting to C:\Espressif\
Setting PYTHONNOUSERSITE, was not set
Using Python in C:\Users\Stephane\esp32\esp-idf\
"null" non � riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
Using Git in C:\Espressif\tools\idf-git\2.34.2\cmd\
git version 2.34.1.windows.1
Setting IDF_PATH: C:\Users\Stephane\esp32\esp-idf
Adding ESP-IDF tools to PATH...
ERROR: Platform Windows- appears to be unsupported
1 file copiati.
1 file copiati.
1 file copiati.
Reconfiguring ESP-IDF...
Traceback (most recent call last):
File "C:\Users\Stephane\esp32\esp-idf\tools\idf.py", line 36, in <module>
from idf_py_actions.tools import executable_exists, idf_version, merge_action_lists, realpath # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Stephane\esp32\esp-idf\tools\idf_py_actions\tools.py", line 7, in <module>
import click
ModuleNotFoundError: No module named 'click'
NMAKE :
fatal error U1077: 'python' : codice restituito '0x1'
Stop.
Hi there,
I have recently recieved a Moddable Two.
I have loaded the standard examples as per the Moddalbe instructions and everything works.
I am now trying to load a simple Node Red Flow so far without success.
I am wandering if the reason might be that the ESP-IDF PATHs are not setup.
When loading a program following the Moddalbe method, I start by launching a CMD script called ESP IDF 4.4 CMD that looks like this:
One then launches the x86 using:
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat"Then, one can compile and export to the board using:
mcconfig -d -m -p esp32/moddable_twoHere is the output from the console monitor in Node Red: