µTasker Forum

µTasker Forum => µTasker general => Topic started by: hervé on January 06, 2010, 03:57:14 PM

Title: VLAN
Post by: hervé on January 06, 2010, 03:57:14 PM
Hello Mark,

I activated the SUPPORT_VLAN but got the following errors :

Code: [Select]
.\ObjectFiles\TGIP_BM.axf: Error: L6218E: Undefined symbol vlan_active (referred from ethernet.o).
.\ObjectFiles\TGIP_BM.axf: Error: L6218E: Undefined symbol vlan_vid (referred from ethernet.o).

It looks like some files are missing, isn't it?
Title: Re: VLAN
Post by: mark on January 06, 2010, 05:35:49 PM
Hi Hervé

These are two global variables that need to be supplied by the application:

#ifdef SUPPORT_VLAN
    extern int vlan_active;
    extern unsigned short vlan_vid;
#endif


VLAN operation is enabled and disabled by the application setting vlan_active to 0 or 1

vlan_vid is the identifier to be used, which can be changed by the application during operation if needed.

Unfortunately VLAN was added quite a long time ago and this operation, although very simple, is not particularly typical of the project. It was probably described in a release note at the time but I don't know of any other documentation. It is however quite a simple operation so shouldn't cause any problems...

Regards

Mark

Title: Re: VLAN
Post by: hervé on January 07, 2010, 03:44:38 PM
Thanks for your comments