How to add support for custom boards in Arduino 1.6.2?

Go To Last Post
19 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all!

 

In previous versions of Arduino (i.e. 1.5.x versions) there was a way to adding custom boards with editing boards.txt and other files in <Arduino Ins. Dir>\hardware\arduino\avr ..

but in 1.6.2 version (and maybe 1.6.1 too) these files not exists, instead there is a "Boards Manager..." in Arduino Tools>Board that just can add support for other Arduino Original Boards..

 

now my question is that Is there any way to add custom board in this version of Arduino?

Last Edited: Wed. Apr 1, 2015 - 10:51 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Of course while there are many Arduino user here there are a LOT more users in the actual Arduino forum at http://arduino.cc/

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You have exactly the same arrangement.   i.e. C:\Program Files\Arduino-1.6.1\hardware\arduino\avr has got "boards.txt" and "programmers.txt"

 

It looks as if you can configure some other things in "platforms.txt"

 

And if you want to make a distinct grouping,   you can always create another directory e.g. C:\Program Files\Arduino-1.6.1\hardware\arduino\tiny

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have Teensy 3 and Teensy low-cost (ARMs)  working with 1.6.1 and Free VIsual Studio 2013 Community and free Visual Micro.

I'll wait a while for 1.6.2. To much warpaint flying now.

 

 

Last Edited: Wed. Apr 1, 2015 - 12:21 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think 1.6.2 has added the ability to easily "omit" and official boards (someone said it doesn't even unpack the ARM compiler anymore) , but the way you add custom boards is essentially the same (keeping in mind that you may have to add an official ARM board to get the ARM compiler included.)

 

I think this is a good think.  The "Boards" menu was getting pretty busy; mostly with boards that any particular user wouldn't find relevant.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Downloaded and installed 1.6.2, they wanted ME to contribute to them instead of THEM contributing to me!! What a hide!! devil

 

I didn't see anything spectacularly different from 1.05 or 0022 but I only look at the thing once a year or so.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The big change for AVR users is that 1.6.x upgrades the C compiler to 4.8.x, and uses a compiler toolchain built from source, rather than (ancient) WinAVR.

1.6 is also the first release where there is official support for ARM chips.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ah-ha.    I had assumed you were talking about v1.6.1 which seems to have conventional support for boards.txt etc.

 

I have just downloaded and installed v1.6.2

1.  this removed any support for ARM

2.  it mangles the "board.txt" files into a ZIP somewhere

3.  "Board Manager" just reports that "There is no internet connection available.   The list of boards is not complete.  ..."

 

My "Zero Pro" board should arrive today.   It looks as if there is no "Arduino support"

 

David.

 

Edit.   I have discovered a v1.7.0 that comes from Arduino.s.r.l that appears to support ARM boards (and the Zero Pro)

The v1.7.0 installer does not allow you to Uninstall the v1.6.2 properly.    It is also a nightmare for "USB Driver" packages.

At least the v1.6.2 installer works pretty smoothly.   Even if you want to re-install v1.6.1 immediately that you discover the 1.6.2 "features".

Last Edited: Wed. Apr 1, 2015 - 09:05 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:

Of course while there are many Arduino user here there are a LOT more users in the actual Arduino forum at http://arduino.cc/

Yes.. but i prefer to place this question where Arduino and AVR fans working together ;-)

stevech wrote:

I have Teensy 3 and Teensy low-cost (ARMs)  working with 1.6.1 and Free VIsual Studio 2013 Community and free Visual Micro.

I'll wait a while for 1.6.2. To much warpaint flying now.

Yes. maybe "wait" is only answer that is available now...

westfw wrote:

I think 1.6.2 has added the ability to easily "omit" and official boards (someone said it doesn't even unpack the ARM compiler anymore) , but the way you add custom boards is essentially the same (keeping in mind that you may have to add an official ARM board to get the ARM compiler included.)

 

I think this is a good think.  The "Boards" menu was getting pretty busy; mostly with boards that any particular user wouldn't find relevant.

With previous versions of arduino i could use the arduino IDE for programming custom AVR MCUs.. It was so great. but now there is now way to do that.
This is deposit of the Arduino "Open Source" Slogan. . .

js wrote:

Downloaded and installed 1.6.2, they wanted ME to contribute to them instead of THEM contributing to me!! What a hide!! devil

 

I didn't see anything spectacularly different from 1.05 or 0022 but I only look at the thing once a year or so.

:-)

westfw wrote:

The big change for AVR users is that 1.6.x upgrades the C compiler to 4.8.x, and uses a compiler toolchain built from source, rather than (ancient) WinAVR.

1.6 is also the first release where there is official support for ARM chips.

Yes... These are some of reasons that makes me using 1.6.2 version of Arduino IDE :-)

david.prentice wrote:

Ah-ha.    I had assumed you were talking about v1.6.1 which seems to have conventional support for boards.txt etc.

 

I have just downloaded and installed v1.6.2

1.  this removed any support for ARM

2.  it mangles the "board.txt" files into a ZIP somewhere

3.  "Board Manager" just reports that "There is no internet connection available.   The list of boards is not complete.  ..."

 

My "Zero Pro" board should arrive today.   It looks as if there is no "Arduino support"

 

David.

 

Edit.   I have discovered a v1.7.0 that comes from Arduino.s.r.l that appears to support ARM boards (and the Zero Pro)

The v1.7.0 installer does not allow you to Uninstall the v1.6.2 properly.    It is also a nightmare for "USB Driver" packages.

At least the v1.6.2 installer works pretty smoothly.   Even if you want to re-install v1.6.1 immediately that you discover the 1.6.2 "features".

:-)
- ARM is supported too, but you should try many times to download it!
- it's zipped somewhere?? maybe is a clue to answer my question..! Can you give more information about that?
- v1.7.0?? where is it? my googling gives no result...

Last Edited: Wed. Apr 1, 2015 - 12:43 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for mentioning "Arduino SRL". I never knew all about this...

 

http://hackaday.com/2015/03/12/a...

 

So two different "Arduino" companies! No wonder they are litigating.

Last Edited: Wed. Apr 1, 2015 - 12:54 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I suspect that most Arduino AVR users will want the straightforward v1.6.1

Life should go on in much the same way as v1.0.5 or v1.0.6 releases.

You should be able to add Teensy or Tiny quite easily.

 

I have ordered a Zero Pro from Cool Components.    I expect it to arrive today or tomorrow.

Since it uses a SAMD21 cpu,   it needs specific Arduino core library.

 

I doubt if there has ever been much interest in the DUE.   But at least the v1.7.0 release from Arduino SRL supports the DUE and the ZERO PRO.

 

As far as I can see,   battles between two Arduino companies seems a nightmare.

Especially when one company seems to be pushing the seriously flawed v1.6.2 when v1.6.1 was working.

 

David.

Last Edited: Wed. Apr 1, 2015 - 01:09 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

WOW!! There is another world...! That was Unknown before....:-D

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:

Thanks for mentioning "Arduino SRL". I never knew all about this...

Mentioned here: https://www.avrfreaks.net/comment...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And just to add a bit more to the thread, not sure if it is relevant.

 

Last night I spent an  hour or more trying to get AS4.18 working again, it did work once and programmed a chip, then I started debug and things went crazy, some form of MFC error stopped any programs from compiling.

 

Deleted all of Studio and started reinstalling it. The antivirus went crazy and started deleting some AS4.18 installation files claiming they were infected when I know they were not.

 

Finally I uninstalled Arduino 1.62, cleaned up Studio folder and left overs, got the install files from another computer as some of ones on this computer were zapped and things settled down.

 

Just in case this happens to anyone else, it is possible that some Arduino files installs something which conflicts with Studio and the antivirus triggers.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

With previous versions of arduino i could use the arduino IDE for programming custom AVR MCUs.  ... but now there is now way to do that.

 I'd be very surprised if that were true.  "I haven't figured it out yet" is not the same as "it doesn't exist."

(I've been told that this is for better windows compatibility.  You know, because windows applications MUST be spread out all over the freaking disk.  Sigh.)

 

(Those defenses given, this does seem to have been a pretty massive changed to have gone in between .1 and .2 revisions, and without much discussion on the arduino "developer" mailing list, either (at least, not that I saw))

 

(on another note, 1.5.x and later, as I mentioned, now have "built-from-source" tools.  That means that they no longer contain a bunch of the "lesser" utilities that used to get lumped in with WinAVR/Crosspack.  In particular, no "Make."  So while an Arduino install used to sufficient for stand-alone avr development (just set the paths right), it isn't any more.  This has broken the ability for users to recompile the optiboot bootloader without installing additional tools, for example.  Sigh.)

 

Last Edited: Wed. Apr 1, 2015 - 10:58 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If asked to choose between bamboo shoots under the fingernails and the Arduino IDE, I take the former.

Fortunately, Free Visual Studio 2013 Community + Visual Micro for AVR and ARM, eliminates both of the above.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

I asked this before, perhaps you missed it? How on earth does VS2013 do AVR simulation and debugging? Are you somehow able to use "atbackend" from AS6 with VS2013?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This message was posted describing the board and library management features present in 1.6.3 (avoid 1.6.2, apparently)

https://groups.google.com/a/ardu...

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

finally there is no way to do that in v1.6.2

but in 1.6.3 maybe there is some clues..

 

tanx from all avrfreaks :-)