diff --git a/.vscode/launch.json b/.vscode/launch.json index 4239027..6a66ebf 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,26 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "pytest", + "type": "debugpy", + "request": "launch", + "module": "pytest", + "cwd": "${workspaceFolder}", + "args": [ + // "--collect-only", + // "-q", + "-s", + "-v", + // "--firmware=https://github.com/dpgeorge/micropython.git@rp2-add-rp2350", + "tests/test_simple.py::test_i2c", + ], + "console": "integratedTerminal", + "env": { + "PYDEVD_DISABLE_FILE_VALIDATION": "1" + }, + "justMyCode": false, + }, { "name": "pytest --firmware=xyz.git", "type": "debugpy", @@ -16,7 +36,7 @@ "-s", "-v", // "--firmware=https://github.com/dpgeorge/micropython.git@rp2-add-rp2350", - "--firmware=https://github.com/micropython/micropython.git@master", + "--firmware=https://github.com/micropython/micropython.git@v1.24.1", "tests/test_simple.py::test_i2c", ], "console": "integratedTerminal", diff --git a/docs/installation/10_ubuntu.rst b/docs/installation/10_ubuntu.rst index 1c3af71..1e85ee9 100644 --- a/docs/installation/10_ubuntu.rst +++ b/docs/installation/10_ubuntu.rst @@ -56,12 +56,12 @@ python uv python install 3.13.1 - uv venv --python 3.13.1 --prompt=testbed_showcase ~/testbed_showcase/venv + uv venv --python 3.13.1 --prompt=testbed_showcase ~/testbed_showcase/.venv - source ~/testbed_showcase/venv/bin/activate + source ~/testbed_showcase/.venv/bin/activate uv pip install -e ~/testbed_showcase - echo 'source ~/testbed_showcase/venv/bin/activate' >> ~/.profile + echo 'source ~/testbed_showcase/.venv/bin/activate' >> ~/.profile # Log out and in again Software requiring elevated access diff --git a/testbed_showcase.code-workspace b/testbed_showcase.code-workspace index 3d6733c..23be4d0 100644 --- a/testbed_showcase.code-workspace +++ b/testbed_showcase.code-workspace @@ -12,7 +12,6 @@ "ruff.enable": true, "ruff.fixAll": true, "ruff.lint.enable": true, - "ruff.lint.run": "onSave", "mpremote.srcSubdirectory": "src", "python.testing.pytestArgs": [ "-v",