- Tue Feb 08, 2011 11:11 am
#119670
Hi,
I bought an LCD module to use it with . This module consists of a 2.8 tft lcd, a touch screen attached with controller, a camera and an atmega32L which manages all of them on the module and could be commanded from Arduino.
To start with it, I first backed up the code on it (from factory, a test, that when you turn the device on, it shows a hello world like message). So I started to compile the sample source code (that must be compiled to give the same hello world result) as a start point to learn. First small errors where easy to get rid of, but now I came to a point where I can't solve the error message (with the level of knowledge I have). I tried to compile the code in avrStudio 4 (it is unknown to me, with which compiler/IDE the seller prepared the code/hex that was supplied. I provide here the code and please if anybody has the time to help, have a look if you could understand the problem with it.
The error:
../int.c:16: error: 'GICR' undeclared (first use in this function)
But as long a s I know, the def. of this reg. is in general files of compiler, so why it bothers with it?
This is the original supplied sample code: This is my edit, still with minor changes of course: I appreciate a lot your help!
I bought an LCD module to use it with . This module consists of a 2.8 tft lcd, a touch screen attached with controller, a camera and an atmega32L which manages all of them on the module and could be commanded from Arduino.
To start with it, I first backed up the code on it (from factory, a test, that when you turn the device on, it shows a hello world like message). So I started to compile the sample source code (that must be compiled to give the same hello world result) as a start point to learn. First small errors where easy to get rid of, but now I came to a point where I can't solve the error message (with the level of knowledge I have). I tried to compile the code in avrStudio 4 (it is unknown to me, with which compiler/IDE the seller prepared the code/hex that was supplied. I provide here the code and please if anybody has the time to help, have a look if you could understand the problem with it.
The error:
../int.c:16: error: 'GICR' undeclared (first use in this function)
But as long a s I know, the def. of this reg. is in general files of compiler, so why it bothers with it?
This is the original supplied sample code: This is my edit, still with minor changes of course: I appreciate a lot your help!
You do not have the required permissions to view the files attached to this post.