Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

gcc doesn't like __far in pru_cfg.h  #55

Description

@WalterCEden

I'm trying to run the PRU ADC c example at https://github.com/beagleboard/cloud9-examples/blob/master/PocketBeagle/TechLab/.challenges/analogIn.pru0.c

I'm running it with Cloud9's IDE and it's failing on the __far syntax in the pru_cfg.h file. Here's the specific line

volatile __far pruCfg CT_CFG attribute((cregister("PRU_CFG", near), peripheral));

Now I get a far type but this is __far so what's the problem and how do I fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions