Skip to content

Commit

Permalink
hwdef: H757_EVAL: make it not-AP_Periph
Browse files Browse the repository at this point in the history
avoids this compilation error:

../../Tools/AP_Periph/can.cpp:152:33: error: static assertion failed: DroneCAN bootloader cannot support external flash
  152 | static_assert(EXT_FLASH_SIZE_MB == 0, "DroneCAN bootloader cannot support external flash");
compilation terminated due to -Wfatal-errors.
  • Loading branch information
peterbarker authored and tridge committed Jul 9, 2024
1 parent 5a8ed5f commit 481e030
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef-bl.dat
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ APJ_BOARD_ID 146

FLASH_SIZE_KB 2048

# setup build for a peripheral firmware
env AP_PERIPH 1

EXT_FLASH_SIZE_MB 32

# bootloader is installed at zero offset
Expand Down
3 changes: 0 additions & 3 deletions libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ APJ_BOARD_ID 146

FLASH_SIZE_KB 2048

# setup build for a peripheral firmware
env AP_PERIPH 1

# bootloader is installed at zero offset
FLASH_RESERVE_START_KB 128

Expand Down

0 comments on commit 481e030

Please sign in to comment.