Skip to content

Commit

Permalink
Tools: add PilotPi support
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hiepler committed Sep 28, 2024
1 parent 5773c19 commit 4a6ae02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -1658,6 +1658,15 @@ def configure_env(self, cfg, env):
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_CANZERO',
)

class pilotpi(linux):
toolchain = 'aarch64-linux-gnu'

def configure_env(self, cfg, env):
super(pilotpi, self).configure_env(cfg, env)
env.DEFINES.update(
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_PILOTPI',
)

class SITL_static(sitl):
def configure_env(self, cfg, env):
super(SITL_static, self).configure_env(cfg, env)
Expand Down
1 change: 1 addition & 0 deletions Tools/scripts/board_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def __init__(self):
Board("blue"),
Board("pxfmini"),
Board("canzero"),
Board("pilotpi"),
Board("SITL_x86_64_linux_gnu"),
Board("SITL_arm_linux_gnueabihf"),
]
Expand Down

0 comments on commit 4a6ae02

Please sign in to comment.