I'm writing the code for my Arduino board using Code::Blocks editor. When I create a new project, there is AVR Project and Arduino Project under Projects category. Which one do I select?

  • @chrisl - This looks like an answer. Please make it an answer. Comments on questions are for clarifying the question. To "answer" like this make the SE software think no-one has answered.
    – Nick Gammon
    Sep 17, 2020 at 7:28

1 Answer 1


You can select, what you want. If you want to build an Arduino Project, you should choose "Arduino Project". If you don't want to use the Arduino Framework, you can choose "AVR Project".

  • how do I set the path to arduino.h and other headers?
    – Nederealm
    Sep 17, 2020 at 8:10
  • Under project build options, Arduino UNO (which is the version I have) I can see my path is set to $(ARDUINO_DIR)\libraries but isnt compiling
    – Nederealm
    Sep 17, 2020 at 8:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.