0

Using:

I was able to run my code successfully by modifying the file

[ardunoIDE]\hardware\arduino\avr\variants\standard\pins_arduino.h

building and then flashing the MCU with avrdude.

Is there any way to have Arduino IDE build system pick its pins_arduino.h file from somewhere else ?

asked Apr 17, 2017 at 9:46

1 Answer 1

1

Yes, MiniCore is a self-contained hardware package. After installing MiniCore select one of the MiniCore boards in the Arduino IDE's Tools> Board menu and the Arduino IDE will automatically use the pins_arduino.h file included with MiniCore. There is no need to modify any file in the Arduino IDE folder or any other folder.

answered Apr 17, 2017 at 11:06
2
  • Arduino IDE does not use the pins_arduino.h file included with MiniCore. Can you give me its path on your installation so I can at least check it is there ? Commented Apr 17, 2017 at 11:21
  • 1
    Do this: Select a MiniCore board from the Tools > Board menu, File > Examples > AVR C code examples > Blink, Sketch > Show Sketch Folder, Navigate up 4 folder levels to the 1.0.3 folder. The pins_arduino.h file used for MiniCore boards is located under that folder in the variants/standard folder. Commented Apr 17, 2017 at 12:14

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.