Skip to content

Commit

Permalink
hwdef: remove stray HAL_BUILD_AP_PERIPH defines
Browse files Browse the repository at this point in the history
this is added by defaults_periph
  • Loading branch information
peterbarker authored and tridge committed Apr 3, 2024
1 parent 5fb4e1e commit 47716e2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/CubePilot-CANMod/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ MCU STM32H7xx STM32H757xx
define CORE_CM7
define SMPS_PWR

define HAL_BUILD_AP_PERIPH

# board ID for firmware load
APJ_BOARD_ID 1079

Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ PA12 CAN1_TX CAN1
define HAL_CAN_DEFAULT_NODE_ID 0

define HAL_NO_MONITOR_THREAD
define HAL_BUILD_AP_PERIPH
define HAL_DEVICE_THREAD_STACK 768

# disable dual GPS and GPS blending to save flash space
Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ PB9 CAN1_TX CAN1
PC1 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW

define HAL_NO_MONITOR_THREAD
define HAL_BUILD_AP_PERIPH
define HAL_DEVICE_THREAD_STACK 768

# we setup a small defaults.parm
Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ FLASH_SIZE_KB 2048
# setup build for a peripheral firmware
env AP_PERIPH 1

define HAL_BUILD_AP_PERIPH

# bootloader is installed at zero offset
FLASH_RESERVE_START_KB 128
FLASH_BOOTLOADER_LOAD_KB 128
Expand Down

0 comments on commit 47716e2

Please sign in to comment.