Menu

#115 Config-Gener problem

open
5
2007-11-13
2007-10-31
Milan
No

MDV 2008, SDCC 2.7, PIKLAB 0.15 PIC18F252

Config-Generator generates wrong code:
code char at __CONFIG1H CONFIG1H = _LP_OSC_1H & _OSCS_OFF_1H;

Compiler answers:
adtest.c:5: error: error 20: Undefined identifier '_LP_OSC_1H'

As I can see in 18f252 headers _LP_OSC_1H doesn't exist,
but _OSC_LP_1H exists.
There are too many bugs in generator.

Discussion

  • Lukáš Karas

    Lukáš Karas - 2007-11-01

    Logged In: YES
    user_id=1686330
    Originator: NO

    C18, PIC18F4620. PikLab crashed when opening configGenerator.
    piklab: version 0.15.0 (rev. distribution)
    ASSERT: "_value!=Nb_Types" in ../../src/common/common/purl_base.h (61)
    KCrash: Application 'piklab' crashing...

     
  • Nicolas Hadacek

    Nicolas Hadacek - 2007-11-13

    Logged In: YES
    user_id=130070
    Originator: NO

    The crash should be fixed in the development sources.

    I'm slowly trying to fix the config names for SDCC; it is a real pain since they use different names from GPUtils and it's not even the same for different devices...

     
  • Nicolas Hadacek

    Nicolas Hadacek - 2007-11-13
    • labels: --> Graphical Interface
    • assigned_to: nobody --> azhyd
     

Log in to post a comment.