Include ed lib in OPEN AT v400 b1


#1

i worked with ed lib v3.10 for module M1306B
ed lib was included successfully

now i have the 2686 and open at 4
and i have linker error for all ed lib functions

/cygdrive/c/Wavecom/Tst/gcc/out/hello_world.c:89: undefined reference to `ed_SendDataExt’

project mak file listing:

#------------------------------------------------------------------------------

Include this file only one time

#------------------------------------------------------------------------------
ifndef MAKEFILE_INCLUDED
MAKEFILE_INCLUDED = YES

#------------------------------------------------------------------------------

Library module (lib) or Binary module (bin)

#------------------------------------------------------------------------------
PROCESS = bin

#------------------------------------------------------------------------------

Set the used Api for Open-AT : ADL or OAT (standard Open-AT API)

#------------------------------------------------------------------------------
API = ADL

#------------------------------------------------------------------------------

Use the old task interface (ON/OFF)

#------------------------------------------------------------------------------
USE_OLD_TASK_INTERFACE = {USE_OLD_TASK}

#------------------------------------------------------------------------------

Set GCC Call Stack factor (to increase Call Stack size automatically for GCC compiler)

#------------------------------------------------------------------------------
GCC_STACK_SIZE_FACTOR =

#------------------------------------------------------------------------------

List of source files of the library or executable to generate

#------------------------------------------------------------------------------
SRC_C_LIST =
nx19.c
hello_world.c
convert.c \

#------------------------------------------------------------------------------

List of assembler files of the library or executable to generate

#------------------------------------------------------------------------------
SRC_ASM_LIST = \

#------------------------------------------------------------------------------

List of objects real names to use for making binary file

#------------------------------------------------------------------------------
EXTERNAL_OBJ_LIST = \

#------------------------------------------------------------------------------

List of objects prefixed names to use for making binary file

#------------------------------------------------------------------------------
PREFIXED_OBJ_LIST = \

#------------------------------------------------------------------------------

List of libraries real names to use for making binary file

#------------------------------------------------------------------------------
EXTERNAL_LIB_LIST =
/cygdrive/C/OpenAT/Tools/GCC/4.0.1.0/arm-elf/lib/thumb/interwork/libm.a \

#------------------------------------------------------------------------------

List of libraries prefixed names to use for making binary file

#------------------------------------------------------------------------------
PREFIXED_LIB_LIST = \

#------------------------------------------------------------------------------

Add-on used library list (as TCP/IP library, for example)

#------------------------------------------------------------------------------
OTHER_LIB_LIST =
TCPIP \

#------------------------------------------------------------------------------

Compilation flags

#------------------------------------------------------------------------------
PP_OPT_COMMON =
OAT_API_VERSION=400 \

#------------------------------------------------------------------------------

Path for code C files

#------------------------------------------------------------------------------
PATH_C =
…/…/src \

#------------------------------------------------------------------------------

Path for code ASM files

#------------------------------------------------------------------------------
PATH_ASM = $(PATH_C)

#------------------------------------------------------------------------------

Path for include C files

#------------------------------------------------------------------------------
PATH_H =
…/…/inc
…/…/itf
C:OpenATToolsGCC4.0.1.0arm-elflib
/cygdrive/C/OpenAT/V400.b01/TgtGen/Add-ons/TCPIP/inc \

#------------------------------------------------------------------------------

Path for include ASM files

#------------------------------------------------------------------------------
PATH_I = $(PATH_H)

#------------------------------------------------------------------------------

Absolute paths for Object files

#------------------------------------------------------------------------------
PATH_EXT_OBJ = \

#------------------------------------------------------------------------------

Root paths for Object files

#------------------------------------------------------------------------------
PATH_ROOT_OBJ = \

#------------------------------------------------------------------------------

Absolute paths for Library files

#------------------------------------------------------------------------------
PATH_EXT_LIB = \

#------------------------------------------------------------------------------

Root paths for Library files

#------------------------------------------------------------------------------
PATH_ROOT_LIB = \

endif


#2

Hello Bulat,

I don’t advise you to develop IP application with edlib for 2686. It is waste of time now, because there will be no final edlib libary. Wavecom changed to WIP, which has final TCP socket implementation and it works quite well.
Get the latest 4.10 OAT (WIP included) and develop for WIP, because the future is that.

Best Regards,

tom


#3

Hello tomalex,

What if i already have written a program that uses the EDLIB from OPEN AT 3.02, can i use it on newer firmwares on newers Q2406B modules ?

Or, if not, can i downgrade the newer Q2406 modules ?

Thank you.


#4

Answer for bruno…:
http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=16&t=2239&p=8276#p8276