{"id":7151,"date":"2021-07-15T08:51:41","date_gmt":"2021-07-15T06:51:41","guid":{"rendered":"https:\/\/playembedded.org\/?p=7151"},"modified":"2024-02-24T16:29:38","modified_gmt":"2024-02-24T15:29:38","slug":"how-to-setup-chibistudio","status":"publish","type":"post","link":"https:\/\/playembedded.org\/blog\/how-to-setup-chibistudio\/","title":{"rendered":"How to setup ChibiStudio"},"content":{"rendered":"<h2 class=\"wp-block-heading level_1\" id=\"1_Introduction\">Introduction<\/h2>\n\n\n\n<p>In this article we are going to see how to setup ChibiStudio, an Eclipse-based toolchain that conveniently helps to develop embedded firmware for different microcontroller families. <\/p>\n\n\n\n<p>We are going to install ChibiStudio for Windows 2022-01 but the user should always pick the latest version for his Operating System. Every update of ChibiStudio comes with a newer version of ChibiOS, Compiler and Debugger. Older versions of ChibiStudio, as well as a changelog can be found <a href=\"https:\/\/osdn.net\/projects\/chibios\/releases\/70767\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading level_1\" id=\"2_Step_by_Step_Procedure\">Step by Step Procedure<\/h2>\n\n\n\n<h3 class=\"wp-block-heading level_2\" id=\"3_Get_the_latest_version_of_ChibiStudio\">Get the latest version of ChibiStudio<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <a rel=\"noreferrer noopener\" href=\"http:\/\/www.chibios.org\/dokuwiki\/doku.php?id=chibios:products:chibistudio:start\" target=\"_blank\">Official page of ChibiStudio<\/a> <\/li>\n\n\n\n<li>Download Windows or Linux latest version<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"675\" src=\"https:\/\/playembedded.org\/wp-content\/uploads\/2023\/01\/Downlaod-ChibiStudio-PE-1024x675.png\" alt=\"\" class=\"wp-image-8268\" srcset=\"https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/Downlaod-ChibiStudio-PE-1024x675.png 1024w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/Downlaod-ChibiStudio-PE-300x198.png 300w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/Downlaod-ChibiStudio-PE-150x99.png 150w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/Downlaod-ChibiStudio-PE.png 1093w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><figcaption class=\"wp-element-caption\">Downlaod page of ChibiStudio<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading level_2\" id=\"4_Extract_the_package\">Extract the package<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the downloaded package with 7zip ( download it for free from <a href=\"https:\/\/www.7-zip.org\/\">7-zip.org<\/a>)<\/li>\n\n\n\n<li>Select the folder ChibiStudio<\/li>\n\n\n\n<li>Click on <strong>Extract<\/strong><\/li>\n\n\n\n<li>Choose C:\\ as destination<\/li>\n\n\n\n<li>Press ok<\/li>\n\n\n\n<li>Check that ChibiStudio is located at <strong>C:\\ChibiStudio<\/strong> otherwise the toolchain will not work<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-jetpack-slideshow aligncenter\" data-effect=\"slide\"><div class=\"wp-block-jetpack-slideshow_container swiper-container\"><ul class=\"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper\"><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"727\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-8269\" data-id=\"8269\" src=\"https:\/\/playembedded.org\/wp-content\/uploads\/2023\/01\/ChibiStudio-Extraction-PE.png\" srcset=\"https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-Extraction-PE.png 826w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-Extraction-PE-300x264.png 300w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-Extraction-PE-150x132.png 150w\" sizes=\"(max-width: 826px) 100vw, 826px\"><figcaption class=\"wp-block-jetpack-slideshow_caption gallery-caption\">\nStep by step extraction of ChibiStudio\n<\/figcaption><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"943\" height=\"689\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-8270\" data-id=\"8270\" src=\"https:\/\/playembedded.org\/wp-content\/uploads\/2023\/01\/ChibiStudio-folder-PE.png\" srcset=\"https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-folder-PE.png 943w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-folder-PE-300x219.png 300w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-folder-PE-150x110.png 150w\" sizes=\"(max-width: 943px) 100vw, 943px\"><figcaption class=\"wp-block-jetpack-slideshow_caption gallery-caption\">ChibiStudio in the folder<\/figcaption><\/figure><\/li><\/ul><a class=\"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white\" role=\"button\"><\/a><a class=\"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white\" role=\"button\"><\/a><a aria-label=\"Pause Slideshow\" class=\"wp-block-jetpack-slideshow_button-pause\" role=\"button\"><\/a><div class=\"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white\"><\/div><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading level_2\" id=\"5_Launch_the_toolchain\">Launch the toolchain<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Copy the link <strong>Chibi Studio GCC x.x<\/strong> onto the desktop and double click on this link to launch the toolchain<\/li>\n\n\n\n<li>Check the <strong>Project Explorer<\/strong> contains ChibiOS Tools and Documents<\/li>\n\n\n\n<li>Check the bar title contains the version of ChibiStudio and ChibiOS in use as well as the location of the workspace<\/li>\n\n\n\n<li>Check the toolchain starts with the<strong> perspectives C <\/strong>and <strong>Debug<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"774\" src=\"https:\/\/playembedded.org\/wp-content\/uploads\/2023\/01\/ChibiStudio-first-launch-PE-1024x774.png\" alt=\"\" class=\"wp-image-8271\" srcset=\"https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-first-launch-PE-1024x774.png 1024w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-first-launch-PE-300x227.png 300w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-first-launch-PE-150x113.png 150w, https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-first-launch-PE.png 1154w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><figcaption class=\"wp-element-caption\">How it looks ChibiStudio 2022-01 at the first Launch<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading level_1\" id=\"6_Throubleshoot\">Throubleshoot<\/h2>\n\n\n\n<h3 class=\"wp-block-heading level_2\" id=\"7_My_ChibiStudio_looks_very_different_from_the_picture_above\">My ChibiStudio looks very different from the picture above<\/h3>\n\n\n\n<h4 class=\"wp-block-heading level_3\" id=\"8_Cause\">Cause<\/h4>\n\n\n\n<p>It is probable that some files got corrupted or lost while extracting ChibiStudio. There are a few possible causes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You are not using 7zip as package extractor<\/li>\n\n\n\n<li>You extracted the package in a folder and then copied it under C: and some files got corrupted as their path became longer then 260 characters.<\/li>\n\n\n\n<li>Your antivirus wrongly classified some of the files from ChibiStudio as potential threats and quarantined them.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-jetpack-image-compare\"><div class=\"juxtapose\" data-mode=\"horizontal\"><img loading=\"lazy\" decoding=\"async\" id=\"8281\" src=\"https:\/\/i2.wp.com\/playembedded.org\/wp-content\/uploads\/2023\/01\/ChibiOS-toolchain-wrong-PE.png?ssl=1\" alt=\"\" width=\"1518\" height=\"1007\" class=\"image-compare__image-before\"><img loading=\"lazy\" decoding=\"async\" id=\"8282\" src=\"https:\/\/i1.wp.com\/playembedded.org\/wp-content\/uploads\/2023\/01\/ChibiOS-toolchain-right-PE.png?ssl=1\" alt=\"\" width=\"1525\" height=\"1012\" class=\"image-compare__image-after\"><\/div><figcaption>Incorrect and correct toolchain overview <\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading level_3\" id=\"9_Solution\">Solution<\/h4>\n\n\n\n<p>Clean up the previously extracted folder and start over being sure to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the latest version of 7zip<\/li>\n\n\n\n<li>Extract directly under C:\\<\/li>\n\n\n\n<li>Configure your antivirus for an exception on ChibiStudio files<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading level_2\" id=\"10_My_ChibiStudio_starts_but_I_got_errors_when_building_projects\">My ChibiStudio starts but I got errors when building projects<\/h3>\n\n\n\n<h4 class=\"wp-block-heading level_3\" id=\"11_Cause\">Cause<\/h4>\n\n\n\n<p>It is probable that you extracted ChibiStudio at the wrong path or that your antivirus blocked\/quarantined the compiler executables.<\/p>\n\n\n\n<figure class=\"wp-block-jetpack-image-compare\"><div class=\"juxtapose\" data-mode=\"horizontal\"><img loading=\"lazy\" decoding=\"async\" id=\"8284\" src=\"https:\/\/i2.wp.com\/playembedded.org\/wp-content\/uploads\/2023\/01\/ChibiOS-toolchain-wrong-2-PE.png?ssl=1\" alt=\"\" width=\"1512\" height=\"1007\" class=\"image-compare__image-before\"><img loading=\"lazy\" decoding=\"async\" id=\"8286\" src=\"https:\/\/i1.wp.com\/playembedded.org\/wp-content\/uploads\/2023\/01\/ChibiOS-toolchain-correct-PE.png?ssl=1\" alt=\"\" width=\"1525\" height=\"1012\" class=\"image-compare__image-after\"><\/div><figcaption>Incorrect and correct toolchain overview after building the project <\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading level_3\" id=\"12_Solution\">Solution<\/h4>\n\n\n\n<p>Clean up the previously extracted folder and start over being sure to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the latest version of 7zip<\/li>\n\n\n\n<li>Extract directly under C:\\<\/li>\n\n\n\n<li>Configure your antivirus for an exception on ChibiStudio file<\/li>\n<\/ul>\n\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this article we are going to see how to setup ChibiStudio, an Eclipse-based toolchain that conveniently helps to develop embedded firmware for different microcontroller families. We are going to install ChibiStudio for Windows 2022-01 but the user should always pick the latest version for his Operating System. Every update of ChibiStudio comes with [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":7810,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1270],"tags":[1302],"coauthors":[241],"class_list":["post-7151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-tos","tag-toolchain","green"],"views":16388,"jetpack_featured_media_url":"https:\/\/playembedded.org\/blog\/wp-content\/uploads\/2023\/01\/ChibiStudio-Setup-PE.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/posts\/7151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/comments?post=7151"}],"version-history":[{"count":0,"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/posts\/7151\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/media\/7810"}],"wp:attachment":[{"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/media?parent=7151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/categories?post=7151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/tags?post=7151"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/playembedded.org\/blog\/wp-json\/wp\/v2\/coauthors?post=7151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}