Skip to content

Commit

Permalink
AP_HAL_ChibiOS: disable core m4 use to silence the chibios asserts
Browse files Browse the repository at this point in the history
checking allocation of peripherals
  • Loading branch information
bugobliterator committed Dec 5, 2023
1 parent 83559c4 commit ddb4486
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/CubeRedPrimary/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ define HAL_IMU_TEMP_MARGIN_LOW_DEFAULT 5
CANFD_SUPPORTED 8

STM32_ST_USE_TIMER 12

# disable core m4 use to silence the asserts
# checking allocation of peripherals
define STM32_HAS_M4 0

define CH_CFG_ST_RESOLUTION 16

# use last 2 pages for flash storage
Expand Down

0 comments on commit ddb4486

Please sign in to comment.