From 376e7d2a2104bd26e66d627580f1d086a7f27d83 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 11 Jun 2021 11:16:20 +1000 Subject: [PATCH] Tools: add simulated RAMTRON device --- Tools/ardupilotwaf/boards.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index fe48b1897b..16b28fe25b 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -513,6 +513,9 @@ class sitl(Board): HAL_PROBE_EXTERNAL_I2C_BAROS = 1, ) + cfg.define('HAL_WITH_SPI', 1) + cfg.define('HAL_WITH_RAMTRON', 1) + if self.with_can: cfg.define('HAL_NUM_CAN_IFACES', 2) cfg.define('UAVCAN_EXCEPTIONS', 0)