Browse Source

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

zr-v5.1
Tom Pittenger 4 years ago committed by Tom Pittenger
parent
commit
113f792ad1
  1. 6
      libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/defaults.parm
  2. 6
      libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat
  3. 1
      libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat
  4. 3
      libraries/AP_HAL_ChibiOS/hwdef/Pixracer-periph/hwdef.dat
  5. 4
      libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat
  6. 2
      libraries/AP_HAL_ChibiOS/hwdef/f303-GPS/hwdef.dat
  7. 2
      libraries/AP_HAL_ChibiOS/hwdef/f303-M10025/hwdef.dat
  8. 2
      libraries/AP_HAL_ChibiOS/hwdef/f303-M10070/hwdef.dat
  9. 2
      libraries/AP_HAL_ChibiOS/hwdef/f303-Universal/hwdef.dat

6
libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/defaults.parm

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

6
libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat

@ -154,10 +154,8 @@ define HAL_COMPASS_MAX_SENSORS 1 @@ -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

1
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat

@ -23,6 +23,7 @@ define HAL_PERIPH_ENABLE_GPS @@ -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

3
libraries/AP_HAL_ChibiOS/hwdef/Pixracer-periph/hwdef.dat

@ -97,8 +97,7 @@ define HAL_PERIPH_ENABLE_RANGEFINDER @@ -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

4
libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat

@ -15,5 +15,5 @@ define HAL_UART_MIN_TX_SIZE 256 @@ -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

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

@ -15,4 +15,4 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES @@ -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

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

@ -15,7 +15,7 @@ BARO DPS280 I2C:0:0x77 @@ -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

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

@ -18,7 +18,7 @@ BARO DPS280 I2C:0:0x77 @@ -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

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

@ -15,7 +15,7 @@ define HAL_PERIPH_ENABLE_MAG @@ -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…
Cancel
Save