You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or if you were mocking the args object, now you don't have to do that and you can pass parameters directly to the function like:
272
+
``sign_data(data=data, key=key, ...)``.
274
273
2. Replace the ``custom_commandline`` parameter with ``argv`` in the ``main`` function call.
275
274
276
275
espefuse.py ``v5`` Migration Guide
@@ -307,3 +306,69 @@ The ``--port`` option is now required for all commands (except when using ``--vi
307
306
**Migration Steps:**
308
307
309
308
1. Add the ``--port`` option to all your espefuse commands.
309
+
310
+
311
+
``execute-scripts`` Command Removal
312
+
###################################
313
+
314
+
The ``execute-scripts`` command has been **removed in v5**. This command was used to execute custom eFuses scripts. It was deprecated in favor of using ``espefuse.py`` as a Python module (see :ref:`here <espefuse-scripting>`).
315
+
316
+
**Migration Steps:**
317
+
318
+
1. Refactor any workflows using the deprecated ``execute-scripts`` to use the public API.
319
+
2. Make sure to use the ``batch_mode`` argument for ``init_commands`` to avoid burning eFuses one by one.
320
+
3. Variables ``idx`` and ``configfiles`` are no longer supported. These can be replaced with simple for loops in Python.
321
+
322
+
For example, the following commands and script (using ESP32):
0 commit comments