Hi all,
I thought that it is a simple task - use Platformio and compile nodemcuv2-pilight.bin
with changed GPIO in config_RF.h
to have it working with SRX882.
But no way for me so far
I use Win 10-64 bit, fresh installation of VSC with Platformio as an extension, antivirus disabled, OMG development 0.95 downloaded today.
This is the Platformio log:
> Executing task: C:\Users\B\.platformio\penv\Scripts\platformio.exe run <
Processing nodemcuv2-pilight (platform: espressif8266@2.6.3; board: nodemcuv2; framework: arduino)
-------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (2.6.3) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif8266 3.20704.0 (2.7.4)
- tool-esptool 1.413.0 (4.13)
- tool-esptoolpy 1.30000.201119 (3.0.0)
- toolchain-xtensa 2.40802.200502 (4.8.2)
Converting main.ino
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:41:0: warning: "struct_size" redefined [enabled by default]
# define struct_size 4
^
C:/Users/B/Documents/@Sync/HomeAssistant/NodeMCU RF/OpenMQTTGateway-development/main/main.ino:38:0: note: this is the location of the previous definition
# define struct_size 12
^
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing git+https://github.com/1technophile/Arduino-Log.git#d13cd80
FileNotFoundError: [WinError 2] The system cannot find the file specified:
File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\B\.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\B\.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\B\.platformio\platforms\espressif8266\builder\main.py", line 238:
target_elf = env.BuildProgram()
File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62:
env.ProcessProjectDeps()
File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "C:\Users\B\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062:
project.install_dependencies()
File "C:\Users\B\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 898:
lm.install(spec)
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
pkg = self._install(
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:
return super(LibraryPackageManager, self)._install(
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
pkg = self.install_from_url(spec.url, spec, silent=silent)
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
vcs = VCSClientFactory.new(tmp_dir, url)
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:
obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137: self.configure()
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146: result = proc.exec_command([cls.command, "--exec-path"])
File "c:\users\b\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
p = subprocess.Popen(*args, **kwargs)
File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 947:
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\B\.platformio\python3\lib\subprocess.py", line 1416:
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
================================== [FAILED] Took 6.74 seconds ==================================
Environment Status Duration
----------------- -------- ------------
nodemcuv2-pilight FAILED 00:00:06.736
============================= 1 failed, 0 succeeded in 00:00:06.736 =============================The terminal process "C:\Users\B\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
Tried it on 2 Win computers, the same result on both of them.
Any advice would be great.