Skip to content

How to add library in clpru compiler. #19

Description

@rajmehta28599

Aim: run GCC with Clpru in BeagleBone Black.

Info:
I have BeagleBone Black and I run ws2812B LED strip with PRU. and merge/integrate other data with that to control the led pattern.

so I need help in change the compilation method or learn to integrate it into clpru.

Main code : led.pru0.c
as same : https://beagleboard.org/static/prucookbook/#blocks_neo1

second code : Data_fetch.c
This code use -l:librobotcontrol.so.1 library with GCC compiler to compile Data_fetch.c script. and have one method which provides the number of LEDs (0 to 90), this varies as per battery voltage.

Issue:
So the issue is: The main code compiler is clpru and the second code use GCC compiler for execution. So how do I communicate both codes? or shared resources.

Thank you I will appreciate your response.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions