Skip to content

Compiling bootloader TRISCCLR and LATCCLR undeclared #51

@Rotario

Description

@Rotario

Hi all,
Using Mplab X IDE v5.3 and latest XC32 compiler with optimisations enabled on ubuntu, just downloading the git repo and trying to clean and build the Majenko ds mini configuration I get the following errors
1.
Assembler error Expression out of range on line 268 of crt0.S

266 _dinit_end:
267 addu SRC,3
268 addiu LEN,$0,0xFFFFFFFC

TRISCCLR undeclared in BoardConfig.h in the following line
#define EnableBootLED() (CAT_3(TRIS,BLedLat,CLR) = (1 << BLedBit))

and LATCCLR undeclared as well

I assume these are macros to control the pin input/output state? Why aren't they declared? am I missing plib or something?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions