{"id":18269057,"url":"https://github.com/nerdcopter/target-convert","last_synced_at":"2025-10-04T13:55:07.120Z","repository":{"id":169147454,"uuid":"645011789","full_name":"nerdCopter/target-convert","owner":"nerdCopter","description":"bf to ef target converter script","archived":false,"fork":false,"pushed_at":"2024-04-16T16:37:27.000Z","size":288,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-17T05:20:20.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerdCopter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-05-24T18:18:06.000Z","updated_at":"2024-04-18T14:52:33.628Z","dependencies_parsed_at":"2023-11-09T23:29:50.707Z","dependency_job_id":"b1bc0763-7e08-41d9-8959-ec5deb57cb95","html_url":"https://github.com/nerdCopter/target-convert","commit_stats":null,"previous_names":["nerdcopter/target-convert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nerdCopter/target-convert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdCopter%2Ftarget-convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdCopter%2Ftarget-convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdCopter%2Ftarget-convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdCopter%2Ftarget-convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdCopter","download_url":"https://codeload.github.com/nerdCopter/target-convert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdCopter%2Ftarget-convert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275457688,"owners_count":25468239,"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-09-16T02:00:10.229Z","response_time":65,"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":[],"created_at":"2024-11-05T11:34:24.634Z","updated_at":"2025-09-16T17:45:41.267Z","avatar_url":"https://github.com/nerdCopter.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmuFlight target conversion script\n\n* This BASH script is a Work-In-Progress.  It downloads and processes target definitions from [Betaflight/config](https://github.com/betaflight/config) and [Betaflight/unified-targets](https://github.com/betaflight/unified-targets) in attempt to convert to EmuFlight targets.  Although functional, it does not account for every combination and still requires human modification to resultant files.\n\n#### Prerequisites:\n* `sudo apt install grep gawk sed coreutils findutils wget git`\n\n#### Clone the repo:\n* `git clone https://github.com/nerdCopter/target-convert.git`\n\n#### Make the script executable:\n* `cd target-convert`\n* `chmod +x ./convert.sh`\n\n#### Parameters:\n* This BASH script expect two parameters:\n  * [unified-target-name] in the format `VEND-TARGETNAME`. (Note the hyphen! Underscore will not work.)\n  * [destination-folder] in POSIX path format.\n\n#### Examples:\n* `./convert.sh DIAT-MAMBAF405_2022B ./`\n* `./convert.sh TURC-TUNERCF405 ./temp`\n* `./convert.sh SPBE-SPEEDYBEE_F745_AIO ../EmuFlight/src/main/target/`\n\n#### Outputs:\n* Creates a target-folder in the format `TARGETNAME` containing `target.mk`, `target.c`, `target.h`.\n* This folder also contains a sub-folder named `resources` which containing downloads and other output.\n\n#### How to compile:\n* Copy or move the new target folder to your EmuFlight's `./src/main/target/` folder.\n* Review and modify the `target.*` files as needed in a text-editor.\n* Compile and test the new target:\n  * `make TARGETNAME`, where TARGETNAME is the new target name (folder name) that was created.\n    * examples: `make TUNERCF405`, `make SPEEDYBEE_F745_AIO`.\n\n#### Pull-Requests to EmuFlight:\n* When making Pull-Requests to EmuFlight, do not include the `resources` sub-folder folder nor its contents. PR's should only include `TARGETNAME/target.*`.\n* Remove all unnecessary comments from the target files.\n\n#### Updating this script:\n* Be sure to keep your clone updated:\n  * `git checkout master ; git pull`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdcopter%2Ftarget-convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdcopter%2Ftarget-convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdcopter%2Ftarget-convert/lists"}