What is new in version 0.7.2 ?

  1. Support for CONFIG directive
    The old «_CONFIGxy value» assembler directive was deprecated for several years, but was still supported by gpasm with a warning message. Unfortunately, the .inc files coming with new PIC18 devices don't define the CONFIGxy symbols anymore, so the _CONFIG directive cannot be used for these devices.

    This is why cpik now offers a new pragma that allows to use the new CONFIG directive :

    #pragma config key=symbol,...
    

    Please refer to the section 10.4.3 for details.

    Note that the new pragma is also supported by pikdev 1.4, the new version of my IDE.

  2. New supported devices
    cpik now supports all the PIC18 devices that are supported by the new gputils 1.0.0 suite. It means that many new device-headers are provided.

  3. Support for devices with SFR out of access bank
    Some (rare) new devices contain Special Function Registers that cannot be reached in access bank1. Such devices did not exist when cpik has been designed, so the generated code was wrong for them. The fix for this issue has been to change the firstsfr pragma in device-header files. A new version of the inc2h utility has been written for this purpose. See section 21 for details.

  4. Bug fix in structure support
    The code generated for some access to structure members was wrong, due to a missing pair of parentheses.

  5. Other minor bug fixes

Thank you to Jon Hilt who has reported the two previous problems, and fixed one of them.



Footnotes

... bank1
for example: 18F25K22
Alain Gibaud 2015-07-09