µTasker Forum

µTasker Forum => ATMELTM AT91SAM7X and AVR32 => Topic started by: mikaelo on December 11, 2008, 08:34:02 PM

Title: Can't build CrossWorks sample for Olimex SAM7-EX256
Post by: mikaelo on December 11, 2008, 08:34:02 PM
I change the definition in config.h
Code: [Select]
#ifdef _HW_SAM7X
    //#define SAM7X_EVAL                                                   // evaluation board from ATMEL
    #define OLIMEX_EX256 

and removed the  #if FILE_SYSTEM_SIZE >= (160*1024) parts in app_hw_sam7x.h as suggested in the similar thread earlier.

Now however I get:
Code: [Select]
Build active project — 109 ms — 4 errors
  Building “uTaskerV13” in configuration “THUMB Flash Debug” — 4 errors
    Compiling webutils.c — 4 errors
      H:/ARM_Projects/Applications/uTaskerV1.3/Rowley_SAM7X/../../../stack/webutils.c: In function 'fnVerifyUser':
      'POINTER_USER_NAME' undeclared (first use in this function)
      (Each undeclared identifier is reported only once
      for each function it appears in.)
      'POINTER_USER_PASS' undeclared (first use in this function)
Build failed


and I can't find this definition.


Title: Re: Can't build CrossWorks sample for Olimex SAM7-EX256
Post by: mikaelo on December 11, 2008, 08:40:07 PM
I did find it in a file not included in the project: config-sam7x-reference.h

After copying the section to config.h, it builds.


Mikael
Title: Re: Can't build CrossWorks sample for Olimex SAM7-EX256
Post by: mark on December 11, 2008, 09:26:49 PM
Hi Mikael

This was a manual change required in the user's config.h with SP3.
See the following thread for overview of SP3 changes and any known problems or patches:
http://www.utasker.com/forum/index.php?topic=154.0

Regards

Mark