build: document special fields in px4 boards

This commit is contained in:
Lucas De Marchi 2017-03-20 11:10:42 -07:00 committed by Andrew Tridgell
parent cc7633f272
commit fab0358a0f
1 changed files with 12 additions and 0 deletions

View File

@ -418,9 +418,21 @@ class px4(Board):
toolchain = 'arm-none-eabi'
def __init__(self):
# bootloader name: a file with that name will be used and installed
# on ROMFS
self.bootloader_name = None
# board name: it's the name of this board that's also used as path
# in ROMFS: don't add spaces
self.board_name = None
# px4io binary name: this is the name of the IO binary to be installed
# in ROMFS
self.px4io_name = None
# board-specific init script: if True a file with `board_name` name will
# be searched for in sources and installed in ROMFS as rc.board. This
# init script is used to change the init behavior among different boards.
self.board_rc = False
self.ROMFS_EXCLUDE = []