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 b0a1433 commit 505e0d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 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,10 @@ 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

0 comments on commit 505e0d7

Please sign in to comment.