#119 Don't test pdata for PIC16

closed-fixed
Borut Ražem
None
5
2008-09-12
2008-09-12
Mauro Giachero
No

This patch removes the pdata part of zeropad.c for PIC16 targets,
which don't support it.
Regards
Mauro

Discussion

  • Borut Ražem
    Borut Ražem
    2008-09-12

    Wouldn't it be better solution to
    #define pdata
    or
    #define pdata data
    in testfwk.h?

    #if defined(SDCC_pic16)
    # define idata data
    # define xdata data
    # define pdata data
    #endif

    Borut

     
  • Maarten Brock
    Maarten Brock
    2008-09-12

    Yes, that would be my recommendation too.

     
  • Borut Ražem
    Borut Ražem
    2008-09-12

    Defined pdata as data for pic16 target in support/regression/fwk/testfwk.h.
    Fixed in svn revision #5235.

    Borut

     
  • Borut Ražem
    Borut Ražem
    2008-09-12

    • assigned_to: nobody --> borutr
    • status: open --> closed-fixed