Skip to content

PIC Processor ID Constants #7

@necrashter

Description

@necrashter

In picsim.h, some of the PIC processor ID definitions are commented out:

picsim/include/picsim.h

Lines 185 to 198 in cb4ac2e

// FIXME remove all IDs
// P16 processors
#define P16F84A 0x0560
/*
#define P16F628 0x07C0
#define P16F877 0x09A0
#define P16F628A 0x1060
#define P16F648A 0x1100
#define P16F648AICD 0x1120
#define P16F877A 0x0E20
*/
#define P16F777 0x0DE0

Because of this issue, the example in the official docs does not work.

Will the processor IDs be removed in the future? Is it because the differences between these processors are negligible? How should we call pic_init without these constants?

Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions