Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Migration from standalone app to DSP/BIOS with the NDK-Socket-API support

$
0
0

It doesn’t help. See please “part of the compiler output with –dCHIP_6747” at the end of this message.

It seems, that csl_chiphal.h from the “C:\CCStudio_v3.3\C6000\csl\include\” directory doesn’t support my C6747. See please “Beginning and a part from csl_chiphal.h” at the end.

When I use one of the supported chips, for example use the preprocessor predefined symbol  CHIP_6413, the is no error “NO CHIP DEFINED”. But compiler returns more than 100 error messages like: 

"csl_mdio.c", line 45: error: identifier "MDIO_Device" is undefined

"csl_mdio.c", line 46: error: identifier "MDIO_Device" is undefined

"csl_mdio.c", line 49: error: identifier "RMII" is undefined “”…..

Vitalii

===== part of the compiler output with –dCHIP_6747 ==========

[csl_mdio.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -o2 -fr"F:/DieArbeit/ProjCCS/MySimpleTCPIP_Client_TryToRebuildHAL/debug" -i"C:/CCStudio_v3.3/AdditionalLibs/ndk_2_0_0\\packages/ti/ndk/inc" -i"C:/CCStudio_v3.3/AdditionalLibs/ndk_2_0_0\\packages/ti/ndk/example/tools" -i"/dsp/include" -d"CHIP_C6747" -d"CHIP_6747" -d"_INCLUDE_NIMU_CODE" -d"_INCLUDE_IPv6_CODE" -d"_NDK_EXTERN_CONFIG" -mv6400+ -@"Custom.lkf" "csl_mdio.c"

"C:/CCStudio_v3.3/C6000/csl/include/csl_chiphal.h", line 267: fatal error: #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)

1 fatal error detected in the compilation of "csl_mdio.c".

Compilation terminated.

=============== Beginning and a part from csl_chiphal.h =======

/******************************************************************************\

*           Copyright (C) 2000 Texas Instruments Incorporated.

*                           All Rights Reserved

*------------------------------------------------------------------------------

* FILENAME...... csl_chiphal.h

* DATE CREATED.. 14 Aug 2000

* LAST MODIFIED. 14 Jan 2004 Adding support for DRI300 versions (6410, 6413)

*                05 Aug 2003 Removing external control cregisters EM,ER,IN,OUT and DIER.

*                26 Jun 2003 Added support for 6411

*                17 Jun 2003 Added support for 6712C

*                28 May 2003 Added support for 6711C

*                05 Nov 2001 DM642 , 6411 remove 6400

*                03 Oct 2001 - CHIP_6713 - MCASP_SUPPORT - IIC_SUPPORT

*                           - PERCFG register

*                           - redefinition of CHIP_RSET() / CHIP_RGET()

*                           - new CHIP_CRSET() / CHIP_CRGET() => modification of csl_irq.h

*                04 Apr 2004-  Removing external control cregisters EM,ER,IN,OUT and DIER.

*                12 Jan 2005-  Removing external control cregisters FMCR,FADCR,FAUCR and GFPGFR

*                06 Apr 2005-  Removing the macros ATLEN,ATLMEN and ADIV according to data manual 

*                              tms320c6410(13)-sprs247 dated: Feb26 2004 specifications. 

* 26 Jul 2005-  Added C++ support.

*------------------------------------------------------------------------------

#define CHIP_OROFALL (\

  CHIP_6201 | \

  CHIP_6202 | \

  CHIP_6203 | \

  CHIP_6204 | \

  CHIP_6205 | \

  CHIP_6211 | \

  CHIP_6701 | \

  CHIP_6711 | \

  CHIP_6712 | \

  CHIP_6713 | \

  CHIP_DA610 | \

  CHIP_DM642 | \

  CHIP_DM641 | \

  CHIP_DM640 | \

  CHIP_6412 | \

  CHIP_6414 | \

  CHIP_6415 | \

  CHIP_6416 |  \

  CHIP_6711C | \

  CHIP_6712C | \

  CHIP_6411 |\

  CHIP_6410 |\

  CHIP_6413 |\

  CHIP_6418 \

)

#if (CHIP_OROFALL==0)

  #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)

#endif

======================================                              LL (\

 


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>