AP_HAL_ChibiOS: update periph targets who have buzzer/LEDs with notify
This commit is contained in:
parent
7dde981de6
commit
113f792ad1
6
libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/defaults.parm
Normal file
6
libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/defaults.parm
Normal file
@ -0,0 +1,6 @@
|
||||
# setup for Neopixel
|
||||
OUT1_FUNCTION 120
|
||||
NTF_LED_TYPES 455
|
||||
NTF_LED_BRIGHT 2
|
||||
NTF_LED_LEN 8
|
||||
|
@ -154,10 +154,8 @@ define HAL_COMPASS_MAX_SENSORS 1
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_BARO
|
||||
define HAL_PERIPH_ENABLE_BUZZER
|
||||
define HAL_PERIPH_NEOPIXEL_COUNT 8
|
||||
define HAL_PERIPH_NEOPIXEL_CHAN 0
|
||||
define HAL_PERIPH_LED_BRIGHT_DEFAULT 50
|
||||
define HAL_PERIPH_ENABLE_RC_OUT
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
# use the app descriptor needed by MissionPlanner for CAN upload
|
||||
env APP_DESCRIPTOR MissionPlanner
|
||||
|
@ -23,6 +23,7 @@ define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_BARO
|
||||
define HAL_PERIPH_ENABLE_RC_OUT
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
# use the app descriptor needed by MissionPlanner for CAN upload
|
||||
env APP_DESCRIPTOR MissionPlanner
|
||||
|
@ -97,8 +97,7 @@ define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
define HAL_PERIPH_RANGEFINDER_PORT_DEFAULT 1
|
||||
define RANGEFINDER_MAX_INSTANCES 1
|
||||
|
||||
define HAL_PERIPH_ENABLE_BUZZER
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
# --------- LED -----------
|
||||
# a LED to flash
|
||||
|
@ -15,5 +15,5 @@ define HAL_UART_MIN_TX_SIZE 256
|
||||
# GPS+MAG
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
#define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||
define HAL_PERIPH_ENABLE_TOSHIBA_LED
|
||||
#define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
|
||||
define HAL_PERIPH_ENABLE_TOSHIBA_LED_WITHOUT_NOTIFY
|
||||
|
@ -15,4 +15,4 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
# GPS+MAG
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
|
||||
|
@ -15,7 +15,7 @@ BARO DPS280 I2C:0:0x77
|
||||
# GPS+MAG+LED+Baro
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_NCP5623_BGR_LED
|
||||
define HAL_PERIPH_ENABLE_NCP5623_BGR_LED_WITHOUT_NOTIFY
|
||||
define HAL_PERIPH_ENABLE_BARO
|
||||
# I2C Airspeed sensor must use a different address than 0x77
|
||||
define HAL_PERIPH_ENABLE_AIRSPEED
|
||||
|
@ -18,7 +18,7 @@ BARO DPS280 I2C:0:0x77
|
||||
# GPS+MAG+LED+Baro
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_NCP5623_BGR_LED
|
||||
define HAL_PERIPH_ENABLE_NCP5623_BGR_LED_WITHOUT_NOTIFY
|
||||
define HAL_PERIPH_ENABLE_BARO
|
||||
|
||||
# Optional I2C Airspeed sensor connected to I2C connector
|
||||
|
@ -15,7 +15,7 @@ define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_BARO
|
||||
define HAL_PERIPH_ENABLE_AIRSPEED
|
||||
define HAL_PERIPH_ENABLE_ADSB
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
|
||||
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
|
||||
define HAL_PERIPH_ADSB_PORT_DEFAULT 3
|
||||
|
Loading…
Reference in New Issue
Block a user