Commit Graph

191 Commits

Author SHA1 Message Date
bugobliterator 646e09ebaa AP_Notify: add support for controlling ProfiLED via IOMCU safety pins 2024-11-20 19:12:44 +11:00
Bayu Laksono efe003743c AP_Notify: Add GPIO driver and buzzer 2024-10-01 21:06:39 -05:00
Peter Barker ba305025c4 AP_Notify: use default value for DEFAULT_NTF_LED_TYPES for NavIO2
this is the default default value for this define
2024-08-14 19:38:48 +10:00
Peter Barker b47bcc4429 AP_Notify: use default DEFAULT_NTF_LED_TYPES on unrecognised Linux boards
now have two ifndef blocks, one of which defaults things on recognized linux boards, the other generically.

Preparation for removing the defaultin for Linux boards in this file
2024-08-14 19:38:48 +10:00
Peter Barker 7c2ee8d53c AP_Notify: use DEFAULT_NTF_LED_TYPES for chibios boards
default is the same  as what ChibiOS sets
2024-08-14 19:38:48 +10:00
Peter Barker 7a15b4aae5 AP_Notify: add support for blinking 1 LED for notify 2024-07-17 17:18:27 +10:00
Peter Barker 501d0d8759 AP_Notify: stop using linux board subtype in Notify LED setup
... instead have the board definitions define things like we do for ChibiOS
2024-07-16 10:11:40 +10:00
Peter Barker ab43668c45 AP_Notify: adjust hwdef files for define renames 2024-07-11 09:34:00 +10:00
Peter Barker 8370e0b08b AP_Notify: create sanity in GPIO-based LED defines 2024-07-11 09:34:00 +10:00
Peter Barker f07ac41c65 AP_Notify: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Andrew Tridgell 530cbf1eca AP_Notify: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker 44477c3b62 AP_Notify: remove VRBrain board sub-types
these were only used to turn choose between AP_Notify LED backends, which can be done much more neatly with specific features defines.
2024-03-26 11:06:13 +11:00
Hayden Donald dea51c9c50 AP_Notify: Add send_text for scripting use
Added a send_test_src method to override the text on the display and display custom text on a given row
2024-02-07 23:52:30 +00:00
Ka Ru d728eef685 AP_Notify: add can-zero board 2023-12-05 07:41:06 -06:00
Peter Barker 044760cfb9 AP_Notify: document IS31FL3195 LED type for LED_TYPES parameter 2023-11-15 10:51:08 +11:00
Peter Barker aac949e227 AP_Notify: add IS31FL3195 to default LED types 2023-11-15 10:51:08 +11:00
Andy Piper 1035ac76b2 AP_Notify: add support for NeoPixelRGB via set_num_neopixel_rgb() 2023-10-04 18:06:17 +11:00
Peter Barker 62950169f7 AP_Notify: tidy use of DiscreteRGB 2023-09-16 08:47:37 +09:00
Michael du Breuil 3243751e0b AP_Notify: Reenable the DiscreteRGB backend 2023-09-14 10:55:26 +10:00
Peter Barker ebdba6b477 AP_Notify: add driver for IS31FL3195 LED 2023-06-15 12:14:26 +10:00
Peter Barker 9eea693679 AP_Notify: tidy defines 2023-06-13 10:18:00 +10:00
bugobliterator a1ba65a654 AP_Notify: send dronecan led commands directly from driver 2023-05-31 17:31:09 +10:00
Peter Barker d6f7fddcaf AP_Notify: bump up max number of simulated notify devices 2023-05-19 18:43:49 +10:00
Peter Barker 3d05d8c0dd AP_Notify: use chibios_hwdef to define NOTIFY_LED_OVERRIDE_DEFAULT 2023-05-18 07:53:22 +10:00
Peter Barker 8ac9a7561c AP_Notify: add driver for LP5562 LED 2023-05-11 11:08:50 +10:00
Henry Wurzburg d8247d35f5 AP_Notify: change BUILD_DEFAULT_LED_TYPE to new pattern 2023-05-04 07:45:12 +10:00
Peter Barker dfcadfc618 AP_Notify: add and use AP_NOTIFY_TONEALARM_ENABLED 2023-04-23 16:24:02 +10:00
Henry Wurzburg 11def9b958 AP_Notify: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL 2023-04-23 11:19:50 +10:00
Henry Wurzburg 3362f752cb AP_Notify: remove unused HAL_BUZZER_OFF defines 2023-04-22 13:51:09 +10:00
Andrew Tridgell 05d5b56bfa AP_Notify: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
bugobliterator 2ede296486 AP_Notify: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +11:00
murata 9836b7c549 AP_Notify: Use the number of arrays 2023-03-13 10:43:15 -07:00
Peter Barker 56d6acf985 AP_Notify: remove pointless zeroing of memory
this is static memory
2023-03-12 08:34:05 +11:00
Peter Barker d9aa0c9cf0 AP_Notify: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Peter Barker 6ea352b087 AP_Notify: rename HAL_OREO_LED_ENABLED to AP_NOTIFY_OREOLED_ENABLED 2022-11-22 10:23:35 +11:00
Peter Barker f7bc68bcbf AP_Notify: add and use AP_NOTIFY_TOSHIBALED_ENABLED 2022-11-15 11:03:51 +11:00
Peter Barker d99e5b91d8 AP_Notify: allow pca9685 to be compiled out of code 2022-11-09 18:45:25 +11:00
Peter Barker 6bb84e5da0 AP_Notify: make explicit define for notify's NCP5623 2022-11-08 10:56:12 +11:00
Peter Barker c136257a3a AP_Notify: gate mavlink access on HAL_GCS_ENABLED
via AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED
2022-10-26 21:22:39 +11:00
Peter Barker f846f703e4 AP_Notify: process mavlink play_tune in frontend 2022-10-26 21:22:39 +11:00
Peter Barker 917878de76 AP_Notify: correct NTF_BUZZ_PIN documentation
The default is -1 - disabled - but we don't have that in the documentation...
2022-10-13 19:26:49 +11:00
Peter Barker 2e8939222d AP_Notify: move defaulting of HAL_DSHOT_ALARM into hwdef 2022-09-15 09:18:04 +10:00
Andrew Tridgell 12f348398a Revert "AP_Notify: fixed DroneCAN LEDs on AP_Periph"
This reverts commit 1858969697.

This was an incorrect change that actually broke LEDs on CAN GPS modules
2022-04-27 17:13:40 +10:00
Henry Wurzburg a8ff5ca2b9 AP_Notify: add note to desc's on how to determine GPIO pin numbers 2022-04-24 08:21:01 +09:00
Andrew Tridgell 1858969697 AP_Notify: fixed DroneCAN LEDs on AP_Periph
override needs to be 0 for LEDs to work on peripherals from DroneCAN
notification packets
2022-03-09 07:51:35 +11:00
Andrew Tridgell 8723ec3b2a AP_Notify: fixed builds
broken by combination of alarm changes and header changes
2022-02-23 21:48:58 +11:00
Andy Piper 9cec88818e AP_Notify: add support for alternate alarm function
enable alarm based on pwm
2022-02-23 18:35:43 +11:00
Hwurzburg 7ec7a9c444 AP_Notify: change UAVCAN to DroneCAN in param metadata 2021-12-15 09:53:21 +11:00
Andrew Tridgell bee44b03b0 AP_Notify: make the buzzer pin configurable on all boards
this allows any board to setup a buzzer pin on any available
GPIO. Previously the pin if set in hwdef.dat was not configurable
2021-11-18 15:22:03 +11:00
Peter Barker 65b335ae0c AP_Notify: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00