Pages: [1]   Go Down
Author Topic: 'boards.txt' equivalent on mac?  (Read 1639 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,
     I am trying to use an Arduino Pro Micro 5v/16mhz with the Arduino 1.0 software on mac.  The chip I am using is from sparkfun.

http://www.sparkfun.com/products/10998

The installation tutorial says I should choose the 'Arduino Leonardo board' option in the 'boards' list but
it is not listed.

The tutorial for pc installation says you can edit the boards.txt file to enable the leonardo option in the
list but I cannot find the mac equivalent of this file.

Anyone know where the mac equivalent of the 'boards.txt' file is kept? or is there an alternative compatible board I can pick. I have searched in all folders and cannot find anything apart from the
Arduino prefs file. This has no boards options.

When I plug in the board the mac recognises it as an 'Arduino Leonardo'.  Arduino software is the latest version.

any help greatly appreciated

Thanks
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8081
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can create your own 'boards.txt' file in the 'hardware' folder inside your sketch folder:

    Documents/Arduino/hardware/boards.txt
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok so, solved it. Thanks for your help John but that method did not work for me.


For anyone else who needs to know how to do this.  Find the 'Arduino' application in Finder

Right click

select 'Show Package Contents'

navigate to Contents/Resources/Java/hardware/Arduino

The mac version of boards.txt is hidden deep in there.  You can change or replace the boards.txt here.

To activate the 'Arduino Leonardo' board option you have to remove all the annotations (hashes - sorry can't find the key on bloody mac) from the start of every Leonardo line, then save.

This must be done with Arduino closed as I believe it will overwrite the file when you close it.



« Last Edit: March 01, 2012, 08:10:37 pm by Fnordcorps » Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 64
Posts: 6055
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

(hashes - sorry can't find the key on bloody mac)

Try Option-3.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Pages: [1]   Go Up
Jump to: