Iām having some trouble with Python here - getting the following errors:
Traceback (most recent call last):
File "C:\Users\user\Desktop\smartCitizen fault Nov25\smartcitizen-kit-2x-master\smartcitizen-kit-2x-master\make.py", line 54, in <module>
kit = sck.sck(check_pio_sam='sam' in sys.argv, check_pio_esp='esp' in sys.argv)
File "C:\Users\user\Desktop\smartCitizen fault Nov25\smartcitizen-kit-2x-master\smartcitizen-kit-2x-master\tools\sck.py", line 44, in __init__
self.paths['base'] = str(subprocess.check_output(
~~~~~~~~~~~~~~~~~~~~~~~^
['git', 'rev-parse', '--show-toplevel']).rstrip().decode('utf-8'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 472, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 554, in run
with Popen(*popenargs, **kwargs) as process:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1039, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1554, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
# no special security
^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
cwd,
^^^^
startupinfo)
^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
What do you mean by āfirmware directoryā? I presumed that meant the firmware repository root directory but maybe I got that wrong?
I have updated the board to SAM_firmware_sck21_air.uf2
and now getting ESP not starting!!! Connecting to Wifi... repeatedly through serial monitor in Arduino IDE. Occasionally it does connect, and even says it posts data, but generally not.