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

Added instructions on how to extract the board list from the firmware source, for future updates.

This commit is contained in:
mikeller 2016-08-17 23:29:18 +12:00
parent abaf226818
commit 00e1a9b533

View file

@ -1,5 +1,9 @@
'use strict';
// 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: false},/p" | sort
// and then manually setting vcp to true for boards that use VCP
var BOARD_DEFINITIONS = [
{
name: "CC3D",