chaitusvk / duinos

Automatically exported from code.google.com/p/duinos
0 stars 0 forks source link

Not Compile Wir.h DuinOS 0.4 #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Not Compile Wir.h  ( DuinOS 0.4 )
I use BMP085 
(Adafruit-BMP085-Librayr), 

in function ...libraries\Wire\Utility\twi.c 
SDA , SDC  undeclare 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
IDE 1.0  1.01
in Duinos 0.3 + IDE 0.23 all work & compile 

Please provide any additional information below.

Original issue reported on code.google.com by maxm...@gmail.com on 13 Jun 2012 at 8:17

GoogleCodeExporter commented 8 years ago
I use Arduino Nano 328P  ( IDE 1.01 win XP ) latest adafruit library
(  https://github.com/adafruit/Adafruit-BMP085-Library    ) 

I know that Duinos 0.4 is only for UNO
(now I have only nano. Nano - doesn't load sketch for UNO, but for 
compilation-only it isn't important)

the result of compilation for board =  UNO and UNO+DuinOS 0.4 for  IDE 1.01, 
1.0 is various 
In the first case of sketch it is compiled, in the second isn't present
and I not may find where define SDA, SLC  :(

(for blink only scetch is compiled & working but it not intresting ;)    )

the next error compilations - 
C:\arduino\ARD1\libraries\Wire\utility\twi.c: In function 'twi_init':
C:\arduino\ARD1\libraries\Wire\utility\twi.c:76: error: 'SDA' undeclared (first 
use in this function)
C:\arduino\ARD1\libraries\Wire\utility\twi.c:76: error: (Each undeclared 
identifier is reported only once
C:\arduino\ARD1\libraries\Wire\utility\twi.c:76: error: for each function it 
appears in.)
C:\arduino\ARD1\libraries\Wire\utility\twi.c:77: error: 'SCL' undeclared (first 
use in this function)

if i change DuinOS 0.3 + IDE 0023 latest Adafruit library without editing 
DuinOS.H & FreeRTOSConfig.h  All compiled for board & board+DuinOS  (board =  
Uno or Nano 328 chip)
(sorry my english )

Original comment by maxm...@gmail.com on 7 Aug 2012 at 10:18