Skip to content

Instantly share code, notes, and snippets.

@CodeZombie
Last active January 2, 2026 01:07
Show Gist options
  • Select an option

  • Save CodeZombie/e658cdb219c1c3d7622a79fcfc29de46 to your computer and use it in GitHub Desktop.

Select an option

Save CodeZombie/e658cdb219c1c3d7622a79fcfc29de46 to your computer and use it in GitHub Desktop.
esp-idf in a Dev Container on Immutable Fedora

Steps to fix the "spawn udevadm ENOENT" error inside the ESP-IDF dev container.

  1. Launch the dev container in vscode and open a terminal.
  2. Open a terminal. Confirm that you're in the remote devcontainer terminal, and not on your host system.
  3. apt-get update
  4. apt-get install udev
  5. Now in your devcontainer.json file, add this to the end of the dict:
  "runArgs": [
    "--device=/dev/ttyACM0",
    "--privileged"
  ]

Now ttyACM0 should be accessible within any esp-idf projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment