hwdef: explicitly state no-bootloader-embedding on some boards

This commit is contained in:
Peter Barker 2023-08-10 18:56:59 +10:00 committed by Peter Barker
parent a11df25490
commit b8978ad73a
27 changed files with 76 additions and 0 deletions

View File

@ -321,3 +321,6 @@ ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_lowpolh.bin
# note that if firmware is build with --secure-bl then DFU is
# disabled
ENABLE_DFU_BOOT 1
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -60,3 +60,6 @@ MAIN_STACK 0x2000
PROCESS_STACK 0x6000
define HAL_CAN_DRIVER_DEFAULT 1
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -6,4 +6,7 @@ include ../include/SimOnHW.inc
# short board name override (23 chars)
define CHIBIOS_SHORT_BOARD_NAME "CubeOrangeSimOnHardWare"
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0
AUTOBUILD_TARGETS Copter

View File

@ -6,4 +6,7 @@ include ../include/SimOnHW.inc
# short board name override (23 chars)
define CHIBIOS_SHORT_BOARD_NAME "CubeOrange+SimOnHW"
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0
AUTOBUILD_TARGETS Copter

View File

@ -84,3 +84,6 @@ PB2 QUADSPI_CLK QUADSPI1
define CAN_APP_NODE_NAME "org.cubepilot.H757"
EXT_FLASH_SIZE_MB 32
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -84,3 +84,6 @@ PB2 QUADSPI_CLK QUADSPI1
define CAN_APP_NODE_NAME "org.cubepilot.H757"
# EXT_FLASH_SIZE_MB 32
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -216,3 +216,6 @@ define AP_RC_CHANNEL_ENABLED 1
define AP_RELAY_ENABLED 1
define AP_SERVORELAYEVENTS_ENABLED 1
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -62,3 +62,6 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
# setup for MSP
define HAL_MSP_ENABLED 1
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -9,3 +9,5 @@ define HAL_DISABLE_ADC_DRIVER TRUE
define HAL_PERIPH_ENABLE_HWESC
define HAL_PERIPH_HWESC_SERIAL_PORT 2
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -109,3 +109,5 @@ define HAL_I2C_INTERNAL_MASK 0
define HAL_PERIPH_ENABLE_BARO
define HAL_PERIPH_ENABLE_AIRSPEED
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -115,3 +115,6 @@ BARO MS56XX SPI:ms5611
BARO BMP388 I2C:0:0x76
# define HAL_SPI_CHECK_CLOCK_FREQ
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -142,3 +142,6 @@ IMU Invensensev2 SPI:icm20948 ROTATION_YAW_270
# compass as part of ICM20948 on newer cubes
COMPASS AK09916:probe_ICM20948 0 ROTATION_ROLL_180_YAW_90
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -38,3 +38,6 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
FLASH_SIZE_KB 1024
include ../include/minimize_features.inc
undef STORAGE_FLASH_PAGE
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -173,3 +173,6 @@ DMA_PRIORITY SPI1*
DMA_NOSHARE SPI1* TIM1* TIM2* TIM3* TIM4*
NODMA I2C*
define STM32_I2C_USE_DMA FALSE
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -131,3 +131,5 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
define DEFAULT_NTF_LED_TYPES 455
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -134,3 +134,5 @@ PC7 M9SB INPUT
define DEFAULT_NTF_LED_TYPES 455
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -152,3 +152,6 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
#Sensors Enable & ESP Enable
PB0 VDD_3V3_SENSORS_EN OUTPUT HIGH
PC2 ESP_PWR_EN OUTPUT LOW
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -19,3 +19,6 @@ include ../include/minimal.inc
# produce this error if we are on a 2M board and using 1M firmware
define BOARD_CHECK_F427_USE_2M "2M flash - use fmuv3 firmware"
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -154,4 +154,7 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
DMA_NOSHARE USART1* USART2* CAN1*
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0
AUTOBUILD_TARGETS None

View File

@ -189,3 +189,6 @@ BARO MS56XX SPI:ms5611_int
define DMA_RESERVE_SIZE 32768
# .env DEFAULT_PARAMETERS 'Tools/Frame_params/LuminousBee4_outdoor.param'
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -5,3 +5,5 @@ define HAL_COMPASS_MAX_SENSORS 1
define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -8,3 +8,6 @@ PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50)
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR
PA3 TIM2_CH4 TIM2 PWM(3) GPIO(52) BIDIR
PA2 TIM2_CH3 TIM2 PWM(4) GPIO(53)
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -9,5 +9,8 @@ PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR
PA3 TIM2_CH4 TIM2 PWM(3) GPIO(52) BIDIR
PA2 TIM2_CH3 TIM2 PWM(4) GPIO(53)
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0
# save some flash
include ../include/save_some_flash.inc

View File

@ -150,3 +150,6 @@ SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ
define HAL_LOGGING_DATAFLASH_ENABLED 1
define HAL_GYROFFT_ENABLED 0
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

View File

@ -129,4 +129,7 @@ define HAL_BARO_20789_I2C_ADDR_PRESS 0x63
define HAL_WITH_ESC_TELEM 0
define AP_FETTEC_ONEWIRE_ENABLED 0
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0
AUTOBUILD_TARGETS Copter

View File

@ -132,4 +132,7 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 8192
define HAL_WITH_ESC_TELEM 0
define AP_FETTEC_ONEWIRE_ENABLED 0
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0
AUTOBUILD_TARGETS Copter

View File

@ -214,4 +214,7 @@ define AP_MAVLINK_BATTERY2_ENABLED 0
# SkyViper doesn't use the Plane landing library:
define HAL_LANDING_DEEPSTALL_ENABLED 0
# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0
AUTOBUILD_TARGETS Copter