MyGit

stylesuxx/esc-configurator

Fork: 53 Star: 167 (更新于 2024-12-22 14:51:12)

license: AGPL-3.0

Language: JavaScript .

A Web-App to flash your BLHeli_S and AM32 based ESCs from the browser using the Web-Serial API.

最后发布版本: v0.31.0 ( 2023-12-04 05:03:52)

官方网址 GitHub网址

ESC Configurator

Build Status Codacy Badge codecov Crowdin Netlify Status Discord

ESC Configurator - PWA (Progressive Web App)

A progressive web-app to flash your BLHeli_S capable ESCs directly from the web using the Web Serial API or the Web USB API as a fallback for Chrome on Android. The Web USB solution will work on a majority of android devices, but not all. Unfortunately it is not possible to detect if it will work, you will simply have to try. Also see this SO thread and this Chromium issue.

The latest state of the master branch can be viewed in the browser

This project is basically a re-write and clean up of the original BLHeli Configurator. Some bits and pieces have been re-used - mainly the ones concerning the actual flashing part.

I did this since I was interested in having this as an web app, but also because the original BLHeli configurator code was too much for me to re-factor and I thought I might be able to re-write it in the same amount of time.

I also tried to go with one front-end framework - React. Instead of having a mixture of lots of different stuff.

I re-used most of the look and feel of the original configurator, but since this is used on the web, adaptations to style are very much welcome. In the long run I can see this also be used on mobile phones via OTG port - once the Web Serial API makes it to there.

Supported Platforms & Firmware

Currently the SiLab EMF8 MCU's are supported with the following firmware:

SiLab EFM8:

ARM:

Adding new firmware

If you are a firmware developer please feel free to drop an issue so I can add your firmware. Look at how BLHeli and Bluejay are implemented.

If your firmware is based on BLHeli, make sure that you set a NAME in your layout - this allows me to easily identify which firmware is flashed and act accordingly.

Adding new platforms

Right now only SiLabs EFM8 MCU's are supported. But a lot of ARM and Atmel related code is ported, just the flashing is not implemented. If you want to see those features added and are willing to help, please tell me so in the issue section.

Translations

Translations are managed via crowdin so head on over there and contribute to the translations. Should your language not be enabled yet, let me know in the issues and I will add it.

Contributing

Contributions are very welcome. Feel free to submit PR's and discuss feature requests - I am open for all suggestions. If you submit a PR please also provide tests where it makes sense. Some tests can not (yet) be easily automated, like playing music or the actual flashing process without having to heavily mock those components.

If you do submit a PR, please do so against the develop branch. Also make sure that your code matches the linting rules. If you get warnings, try to adapt your code accordingly. If the rule makes no sense or can't really be satisfied it's OK to submit your PR anyway.

Dev Setup

Simply clone the repository, install dependencies and run the dev server. Pull requests are more than welcome.

Search the codes for TODO or IMPROVEMENTS, there is a lot that still can be done.

Install dependencies

yarn

Start dev server

yarn start

Build

yarn build

The build is then available from the build directory and can be served by simply hosting the content of the directory or via serve:

serve -s build -l 1234

Linting and testing

yarn lint
yarn test
yarn test:watch
yarn test:coverage

Docker setup

A Dockerfile is supplied that will build esc-configurator into a container image. A companion script called 'run.sh' is also supplied, which will trigger a build, start a container with the image and open the app in a google chrome.

History & Credits

This configurator is based on BLHeli Configurator which was based on Cleanflight Configurator which itself was based on Baseflight Configurator. I would like to thank everyone who contributed to one of those projects, without you this project would not be possible.

Authors & Contributors

To continue the legacy of everyone who was mentioned as author or contributor in one of the previously mentioned projects:

Authors & Contributors for esc-configurator

  • Mathias Rasmussen aka. mathiasvr - primary motivator and contributor for esc-configurator
  • Chris Landa aka. stylesuxx - primary author and maintainer of esc-configurator
  • Georg Oberleitner aka. Noctaro - Logo
Translations

Thank you to everyone who contributed their time and added translations via crowdin:

  • Hugo Chiang aka. DusKing1 - Chinese translation
  • Asier Ruiz aka. Asizon - Spanish translation
  • djtms - Polish translation
  • Mat Cron - Italian translation
  • psicho100pro - Czech translation
  • Noctaro - German translation
Startup Melodies

A big shout out goes to all the talented people submitting startup melodies:

  • Airwolf359
  • arwebSE
  • cypher1591
  • GKLove
  • kilozebra
  • Lordnibbler
  • Noctaro
  • Ryano12
  • Shadow0624
  • Thorondor

If you feel that your name should be mentioned in the authors section, please do not hesitate to submit a pull request.

最近版本更新:(数据更新于 2024-09-21 23:26:38)

2023-12-04 05:03:52 v0.31.0

2023-07-15 05:38:49 v0.30.0

2023-02-24 04:44:42 v0.29.0

2023-01-16 07:33:29 v0.28.0

2022-11-10 06:28:05 v0.27.0

2022-04-03 22:37:04 v0.23.0

2022-01-27 23:18:18 v0.22.0

2022-01-05 17:22:47 v0.21.0

2021-10-17 22:33:29 v0.19.1

2021-08-05 06:11:15 v0.18.0

主题(topics):

am32, blheli, blheli-s, bluejay, esc, multirotor, pwa, quadcopter

stylesuxx/esc-configurator同语言 JavaScript最近更新仓库

2024-12-22 00:44:14 gorhill/uBlock

2024-12-21 12:14:02 layui/layui

2024-12-21 08:27:48 gethomepage/homepage

2024-12-21 03:44:01 emberjs/ember.js

2024-12-20 02:57:09 nodejs/node

2024-12-19 17:54:54 MHSanaei/3x-ui