1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Merge pull request #2355 from haslinghuis/remove_boards

Update board definitions
This commit is contained in:
Michael Keller 2021-01-01 01:53:02 +01:00 committed by GitHub
commit 8ab77bf213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,8 @@
'use strict';
// NOTICE: This feature has become obsolete but is still in place to support firmware added before v3.3.0
// There is no reason to update the list as changes in firmware allows self-reporting of VCP usage.
// This list has been extracted from the firmware source with:
// grep TARGET_BOARD_IDENTIFIER src/main/target/*/target.h | sed -n "s/^src\/main\/target\/\([^\/]*\).*#define TARGET_BOARD_IDENTIFIER \"\([^\"]*\).*$/ {name: '\1', identifier: '\2', vcp: true},/p" | sort
// and then manually setting vcp to true for boards that use VCP
@ -71,7 +74,7 @@ const BOARD_DEFINITIONS = [
{name: 'VRRACE', identifier: 'VRRA', vcp: true},
{name: 'X_RACERSPI', identifier: 'XRC3', vcp: false},
{name: 'YUPIF4', identifier: 'YPF4', vcp: true},
{name: 'ZCOREF3', identifier: 'ZCF3', vcp: false}
{name: 'ZCOREF3', identifier: 'ZCF3', vcp: false},
];
const DEFAULT_BOARD_DEFINITION = {