Browse Source

HAL_Chibios: removed unnecessary debug defines

c415-sdk
Andrew Tridgell 5 years ago
parent
commit
a5965d5a9e
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat
  2. 7
      libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat
  3. 7
      libraries/AP_HAL_ChibiOS/hwdef/DrotekP3Pro/hwdef-bl.dat
  4. 7
      libraries/AP_HAL_ChibiOS/hwdef/MatekF405/hwdef.dat
  5. 5
      libraries/AP_HAL_ChibiOS/hwdef/OmnibusNanoV6/hwdef.dat
  6. 2
      libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef.dat
  7. 2
      libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.dat
  8. 2
      libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.dat
  9. 7
      libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef-bl.dat
  10. 7
      libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat
  11. 5
      libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat
  12. 7
      libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat
  13. 5
      libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro/hwdef.dat
  14. 7
      libraries/AP_HAL_ChibiOS/hwdef/speedybeef4/hwdef.dat

2
libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat

@ -133,8 +133,6 @@ define HAL_CAN_DEFAULT_NODE_ID 0 @@ -133,8 +133,6 @@ define HAL_CAN_DEFAULT_NODE_ID 0
define CAN_APP_NODE_NAME "org.ardupilot.cuav_gps"
define CH_DBG_ENABLE_STACK_CHECK TRUE
define HAL_NO_GCS
define HAL_NO_LOGGING
define HAL_NO_MONITOR_THREAD

7
libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat

@ -458,13 +458,6 @@ define HAL_GPIO_PWM_VOLT_PIN 3 @@ -458,13 +458,6 @@ define HAL_GPIO_PWM_VOLT_PIN 3
# this defines the default maximum clock on I2C devices.
define HAL_I2C_MAX_CLOCK 100000
# uncomment the lines below to enable strict API
# checking in ChibiOS
# define CH_DBG_ENABLE_ASSERTS TRUE
# define CH_DBG_ENABLE_CHECKS TRUE
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# we can't share IO UART (USART6)
DMA_NOSHARE USART6_TX USART6_RX ADC1
DMA_PRIORITY USART6*

7
libraries/AP_HAL_ChibiOS/hwdef/DrotekP3Pro/hwdef-bl.dat

@ -59,13 +59,6 @@ define HAL_LED_ON 1 @@ -59,13 +59,6 @@ define HAL_LED_ON 1
# available (in bytes)
define HAL_STORAGE_SIZE 16384
# uncomment the lines below to enable strict API
# checking in ChibiOS
# define CH_DBG_ENABLE_ASSERTS TRUE
# define CH_DBG_ENABLE_CHECKS TRUE
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# Add CS pins to ensure they are high in bootloader
PC2 MPU9250_CS CS
PC15 20608_CS CS

7
libraries/AP_HAL_ChibiOS/hwdef/MatekF405/hwdef.dat

@ -156,13 +156,6 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN" @@ -156,13 +156,6 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# 8 PWM available by default
define BOARD_PWM_COUNT_DEFAULT 8
# uncomment the lines below to enable strict API
# checking in ChibiOS
#define CH_DBG_ENABLE_ASSERTS TRUE
#define CH_DBG_ENABLE_CHECKS TRUE
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
#define CH_DBG_ENABLE_STACK_CHECK TRUE
# setup for OSD
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1

5
libraries/AP_HAL_ChibiOS/hwdef/OmnibusNanoV6/hwdef.dat

@ -141,10 +141,5 @@ define HAL_NAVEKF2_AVAILABLE 0 @@ -141,10 +141,5 @@ define HAL_NAVEKF2_AVAILABLE 0
define BOARD_PWM_COUNT_DEFAULT 4
#define CH_DBG_ENABLE_ASSERTS TRUE
#define CH_DBG_ENABLE_CHECKS TRUE
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
#define CH_DBG_ENABLE_STACK_CHECK TRUE
#font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

2
libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef.dat

@ -129,8 +129,6 @@ define STM32_I2C_USE_I2C1 TRUE @@ -129,8 +129,6 @@ define STM32_I2C_USE_I2C1 TRUE
define HAL_UART_MIN_TX_SIZE 256
define HAL_UART_MIN_RX_SIZE 128
define CH_DBG_ENABLE_STACK_CHECK TRUE
define HAL_UART_STACK_SIZE 256
define STORAGE_THD_WA_SIZE 512

2
libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.dat

@ -139,8 +139,6 @@ env APP_DESCRIPTOR MissionPlanner @@ -139,8 +139,6 @@ env APP_DESCRIPTOR MissionPlanner
# reserve 256 bytes for comms between app and bootloader
RAM_RESERVE_START 256
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# keep ROMFS uncompressed as we don't have enough RAM
# to uncompress the bootloader at runtime
env ROMFS_UNCOMPRESSED True

2
libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.dat

@ -131,8 +131,6 @@ env APP_DESCRIPTOR MissionPlanner @@ -131,8 +131,6 @@ env APP_DESCRIPTOR MissionPlanner
# reserve 256 bytes for comms between app and bootloader
RAM_RESERVE_START 256
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# keep ROMFS uncompressed as we don't have enough RAM
# to uncompress the bootloader at runtime
env ROMFS_UNCOMPRESSED True

7
libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef-bl.dat

@ -75,13 +75,6 @@ define HAL_CHIBIOS_ARCH_FMUV3 1 @@ -75,13 +75,6 @@ define HAL_CHIBIOS_ARCH_FMUV3 1
# available (in bytes)
define HAL_STORAGE_SIZE 16384
# uncomment the lines below to enable strict API
# checking in ChibiOS
# define CH_DBG_ENABLE_ASSERTS TRUE
# define CH_DBG_ENABLE_CHECKS TRUE
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# Add CS pins to ensure they are high in bootloader
PC1 MAG_CS CS
PC2 MPU_CS CS

7
libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat

@ -466,13 +466,6 @@ define HAL_BATT_CURR_SCALE 17.0 @@ -466,13 +466,6 @@ define HAL_BATT_CURR_SCALE 17.0
# This defines the default maximum clock on I2C devices.
define HAL_I2C_MAX_CLOCK 100000
# Uncomment the lines below to enable strict API
# checking in ChibiOS.
# define CH_DBG_ENABLE_ASSERTS TRUE
# define CH_DBG_ENABLE_CHECKS TRUE
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# We can't share the IO UART (USART6).
DMA_NOSHARE USART6_TX ADC1
DMA_PRIORITY USART6* SPI*

5
libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat

@ -301,11 +301,6 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2 @@ -301,11 +301,6 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
DMA_PRIORITY SDMMC* UART8* ADC* SPI* TIM*
#define CH_DBG_ENABLE_ASSERTS TRUE
#define CH_DBG_ENABLE_CHECKS TRUE
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
#define CH_DBG_ENABLE_STACK_CHECK TRUE
# define HAL_SPI_CHECK_CLOCK_FREQ 1
# enable FAT filesystem support (needs a microSD defined via SDMMC)

7
libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat

@ -420,13 +420,6 @@ define HAL_BATT_CURR_SCALE 17.0 @@ -420,13 +420,6 @@ define HAL_BATT_CURR_SCALE 17.0
# this defines the default maximum clock on I2C devices.
define HAL_I2C_MAX_CLOCK 100000
# uncomment the lines below to enable strict API
# checking in ChibiOS
# define CH_DBG_ENABLE_ASSERTS TRUE
# define CH_DBG_ENABLE_CHECKS TRUE
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# we can't share IO UART (USART6)
DMA_NOSHARE USART6_TX USART6_RX ADC1
DMA_PRIORITY USART6*

5
libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro/hwdef.dat

@ -137,11 +137,6 @@ define STM32_PWM_USE_ADVANCED TRUE @@ -137,11 +137,6 @@ define STM32_PWM_USE_ADVANCED TRUE
define BOARD_PWM_COUNT_DEFAULT 8
#define CH_DBG_ENABLE_ASSERTS TRUE
#define CH_DBG_ENABLE_CHECKS TRUE
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
#define CH_DBG_ENABLE_STACK_CHECK TRUE
#font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

7
libraries/AP_HAL_ChibiOS/hwdef/speedybeef4/hwdef.dat

@ -146,13 +146,6 @@ define HAL_LOGGING_DATAFLASH @@ -146,13 +146,6 @@ define HAL_LOGGING_DATAFLASH
# 8 PWM available by default
define BOARD_PWM_COUNT_DEFAULT 8
# uncomment the lines below to enable strict API
# checking in ChibiOS
#define CH_DBG_ENABLE_ASSERTS TRUE
#define CH_DBG_ENABLE_CHECKS TRUE
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
#define CH_DBG_ENABLE_STACK_CHECK TRUE
# setup for OSD
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1

Loading…
Cancel
Save