AP_HAL_ChibiOS: update periph targets who have buzzer/LEDs with notify

This commit is contained in:
Tom Pittenger 2020-12-22 00:16:12 -08:00 committed by Tom Pittenger
parent 7dde981de6
commit 113f792ad1
9 changed files with 16 additions and 12 deletions

View File

@ -0,0 +1,6 @@
# setup for Neopixel
OUT1_FUNCTION 120
NTF_LED_TYPES 455
NTF_LED_BRIGHT 2
NTF_LED_LEN 8

View File

@ -154,10 +154,8 @@ define HAL_COMPASS_MAX_SENSORS 1
define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_GPS
define HAL_PERIPH_ENABLE_MAG define HAL_PERIPH_ENABLE_MAG
define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_BARO
define HAL_PERIPH_ENABLE_BUZZER define HAL_PERIPH_ENABLE_RC_OUT
define HAL_PERIPH_NEOPIXEL_COUNT 8 define HAL_PERIPH_ENABLE_NOTIFY
define HAL_PERIPH_NEOPIXEL_CHAN 0
define HAL_PERIPH_LED_BRIGHT_DEFAULT 50
# use the app descriptor needed by MissionPlanner for CAN upload # use the app descriptor needed by MissionPlanner for CAN upload
env APP_DESCRIPTOR MissionPlanner env APP_DESCRIPTOR MissionPlanner

View File

@ -23,6 +23,7 @@ define HAL_PERIPH_ENABLE_GPS
define HAL_PERIPH_ENABLE_MAG define HAL_PERIPH_ENABLE_MAG
define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_BARO
define HAL_PERIPH_ENABLE_RC_OUT define HAL_PERIPH_ENABLE_RC_OUT
define HAL_PERIPH_ENABLE_NOTIFY
# use the app descriptor needed by MissionPlanner for CAN upload # use the app descriptor needed by MissionPlanner for CAN upload
env APP_DESCRIPTOR MissionPlanner env APP_DESCRIPTOR MissionPlanner

View File

@ -97,8 +97,7 @@ define HAL_PERIPH_ENABLE_RANGEFINDER
define HAL_PERIPH_RANGEFINDER_PORT_DEFAULT 1 define HAL_PERIPH_RANGEFINDER_PORT_DEFAULT 1
define RANGEFINDER_MAX_INSTANCES 1 define RANGEFINDER_MAX_INSTANCES 1
define HAL_PERIPH_ENABLE_BUZZER define HAL_PERIPH_ENABLE_NOTIFY
define HAL_PERIPH_ENABLE_NCP5623_LED
# --------- LED ----------- # --------- LED -----------
# a LED to flash # a LED to flash

View File

@ -15,5 +15,5 @@ define HAL_UART_MIN_TX_SIZE 256
# GPS+MAG # GPS+MAG
define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_GPS
define HAL_PERIPH_ENABLE_MAG define HAL_PERIPH_ENABLE_MAG
#define HAL_PERIPH_ENABLE_NCP5623_LED #define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
define HAL_PERIPH_ENABLE_TOSHIBA_LED define HAL_PERIPH_ENABLE_TOSHIBA_LED_WITHOUT_NOTIFY

View File

@ -15,4 +15,4 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
# GPS+MAG # GPS+MAG
define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_GPS
define HAL_PERIPH_ENABLE_MAG define HAL_PERIPH_ENABLE_MAG
define HAL_PERIPH_ENABLE_NCP5623_LED define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY

View File

@ -15,7 +15,7 @@ BARO DPS280 I2C:0:0x77
# GPS+MAG+LED+Baro # GPS+MAG+LED+Baro
define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_GPS
define HAL_PERIPH_ENABLE_MAG 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 define HAL_PERIPH_ENABLE_BARO
# I2C Airspeed sensor must use a different address than 0x77 # I2C Airspeed sensor must use a different address than 0x77
define HAL_PERIPH_ENABLE_AIRSPEED define HAL_PERIPH_ENABLE_AIRSPEED

View File

@ -18,7 +18,7 @@ BARO DPS280 I2C:0:0x77
# GPS+MAG+LED+Baro # GPS+MAG+LED+Baro
define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_GPS
define HAL_PERIPH_ENABLE_MAG 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 define HAL_PERIPH_ENABLE_BARO
# Optional I2C Airspeed sensor connected to I2C connector # Optional I2C Airspeed sensor connected to I2C connector

View File

@ -15,7 +15,7 @@ define HAL_PERIPH_ENABLE_MAG
define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_BARO
define HAL_PERIPH_ENABLE_AIRSPEED define HAL_PERIPH_ENABLE_AIRSPEED
define HAL_PERIPH_ENABLE_ADSB 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_ENABLE_RANGEFINDER
define HAL_PERIPH_ADSB_PORT_DEFAULT 3 define HAL_PERIPH_ADSB_PORT_DEFAULT 3