Tools/AP_HAL_ChibiOS: move defaults from tools to hwdef directory

Tools: move defaults from tools to hwdef directory
This commit is contained in:
Peter Barker 2024-01-15 14:49:35 +11:00 committed by Andrew Tridgell
parent 27fa5f8d2c
commit 3aab3bac52
11 changed files with 2 additions and 16 deletions

View File

@ -6,10 +6,6 @@
include ../CubeBlack/hwdef.dat
# pull Solo's default parameters from /Tools/Frame_params
# these are parameters the Solo requires for proper operation that are different from the 4 standard defaults.
env DEFAULT_PARAMETERS 'Tools/Frame_params/Solo_Copter-4_GreenCube.param'
undef AP_NOTIFY_OREOLED_ENABLED
define AP_NOTIFY_OREOLED_ENABLED 1

View File

@ -0,0 +1 @@
@include ../CubeOrange/defaults.parm

View File

@ -10,5 +10,3 @@ PE11 TIM1_CH2 TIM1 PWM(3) GPIO(52) BIDIR
PE9 TIM1_CH1 TIM1 PWM(4) GPIO(53) # this will automatically be shared with TIM1_CH1
PD13 TIM4_CH2 TIM4 PWM(5) GPIO(54) BIDIR
PD14 TIM4_CH3 TIM4 PWM(6) GPIO(55) BIDIR
env DEFAULT_PARAMETERS libraries/AP_HAL_ChibiOS/hwdef/CubeOrange/defaults.parm

View File

@ -0,0 +1 @@
@include ../CubeOrangePlus/defaults.parm

View File

@ -10,5 +10,3 @@ PE11 TIM1_CH2 TIM1 PWM(3) GPIO(52) BIDIR
PE9 TIM1_CH1 TIM1 PWM(4) GPIO(53) # this will automatically be shared with TIM1_CH1
PD13 TIM4_CH2 TIM4 PWM(5) GPIO(54) BIDIR
PD14 TIM4_CH3 TIM4 PWM(6) GPIO(55) BIDIR
env DEFAULT_PARAMETERS libraries/AP_HAL_ChibiOS/hwdef/CubeOrangePlus/defaults.parm

View File

@ -12,10 +12,6 @@ env OPTIMIZE -O2
SPIDEV icm20948_ext SPI4 DEVID1 MPU_EXT_CS MODE3 4*MHZ 8*MHZ
SPIDEV icm20602_ext SPI4 DEVID3 GYRO_EXT_CS MODE3 4*MHZ 8*MHZ
# pull Solo's default parameters from /Tools/Frame_params
# these are parameters the Solo requires for proper operation that are different from the copter defaults.
env DEFAULT_PARAMETERS 'Tools/Frame_params/Solo_Copter-4.param'
# three IMUs, but allow for different variants. First two IMUs are
# isolated, 3rd isn't
IMU Invensense SPI:mpu9250_ext ROTATION_PITCH_180

View File

@ -188,7 +188,5 @@ BARO MS56XX SPI:ms5611_int
# reserve plenty of memory for DMA for LED buffers
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

@ -61,8 +61,6 @@ PA1 UART4_RX UART4 NODMA
# use flash storage
STORAGE_FLASH_PAGE 22
env DEFAULT_PARAMETERS 'Tools/Frame_params/SkyViper-2450GPS/defaults.parm'
# the web UI uses an abin file for firmware uploads
env BUILD_ABIN True