Subproject and OalIOCTL's

This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.

Moderator: nferre

inghal
Posts: 1
Joined: Mon Mar 29, 2010 5:08 pm

Subproject and OalIOCTL's

Mon Jun 21, 2010 10:33 am

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
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: Subproject and OalIOCTL's

Mon Jun 21, 2010 12:00 pm

Hi inghal,

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

HTH

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 1 guest