{"id":13642241,"url":"https://github.com/dinuxbg/gnuprumcu","last_synced_at":"2025-12-24T23:13:30.651Z","repository":{"id":80122358,"uuid":"205922107","full_name":"dinuxbg/gnuprumcu","owner":"dinuxbg","description":"Linker scripts and device specs for PRU MCU variants","archived":false,"fork":false,"pushed_at":"2025-11-30T19:24:51.000Z","size":160,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-02T00:12:18.077Z","etag":null,"topics":["beaglebone","pru"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dinuxbg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-02T19:20:00.000Z","updated_at":"2025-11-30T19:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"99f326ec-f60e-40d4-a11a-6c5edbb53938","html_url":"https://github.com/dinuxbg/gnuprumcu","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/dinuxbg/gnuprumcu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinuxbg%2Fgnuprumcu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinuxbg%2Fgnuprumcu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinuxbg%2Fgnuprumcu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinuxbg%2Fgnuprumcu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinuxbg","download_url":"https://codeload.github.com/dinuxbg/gnuprumcu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinuxbg%2Fgnuprumcu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28012096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beaglebone","pru"],"created_at":"2024-08-02T01:01:28.901Z","updated_at":"2025-12-24T23:13:30.601Z","avatar_url":"https://github.com/dinuxbg.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"![build status](https://git.beagleboard.org/beagleboard/gnuprumcu/badges/master/pipeline.svg)\n\n# Device specs and I/O headers for PRU MCU variants\n\n## Introduction\nThis package contains the device [specs](https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html) and I/O headers for the different PRU variants in different TI SoCs.\n\nInstall this package to allow the `-mmcu=` GCC compiler option to pick the correct settings for your board.\n\n## Usage\nLet's say that we're building firmware for PRU0 core from the ICSSG1 instance on [Beagleboard-AI64](https://www.beagleboard.org/boards/beaglebone-ai-64). In such case you must pass the `tda4vm.icssg1.pru0` spec to the GCC's `-mmcu=` command line option, e.g.:\n\n\tpru-gcc -mmcu=tda4vm.icssg1.pru0 -Os -Wall main.c -o firmware.elf\n\nThe above spec would in turn provide the correct IMEM and DMEM memory sizes to the linker. It would also add preprocessor defines to allow distinguishing PRU cores in C and ASM programs. Example:\n\n\t#if defined(__TDA4VM_ICSSG1_PRU0__)\n\t\t/* This C code section will be compiled only\n\t\t * for PRU0 from ICSSG1 on Beaglebone-AI64. */\n\t#endif\n\n\t#if defined(__TDA4VM_ICSSG1__)\n\t\t/* This C code section will be compiled for any\n\t\t * PRU core from ICSSG1 on Beaglebone-AI64. */\n\t#endif\n\n\t#if defined(__TDA4VM__)\n\t\t/* This C code section will be compiled for any\n\t\t * PRU core from any ICSSG on Beaglebone-AI64. */\n\t#endif\n\nFor a full list of supported specs see [here](./MCU-LIST.md).\n\n## Building from GIT\nThe autoconf and automake tools are needed to bootstrap the build scripts.\n\n\tautoreconf -vfi\n\t./configure --prefix=/usr/local --host=pru\n\tmake\n\tmake install\n\n## Building from a released tarball\nUse the standard configure and make steps.\n\n\t./configure --prefix=/usr/local --host=pru\n\tmake\n\tmake install\n\n## Creating Debian Package\n\n\tdebuild -i -us -uc -b\n\tls -l ../gnuprumcu_*.deb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinuxbg%2Fgnuprumcu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinuxbg%2Fgnuprumcu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinuxbg%2Fgnuprumcu/lists"}