This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to check the PRU functionality in WinCE 7 for AM335x??

Dear Developers,

Greetings!!

As, I have already seen that there is support from TI side for PRU. http://processors.wiki.ti.com/index.php/WinCE-BSP_ARM-A8_User_Guide#PRU_Driver dadasdadadad

I am using AM335x BSP for Wince7 and I have seen that the pru functionality is there under CSP/COMMON_TI_VI/AM33x/PRU and when I compile that I can that its generating the corresponding library. Now I have a project in under Driver/PRU/ce_pru_driver that contains .def file, sources file and makefile

.def file contains the below code:

;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
; install media.
;
;

LIBRARY prudrvr
EXPORTS
PRU_Init
PRU_Deinit
PRU_Open
PRU_Close
PRU_Read
PRU_Write
PRU_Seek
PRU_PowerUp
PRU_PowerDown
PRU_IOControl


; PRU_DRV_getInstHandle
; PRU_DRV_releaseInstHandle
; PRU_DRV_configBaudRate
; PRU_DRV_configWordSize
; PRU_DRV_transmit
; PRU_DRV_receive
; PRU_DRV_registerIrqCallback
; PRU_DRV_stopTx
; PRU_DRV_getLineStatus

sources file contains the following code:

!if 0
Copyright (c) MPC Data Limited 2011. All rights reserved.
!endif

!IF "$(BSP_PRU)" != "1"
SKIPBUILD=1
!ENDIF

TARGETNAME=prudrvr
RELEASETYPE=PLATFORM
TARGETTYPE=DYNLINK
SYNCHRONIZE_DRAIN=1
CDEFINES=$(CDEFINES) -D__GNUC__
DEFFILE=prudrvr.def
DLLENTRY=DllEntry

SOURCELIBS= \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\pru_ce_driver.lib \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\pru_hal_uart.lib \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\pru_hal_common.lib \

TARGETLIBS=\
$(SG_OUTPUT_ROOT)\sdk\lib\$(_CPUINDPATH)\coredll.lib \
$(_PLATLIB)\$(_CPUDEPPATH)\ceddk.lib \

SOURCES=

But when I compile the code of ce_pru_driver, I am facing the compilation issue as :

UILD: [00:0000000648:WARNN ] C:\WINCE700\platform\AM335xPhytec\SRC\DRIVERS\PRU\ce_pru_driver\: Missing source file: C:\WINCE700\OSDesigns\KT\KT\Wince700\AM335xPhytec_ARMV7_Retail\cesysgen\platcomm\AM335xPhytec\lib\ARMV7\retail\pru_hal_uart.lib.
BUILD: [00:0000000649:WARNN ] C:\WINCE700\platform\AM335xPhytec\SRC\DRIVERS\PRU\ce_pru_driver\: Missing source file: C:\WINCE700\OSDesigns\KT\KT\Wince700\AM335xPhytec_ARMV7_Retail\cesysgen\platcomm\AM335xPhytec\lib\ARMV7\retail\pru_hal_common.lib.
BUILD: [00:0000000650:PROGC ] Building EXPLIB Pass in C:\WINCE700\platform\AM335xPhytec\SRC\DRIVERS\PRU\ce_pru_driver\ directory.
BUILD: [00:0000000671:PROGC ] Building EXPLIB Pass in C:\WINCE700\platform\AM335xPhytec\SRC\DRIVERS\NLED\ directory.
BUILD: [00:0000000676:PROGC ] Building EXPLIB Pass in C:\WINCE700\platform\AM335xPhytec\SRC\DRIVERS\DCAN\ directory.
BUILD: [01:0000000706:ERRORE] Error(s) in directory "C:\WINCE700\platform\AM335xPhytec\SRC\DRIVERS\PRU\ce_pru_driver\".
BUILD: [01:0000000707:ERRORE] NMAKE : fatal error U1073: don't know how to make 'C:\WINCE700\OSDesigns\KT\KT\Wince700\AM335xPhytec_ARMV7_Retail\cesysgen\platcomm\AM335xPhytec\lib\ARMV7\retail\pru_ce_driver.lib'

I dont know what is missing and where???