Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Subproject and OalIOCTL's
PostPosted: Mon Jun 21, 2010 10:33 am 
Offline

Joined: Mon Mar 29, 2010 5:08 pm
Posts: 1
Hi,
I am working with the AT91SAM9G45M10EK BSP. I have created an application as an subproject in Visual Studio/Platform Builder. From this application I want to access the OalIOCtlHalShutdown function. I have included the atmel_oal_ioctl. h file in my application c file and added this line to the sources file:
INCLUDES= \
$(_WINCEROOT)\PLATFORM\COMMON\SRC\SOC\ATMEL\COMMON\INC\IOCTL; \

But I get this error when I build my subproject:
NMAKE : U1073: don't know how to make 'C:\WINCE600\OSDesigns\SPM_ATMEL_OS\SPM_ATMEL_OS\Wince600\SPM_P105_ATMEL_BSP_ARMV4I\cesysgen\sdk\lib\ARMV4I\debug\coredll.lib'

My questions are: Is it possible to access the OALIoCtl functions from an subproject application? What do you have to add in the sources files etc?
Obviously I am doing something wrong..
Best regards
Ingemar H


Top
 Profile  
 
 Post subject: Re: Subproject and OalIOCTL's
PostPosted: Mon Jun 21, 2010 12:00 pm 
Offline

Joined: Fri May 14, 2004 9:58 am
Posts: 183
Location: France - USA
Hi inghal,

Please try using the SetSystemPowerState function instead of using Kernel IOCTL's.

HTH


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron