Pages: [1]   Go Down
Author Topic: IDE included libraries  (Read 7197 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

Small suggestion for future versions of IDEs:
It should include all basic libraries, at the moment I noticed that there are missing (at least some) AVR library files like io.h and some others and I must find and download these files separately somewhere from internet. May be I overlooked something but searching these files from arduino installation folder I didn't found them.

Right now I'am using Arduino 1.5.6-r2 BETA Windows version of IDE.
Logged

0
Offline Offline
Edison Member
*
Karma: 64
Posts: 1634
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You should not need to download files like io.h.  This file should be included from here by the compiler.

arduino-1.5.6-r2/hardware/tools/avr/avr/include/avr
Logged

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

hmm, weird, IDE didn't found it itself, should I show these files locations manually  to IDE where they are?
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 133
Posts: 6752
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You realize it should be
Code:
#include <avr/io.h>
Logged

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

yes, I know
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 133
Posts: 6752
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, post an example of a non-working sketch or library, or we're all just guessing.
Note that the arduino IDE will normally include io.h for you in .ino sketch files, so you don't even need to #include it yourself.
Logged

Pages: [1]   Go Up
Jump to: