{"id":16191161,"url":"https://github.com/simonbaeumer/clionarduinosupport","last_synced_at":"2025-11-11T22:08:13.965Z","repository":{"id":122782236,"uuid":"70745794","full_name":"SimonBaeumer/CLionArduinoSupport","owner":"SimonBaeumer","description":"Auto-Completion, Compiling, Uploading, Writing C++ in CLion for Arduino","archived":false,"fork":false,"pushed_at":"2019-02-21T07:54:25.000Z","size":17,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T23:01:38.749Z","etag":null,"topics":["ant","arduino","clion","cpp","platformio"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimonBaeumer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T22:08:23.000Z","updated_at":"2024-04-20T21:00:40.000Z","dependencies_parsed_at":"2023-07-05T21:16:00.090Z","dependency_job_id":null,"html_url":"https://github.com/SimonBaeumer/CLionArduinoSupport","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SimonBaeumer/CLionArduinoSupport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2FCLionArduinoSupport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2FCLionArduinoSupport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2FCLionArduinoSupport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2FCLionArduinoSupport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonBaeumer","download_url":"https://codeload.github.com/SimonBaeumer/CLionArduinoSupport/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2FCLionArduinoSupport/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378806,"owners_count":24240896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ant","arduino","clion","cpp","platformio"],"created_at":"2024-10-10T07:45:14.186Z","updated_at":"2025-11-11T22:08:08.944Z","avatar_url":"https://github.com/SimonBaeumer.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino CLion setup\n\nThis is a tutorial on how to setup your environment to develop in CLion IDE for arduino.\n\n## Dependencies\n\n - Ant\n - platformio\n - python-pip\n - IntelliJ Plugin Serial Monitor\n\n## Setup\n\nInstall `platformio` via `python-pip`\n\nRun in your application folder:\n`platformio init --ide clion --board %type%` \n\nFor example:\n`platformio init --ide clion --board uno` \n\n### Find your board\n\nRun in your terminal:\n`platformio boards`\n\nThe Ardunio micro controller will be listed under the `atmelavr` section.\n\n**Example output:**\n```\nPlatform: atmelavr\n--------------------------------------------------------------------------------\nID                    MCU            Frequency  Flash   RAM    Name\n--------------------------------------------------------------------------------\n1284p16m              ATMEGA1284P    16Mhz     127kB   16kB   Microduino Core+ (ATmega1284P@16M,5V)\n1284p8m               ATMEGA1284P    8Mhz      127kB   16kB   Microduino Core+ (ATmega1284P@8M,3.3V)\n168pa16m              ATMEGA168P     16Mhz     15kB    1kB    Microduino Core (Atmega168PA@16M,5V)\nuno                   ATMEGA328P     16Mhz     31kB    2kB    Arduino Uno\n```\n\n## Compiling and uploading\n\n### Via Ant - only with CLion\n\nRun `ant upload` from your project root and it will be all done!\n\n### Via CLion\n\nUse the `PLATFORMIO_UPLOAD` configuration and use build to upload and compile your sketch, `Ctrl + F9`. (DO NOT USE RUN OR DEBUG)\n\n### Via platformio\n\nRun `platformio run --target upload`\n\n### Permission issues\n\nIn some cases you must add `udev` rules, see:\nhttps://raw.githubusercontent.com/platformio/platformio/develop/scripts/99-platformio-udev.rules\n\n## Serial Monitor\n\nInstall the Serial Monitor plugin in your IDE. You can find it [here](https://plugins.jetbrains.com/plugin/8031?pr=idea).\n\nConfigure it under `File | Settings | Tools | Serial Monitor` and configure your port from the drop down list.\n\n`platformio` can not upload your application to your ardunio while the Serial Monitor is connected.\n\n## Links\n\n[Blog post about Arduino integration by \"Just antoher dev blog\"](http://jandevblog.blogspot.de/2016/01/how-to-use-intellij-idea-to-develop-and.html)\n\n[platformio documentation for CLion integration](http://docs.platformio.org/en/stable/ide/clion.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbaeumer%2Fclionarduinosupport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonbaeumer%2Fclionarduinosupport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbaeumer%2Fclionarduinosupport/lists"}