CodeBlocks Arduino IDE

Download | Screenshots | Changelog | Forum


CodeBlocks Arduino IDE is a customized distribution of the open-source Code::Blocks IDE enhanced for Arduino development. It provides more demanding software developers with everything a modern IDE should have including code foldering, code completion, code navgiation, compiling as well as uploading for Arduino. With a dedicated project wizard, it’s easy create a ready-to-go Arduino project. The distribution integrates latest Arduino core files, standard Arduino libraries, AVR toolchain, Arduino Builder, a serial terminal and most interesting, an API-level Arduino simulator (under development).



  1. dedicated project wizard for Arduino development
  2. integrated Arduino core files and libraries
  3. compiled core files cached for faster compiling speed (comparing to original Arduino IDE)
  4. integrated pre-configured AVR compiler toolchain
  5. popular Arduino boards supported as build targets
  6. uploading HEX to Arduino boards (Leonardo supported) by running the built target
  7. Arduino API-level simulator (very early stage) integrated (as a build target)



Download CodeBlocks Arduino IDE (Windows build)

Installation Guide (for Linux)


Release 20140626

  • Updated to CodeBlocks 13.12
  • Minor bugfix

Release 20130704

  • Updated with Arduino 1.0.5 core and library files
  • Minor bugfix

Release 20130428

  • Improved Arduino Builder integration with CodeBlocks (no need to close the window after uploading)
  • Updated several Arduino libraries (OBD, MPU6050, MultiLCD)
  • Compile with -O2 instead of -Os when target MCU has 64KB or larger program memory

Release 20130402

  • Fixed a minor Microduino compiliation issue
  • Fixed stop running button not terminating simulation process bug
  • All compiled files now stored in build directory in project path
  • Improving user experience of project wizard in several aspects
  • Re-added “Simulator – Debug” target for debugging in simulation

Release 20130329

  • Automatically building referenced Arduino libraries
  • Built Arduino core files now cached for improving project building speed
  • Fixed issues with Microduino
  • Fixed a bug causing wrong board type choice on uploading
  • Arduino Builder 0.8.3

Release 20130324

  • Updated Arduino core and library files to 1.0.4
  • Arduino Builder 0.8.1

Release 20130322

  • Including project folder in include file search path by default
  • Arduino Builder 0.8.0

Release 20130319

  • Added opening serial terminal right after uploading
  • Updated Arduino Uploader to 0.7.1

Release 20130311

  • Added MCU operating frequency option (16/12/8 Mhz)
  • Added support for Microduino Core+ (ATMega644PA)
  • Updated Arduino Uploader to 0.7.1

Release 20130308

  • Windows XP compatibility issue fixed
  • Arduino Uploader updated
  • Added “-lm” option in linking command line

Release 20130302

  • Using Arduino Uploader GUI version for uploading
  • Changed default sketch file extension from .cpp to .ino

Release 20130224

  • Fixed processing execution path bug (when the path has whitespace)
  • Simulation target changed to ATMega2560 from ATMega328
  • Serial UART simulation (4 serial UARTs) with hardware serial port on PC

Release 20130219

  • Arduino Uploader updated to 0.5.4
  • Run button (also Compile and Run menu) on IDE now uploads the compiled sketch to Arduino

Release 20130214

  • Based on latest CodeBlocks 12.11
  • Added build targets of Arduino Leonardo, Esplora and Micro
  • Integrated Arduino Uploader for uploading (supporting Leonardo)
  • Fixed Arduino MEGA 2560 uploading issue
  • Added “Upload to Arduino” menu item in Tools menu and allowing choosing among available serial ports for uploading

Release 20120613

  • Added USBASP upload with chip encryption
  • Minor fixups
  • Updated GCC 4.7

Release 20120604

  • Fixed SD card library issue with Arduino MEGA
  • Defining USE_XXXX=1 in project settings to enable reference to a library
  • Updated OBD-II library

Release 20120525

  • Updated Arduino core files to version 1.0.1

Release 20120516

  • Fixed simulator target build error with sample project
  • Fixed wrong baudrate setting for ATmega168 based boards
  • Updated OBD library

Release 20120416

  • Initial simulation implementation (very limited)
  • Integrating Mingw GCC for building simulation target

Release 20120326

  • Added support for more boards
  • Board type chosen as project build target
  • Several minor tweaks

Release 20120228

  • Added Arduino Nano and Mini in board selection
  • Fixed Arduino Mega binary not correctly built issue
  • Fixed an include path issue

9 Responses to CodeBlocks Arduino IDE

  1. Stanley

    a fantastic idea. I have been using CodeBlocks as an external editor (and compiling via the Arduino GUI) plus I have down some direct compilation of native AVR and also using the technique at, but your method is way better for many situations.

    I have run this under WINE on Linux (Ubuntu 11.1) and it works well.

    I have made a start at placing your changes into a Linux build of CB and have got the wizard to run and create a project, but can’t get it to compile.

    Compiling: cores/arduino/CDC.cpp
    In file included from /usr/include/inttypes.h:26:0,
    from cores/arduino/Platform.h:5,
    from cores/arduino/CDC.cpp:19:
    /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
    compilation terminated.
    Process terminated with status 1 (0 minutes, 1 seconds)
    1 errors, 0 warnings

    I added “/usr/include/i386-linux-gnu/” to compiler path – but this did not fix the issue (worked for the JohnHenryHammer method!).

    I am keen to get this working for all platforms, and also as an “addon” install, so that there is no need to have multiple installs of CB (as some people do use CB for other uses!).


    ps I hope to catch you at XCJ!

    • Finally I got some feedbacks on this project. 😉
      I use it for all my arduino developments but few people tell me they are intereted in this.
      You can temporarily remove CDC.cpp from the project to see if you can get through.
      Maybe I should release a Linux distribution soon.

  2. i have to say…your project is more than beautiful! i just downloadet it! i am new to arduino’ s enviroment an di will go on reading for it! thank you for your “share”!

    • Thanks for your compliment. It’s still under develop so many parts of it is still not so beautiful but I am improving it all the time.

  3. Pingback: CodeBlocks Arduino Edition updated with Arduino core version 1.0.1 | Develop with Arduino

  4. Hello, let me first congratulate you on a great site, lots of information for me here. I was looking at the Code::Blocks program and noticed that the Arduino customisation isn’t for a Mac, what do I need to do to to convert it to run on my Mac. I have the Crosspack and ADVDude installed from my attempt to get Eclipse working but found it was just too hard. Is it just a matter of moving some files?

    • The release is for Windows only. I will post an article about how to make it work on MAC and Linux.

  5. Firstly, BIG kudos on this wizard! It’s so much easier than the one that comes with the arduino with a LOT of features. Great work to the community!

    I need help with the following:

    I’ve been trying to add additional libraries to the arduino wizard however I cannot get the ones installed to show so maybe I am missing something. Here is what I did:

    I also added the libraries in the folder:

    There are several libraries that still do not show up even after the changes to the script and I am not sure why they are not.

    Can’t seem to understand what other changes need to be done. Would appreciate your pointers on how to resolve this…


  6. Pingback: An alternative IDE for Arduino development – CodeBlocks « freetronicsblog