Skip to content

Commit

Permalink
test(spi_master): esp32c3 sporadically fails on "spi bus lock" test
Browse files Browse the repository at this point in the history
Slow CPU frequency causes the test to erroneously report a memory leak.
  • Loading branch information
urish committed Jul 4, 2024
1 parent 6802e6f commit 6cd8067
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions test/spi_master/diagram.esp32c3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-c3-devkitm-1",
"id": "esp",
"top": 18.9,
"left": -109.38,
"attrs": { "cpuFrequency": "16" }
}
],
"connections": [ [ "esp:TX", "$serialMonitor:RX", "", [] ], [ "esp:RX", "$serialMonitor:TX", "", [] ] ],
"dependencies": {}
}
2 changes: 1 addition & 1 deletion test/test_spi_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
)
def test_spi_master(chip: str):

diagram_dir = "" if chip in ["esp32", "esp32s2", "esp32s3"] else "../"
diagram_dir = "" if chip in ["esp32", "esp32s2", "esp32s3", "esp32c3"] else "../"

# Run the Wokwi CLI
result = subprocess.run(
Expand Down

0 comments on commit 6cd8067

Please sign in to comment.