Skip to content

Commit

Permalink
hwdef: CubeOrange enable drivers DAC_DACx050 and ADC_ADS1115
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Mar 19, 2024
1 parent 3987af7 commit e8aa517
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,12 @@ define HAL_CAN_DRIVER_DEFAULT 1
# undefine to disable. Use -1 to allow on all ports, otherwise serial number index defined in SERIAL_ORDER starting at 0
define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0

define AP_ADC_ADS1115_ENABLED 1
define ADS1115_I2C_BUS 0
define HAL_I2C_MAX_CLOCK 400000

define AP_DAC_DACx0501_ENABLED 1
define DACx0501_I2C_ADDR 0x49 # address pin high (VDD)
define DACx0501_I2C_BUS 0

define HAL_PERIPH_ENABLE_ADC

0 comments on commit e8aa517

Please sign in to comment.