Coder Social home page Coder Social logo

Command Line Build issues about minicore HOT 2 CLOSED

mcudude avatar mcudude commented on August 15, 2024
Command Line Build issues

from minicore.

Comments (2)

per1234 avatar per1234 commented on August 15, 2024

You didn't specify the complete fqbn (fully qualified board name) in your command. In this case the most problematic missing element being clock, but I'd just do the full thing to be safe.

The easiest way to get the correct fqbn is:

  1. File > Preferences > Show verbose output during: > compilation (check) > OK
  2. Select the exact board configuration you want via the various Tools submenus
  3. Sketch > Verify/compile
  4. After the compilation finishes, scroll the black console window at the bottom of the Arduino IDE window all the way to the top. Somewhere along the first line you will see something like this:
-fqbn=MiniCore:avr:168:bootloader=true,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external

So in this case the fqbn you should pass to arduino via the --board option is:

MiniCore:avr:168:bootloader=true,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external

Thus the updated command would be:

/Applications/Arduino.app/Contents/MacOS/Arduino --verify --board MiniCore:avr:168:bootloader=true,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external --verbose --preserve-temp-files src/src.ino

from minicore.

SConaway avatar SConaway commented on August 15, 2024

from minicore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.