Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Found multiple configuration files error | CLion #99

Open
davidvfx07 opened this issue Oct 18, 2024 · 2 comments
Open

[BUG] Found multiple configuration files error | CLion #99

davidvfx07 opened this issue Oct 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@davidvfx07
Copy link

Describe the bug
I have a diagram.json and wokwi.toml at the root of my project in CLion, yet whenever I start the simulation, I get the following error, Found multiple configuration files: file:/... Specify the concrete one in the Settings. The issue is that I have just one wokwi.toml, yet I get this error. More interestingly the error specifies two file paths; one for each conflicting config file, but they are 100% identical and lead to the same file.

To Reproduce
Steps to reproduce the behavior:

  1. Create diagram.json and wokwi.toml in online editor
  2. Download files to project root
  3. Go to Wokwi tab
  4. Click on "Start simulation"
  5. See error balloon

Expected behavior
Simulation starts as normal using the configuration files at project root.

Additional context
My CLion project is not setup for platformio or anything else of the sort, I am simply looking to simulate my firmware on an esp32-s3.

Any help appreciated!

@davidvfx07 davidvfx07 added the bug Something isn't working label Oct 18, 2024
@davidvfx07
Copy link
Author

For context, here are the two config files that I downloaded from the Wokwi website to my project root.

diagram.json

{
  "version": 1,
  "author": "David Goldstein",
  "editor": "wokwi",
  "parts": [
    {
      "type": "board-esp32-s3-devkitc-1", "id": "esp",
      "attrs": {"flashSize": "16", "psramSize": "4", "psramType": "octal"}
    }
    ],
  "connections": [ [ "esp:TX", "$serialMonitor:RX", "", [] ], [ "esp:RX", "$serialMonitor:TX", "", [] ] ],
  "dependencies": {}
}

wokwi.toml

[wokwi]
version = 1
elf = "./build/release/build/adafruit_metro_esp32s3/firmware.elf"
firmware = "./build/release/build/adafruit_metro_esp32s3/firmware.bin"

@Jozott00
Copy link
Owner

Thanks for your bug report, I will look into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants