Author Topic: Can't build CrossWorks sample for Olimex SAM7-EX256  (Read 10056 times)

Offline mikaelo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Can't build CrossWorks sample for Olimex SAM7-EX256
« 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.



Offline mikaelo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Can't build CrossWorks sample for Olimex SAM7-EX256
« Reply #1 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

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: Can't build CrossWorks sample for Olimex SAM7-EX256
« Reply #2 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