element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Blog BBB - PRU C compiler
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
BeagleBoard requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 30 Apr 2014 9:36 PM Date Created
  • Views 752 views
  • Likes 5 likes
  • Comments 13 comments
  • beaglebone_black
  • sbc
  • beagleboneblack
  • bbb
  • BeagleBone
  • texas_instructments
  • ti
Related
Recommended

BBB - PRU C compiler

shabaz
shabaz
30 Apr 2014

Nice bit of information at this TI URL:

(My underlining below):

 

PRU Development

The Programmable Real-time Unit (PRU) is a low-latency microcontroller sub-system comprised of two or more 32-bit RISC processors, local instruction and data RAM, local peripherals and an interrupt controller. The PRU is efficient at handing events that have tight real-time constraints. The PRU is also known as the Industrial Communications Sub-System since it is used to enable industrial protocols such as EtherCATÂRegistered, EtherNet/IPâ„¢, PROFINET, PROFIBUS, POWERLINK, SERCOS III, and others. Each 32-bit processor runs at 200MHz, enabling 5ns instruction cycle. Local peripherals within the PRU sub-system include UART, eCAP, MII_RT, MDIO and IEP. The PRUâ€Tms fast input and output pins enable detection and reaction to I/O events within two PRU cycles.

Code Composer Studio provides a C compiler enabling users to add differentiation to their products.

 

(Downloading now! )

 

Anonymous

Top Comments

  • shabaz
    shabaz over 8 years ago in reply to Former Member +1

    Hi Carlo,

     

    I did try the compiler, it worked well! I just did a simple loop, set it to unoptimized and visually inspected the assembler output. I have not yet tried to execute the code though.

    As you say…

  • Former Member
    Former Member over 6 years ago in reply to Former Member +1

    In case anyone comes across this question, I noticed that while installing the Code Composer Studio, at least the Sitara 32-bit ARM Processors compilers should be selected, since the BeagleBone SoC is…

Parents
  • ansarirahim
    ansarirahim 11 months ago

    Is there any need to install code composer studio in beagleboneblack..as i m getting error in beaglebone when i m trying to executing following command to build:

     

    ../blinkLED# make

     

     

    ************************************************************

    Building project: blinkLED

     

     

    Building file: blinkLED.c

    Invoking: PRU Compiler

    /usr/bin/clpru --include_path=/usr/lib/ti/pru-software-support-package/include --include_path=/usr/lib/ti/pru-software-support-package/include --include_path=/usr/lib/ti/pru-software-support-package/include/am335x -v3 -O2 --display_error_number --endian=little --hardware_mac=on --obj_directory=gen --pp_directory=gen -ppd -ppa -fe gen/blinkLED.object blinkLED.c

    "blinkLED.c", line 37: fatal error #1965: cannot open source file "stdint.h"

    1 catastrophic error detected in the compilation of "blinkLED.c".

    Compilation terminated.

     

     

    >> Compilation failure

    make: *** [Makefile:80: gen/blinkLED.object] Error 1

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Comment
  • ansarirahim
    ansarirahim 11 months ago

    Is there any need to install code composer studio in beagleboneblack..as i m getting error in beaglebone when i m trying to executing following command to build:

     

    ../blinkLED# make

     

     

    ************************************************************

    Building project: blinkLED

     

     

    Building file: blinkLED.c

    Invoking: PRU Compiler

    /usr/bin/clpru --include_path=/usr/lib/ti/pru-software-support-package/include --include_path=/usr/lib/ti/pru-software-support-package/include --include_path=/usr/lib/ti/pru-software-support-package/include/am335x -v3 -O2 --display_error_number --endian=little --hardware_mac=on --obj_directory=gen --pp_directory=gen -ppd -ppa -fe gen/blinkLED.object blinkLED.c

    "blinkLED.c", line 37: fatal error #1965: cannot open source file "stdint.h"

    1 catastrophic error detected in the compilation of "blinkLED.c".

    Compilation terminated.

     

     

    >> Compilation failure

    make: *** [Makefile:80: gen/blinkLED.object] Error 1

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Children
No Data
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube